Support » Plugin: Display Posts Shortcode » [Plugin: Display Posts Shortcode] Return specific posts

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Bill Erickson


    Not at this moment, but the next version of this plugin will include a filter that lets you do this.

    Plugin Author Bill Erickson


    As a followup, you can now use a comma separated list of IDs in the shortcode. So to list 3 specific posts in the ‘event’ post type, use this:

    [display-posts post_type=”event” id=”4,18,24″]

    Hi Bill,

    How would I exclude a specific post or posts?

    Thank you!

    I tried [display-posts category=”interviews” posts_per_page=”-1″ include_date=”true” order=”ASC” orderby=”title” image_size=”thumbnail” include_excerpt=”true” include_author=”true” wrapper=”div” id=”-4553″] but it shows ONLY that post

    Plugin Author Bill Erickson


    You’ll need to add a new argument for the excluded ID’s. Here’s an example of how to do that:

    You would then use [display-posts not_in=”4553″]

    When I use the post_type=”event” id=”x,y,z”] shortcode with x y and z being three different post ids on my blog, the posts do not show.

    Ok, this isn’t working out for me. I need this thing to display the actual POST and not a frakking LINK to the post, is that possible ??!?!?!?!? Its late, Im tired, and frakking cranky, can this piece of software do this or not ???

    I’ve tried using this method [display-posts category=”blog” id=”777″]
    this method [display-posts category=”blog” posts_per_page=”20″]

    these only display the LINK on the page, which is NOT what I want…


    IS THAT POSSIBLE >!>!>!>!



    Hi, I am trying to display custom posts “property” with tag zzzz..hence

    [display-posts post_type=”property” tag=”zzzz”]

    but nothing showing up…did I use that correctly?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Display Posts Shortcode] Return specific posts’ is closed to new replies.