Title: [Plugin: UpDownUpDown] Manually set post ID?
Last modified: August 20, 2016

---

# [Plugin: UpDownUpDown] Manually set post ID?

 *  [cparodi7](https://wordpress.org/support/users/cparodi7/)
 * (@cparodi7)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-updownupdown-manually-set-post-id/)
 * Hi, thanks for the plugin, well done.
 * I’m trying to add this to my category pages so users can vote on the category
   in general (not posts). Currently, it’s picking up the last post in the category
   page as the ID. Is there a way to manually set the post ID (perhaps as a fake/
   unused post #) so it never changes? I tried this with no luck:
    `<?php if(function_exists('
   up_down_post_votes')) { up_down_post_votes( get_the_ID(500) ); } ?>`
 * Thanks,
    Carlos
 * [http://wordpress.org/extend/plugins/updownupdown-postcomment-voting/](http://wordpress.org/extend/plugins/updownupdown-postcomment-voting/)

Viewing 1 replies (of 1 total)

 *  [marco.bolzan](https://wordpress.org/support/users/marcobolzan/)
 * (@marcobolzan)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-updownupdown-manually-set-post-id/#post-2980552)
 * to force an ID you have to insert a string so:
    up_down_post_votes( get_the_ID(‘
   500’) );
 * but why force a not exist number??
    also the category as an unique id, it’s registered
   into the _term_taxonomy table and it’s the number you see in the admin url, for
   example “..taxonomy=category&tag_ID=2..”
 * working “a little” you could take the category id into the meta of the post, 
   to allow to vote the category and then eventually into the category page.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: UpDownUpDown] Manually set post ID?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/updownupdown-postcomment-voting.svg)
 * [UpDownUpDown](https://wordpress.org/plugins/updownupdown-postcomment-voting/)
 * [Support Threads](https://wordpress.org/support/plugin/updownupdown-postcomment-voting/)
 * [Active Topics](https://wordpress.org/support/plugin/updownupdown-postcomment-voting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updownupdown-postcomment-voting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updownupdown-postcomment-voting/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [marco.bolzan](https://wordpress.org/support/users/marcobolzan/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-updownupdown-manually-set-post-id/#post-2980552)
 * Status: not resolved