Title: [Plugin: Query Posts] Show specific ID doesn&#039;t work
Last modified: August 19, 2016

---

# [Plugin: Query Posts] Show specific ID doesn't work

 *  Resolved [Michelle Langston](https://wordpress.org/support/users/chellycat/)
 * (@chellycat)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-posts-show-specific-id-doesnt-work/)
 * I was so excited to find this plugin, but it appears to be broken under WordPress
   3.0.1. If you put in a specific page or post ID, it does not display that particular
   page or post. 🙁
 * [http://wordpress.org/extend/plugins/query-posts/](http://wordpress.org/extend/plugins/query-posts/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Ivaylo Draganov](https://wordpress.org/support/users/dragunoff/)
 * (@dragunoff)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-posts-show-specific-id-doesnt-work/#post-1634993)
 * I confirm having the same issue…
 * It respects the `post_type`, `order` and `orderby` parameters but not the ID –
   it just shows the fisrt post according to other parameters.
 *  Thread Starter [Michelle Langston](https://wordpress.org/support/users/chellycat/)
 * (@chellycat)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-posts-show-specific-id-doesnt-work/#post-1635094)
 * OK I’m glad to know I’m not the only one having this issue. I guess we will have
   to wait for Justin to release a fix.
 *  [jeobrussels](https://wordpress.org/support/users/jeobrussels/)
 * (@jeobrussels)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-posts-show-specific-id-doesnt-work/#post-1635167)
 * I can confirm this behaviour: neither Category ID nor a comma-separated list 
   of post-IDs is taken up.
    All other parameters work.
 *  Thread Starter [Michelle Langston](https://wordpress.org/support/users/chellycat/)
 * (@chellycat)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-query-posts-show-specific-id-doesnt-work/#post-1635186)
 * It’s definitely a bug. Hopefully Justin fixes it in the next version! 🙂
 *  [Ivaylo Draganov](https://wordpress.org/support/users/dragunoff/)
 * (@dragunoff)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-query-posts-show-specific-id-doesnt-work/#post-1635191)
 * Custom taxonomies also don’t get picked up. I mean – they appear as input fields
   but entering an ID doesn’t make it print posts from the specific taxonomy.
 * In fact anything other than `category` is not working. Anybody know a way how
   to at least debug this thing?
 *  [canofpopcom](https://wordpress.org/support/users/canofpopcom/)
 * (@canofpopcom)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-query-posts-show-specific-id-doesnt-work/#post-1635192)
 * I can’t get Category to work either.. just shows all posts. 🙁 Tags and pages
   seem to work but really wanted to use Categories rather than tags.
 * Ummz
 *  [newportcreativegroup](https://wordpress.org/support/users/newportcreativegroup/)
 * (@newportcreativegroup)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-query-posts-show-specific-id-doesnt-work/#post-1635197)
 * Same problem, here’s the fix. It’s missing the argument for a single post in 
   the widget-query-posts.php file. Open that up and add in the following at line
   123, right before you see:
    `/* Begin display of widget`
 *     ```
       /*NCG edit */
       if( $instance['post'])
       $args['p'] = $instance['post'];
       ```
   
 * Problem solved. Thanks for Justin for a ridiculously useful plugin. Just discovered
   it a couple of weeks ago and it makes me want to cry how many custom bits of 
   code I set up on templates that I could have accomplished with widgets using 
   this plugin. It’s flat out amazing!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘[Plugin: Query Posts] Show specific ID doesn't work’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/query-posts.svg)
 * [Query Posts](https://wordpress.org/plugins/query-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/query-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/query-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/query-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/query-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/query-posts/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [newportcreativegroup](https://wordpress.org/support/users/newportcreativegroup/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-query-posts-show-specific-id-doesnt-work/#post-1635197)
 * Status: resolved