WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. enric.segura
    Member
    Posted 1 year 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

    http://wordpress.org/extend/plugins/display-posts-shortcode/

  2. enric.segura
    Member
    Posted 1 year ago #

    The feature is added in github version. Beautiful!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.