DEFINE the_ID number?
-
I am using the vote it up plugin on my blog, and I want to place 4 vote boxes on ONE page, but have them each vote for something different. I cant do it because when I put more than one in, they all retrieve the same post_id. So when I click vote on one option, they all get clicked.
the code is;
<?php DisplayVotes(get_the_ID()); ?>
Is there some way to manually attach a post ID number other than the page its on. Like for example ID 65, and then also id 1001. I dont know a lot about code, but I would imagine something like thid;
<?php DisplayVotes(get_the_ID( id=65)); ?>
<?php DisplayVotes(get_the_ID( id=1001)); ?>
that way instead of “getting” the id, it just takes the one I define. There a way to do this?
- The topic ‘DEFINE the_ID number?’ is closed to new replies.