• Resolved montey11

    (@montey11)


    Hi,

    If I used this shortcode to display a category “related posts” at the bottom of blog posts is it possible to exclude the current page you are on? So the blog post you are reading it doesn’t show in the category list below?

    Thanks

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

    (@billerickson)

    Yes, you can use the exclude_current parameter.

    [display-posts exclude_current=”true” taxonomy=”category” tax_term=”current”]

Viewing 1 replies (of 1 total)
  • The topic ‘exclude current item’ is closed to new replies.