About vote button

Solved532 viewsGeneral
0

I have placed the vote button on the question list item but found it could not work. Is there anything that I have missed inserting in?

<div class="ap-display-question-meta">
    <div class="ap-single-vote" apid="<?php the_ID();?>"><?php ap_vote_btn(); ?></div>
</div>


Thanks.

Question is closed for new answers.
Selected answer as best
0

My solution to this:

<div id="post-<?php the_ID(); ?>" class="ap-single-vote" apid="<?php the_ID();?>" ap="question"><?php ap_vote_btn(); ?></div>

Selected answer as best