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

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

    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.

    I can confirm this behaviour: neither Category ID nor a comma-separated list of post-IDs is taken up.
    All other parameters work.

    It’s definitely a bug. Hopefully Justin fixes it in the next version! 🙂

    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?

    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.


    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.