Excluding current post from Query Loop block for showing related posts
-
Hi there people of WP,
I am building a block template for a custom post type. I’d like to showcase related posts (i.a.w. posts in the same taxonomy) using the Query Block. However, the current post is not excluded from the query.
I have searched the forums and seen multiple topics from 1+ years ago, which concluded that it’s not possible. Like other WP enthusiasts on here, I also think it’s a feature people have come to expect when using a module that pulls in a list of posts within a post template. I was able to locate the GitHub issue, however what’s not clear to me is whether I and other developers can expect something like this to roll out?
In the meantime, I’d like to know whether anyone has discovered a good workaround/alternative. Thanks in advance.
- The topic ‘Excluding current post from Query Loop block for showing related posts’ is closed to new replies.