• I am trying to display 5 posts from my blog on the site’s main page, where is selects the 5 most recent posts AND skips over one post (ie the 5 posts displayed are from the most recent 6 posts , less the one excluded)

    The code I am using looks like:
    <h2>LATEST NEWS</h2>
    [display-posts posts_per_page=”5″ exclude=”53415″ ignore_sticky_posts=”true”? include_excerpt=”true” excerpt_length=”20″ wrapper=”div” image_size=”medium” wrapper_class=”display-posts-listing image-left”]

    The output is showing 5 posts and is correctly ignoring sticky posts, but it is not excluding the post that I want jumped over.

    Can anyone tell me where my coding is in error?

  • The topic ‘exclude not working’ is closed to new replies.