Archived topic
How to exclude current post from related posts
7 replies · Started by Prabhu on August 14, 2020
Hi,
I'm using WP show posts to display related posts based on category.
But I can see the current post is also getting displayed in the related posts. Even, I've selected Exclude current in the more settings but no use.
Any solution available for this?
Thanks
Hi there,
that should work.... can you test by placing the shortcode within the post content and see if that works
Thanks its working.
Glad to hear that
Hello, I am having the same issue. I added a "Latest posts" block to the bottom of each blog post, and would like to exclude the current post.
Where do I access the settings to "Exclude current"?
Hi Margarent,
GP has no control over WP core blocks, it's better reach out to WP support if you'd like to customize the block.
Prabhu is using WP show posts plugin which can exclude the current post.
You could also give it a try:
https://en-ca.wordpress.org/plugins/wp-show-posts/
Thank you, I'll reach out to WP.
You are welcome :)
Hope they can provide a solution!