Exclude current post?
-
Hi,
can I exclude the current post from the list of related posts?So lets say I have an article: “how to wash a cat”
I insert at the bottom the shortcode [display-posts category=”cats”]and its displaying all posts in that category, but also “how to wash a cat” which is the current post.
Any way to exclude that current post automatically?
Also, second question does this work on “pages”?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Exclude current post?’ is closed to new replies.