Display Posts Shortcode
[resolved] Exclude current post (2 posts)

  1. enric.segura
    Posted 3 years ago #

    When showing a list of related post associated to an specific category the plugin shows the same post the code is embed in. Ergo, the post the user is reading.

    Ex: [display-posts category="category_name" posts_per_page="-1" image_size="thumbnail" include_excerpt="true" wrapper="div"]

    Is it posible to exclude the current post from the list somehow? Maybe an argument line like exclude=current?

    You can notice the problem here: http://pracmatic.net/en/building-a-community/

    Thanks very much


  2. enric.segura
    Posted 3 years ago #

    The feature is added in github version. Beautiful!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Display Posts Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.