Using Query Loop Block to show related posts?
-
I’m building a site using full site editing for the first time (I’ve built dozens of ‘classic’ theme sites in the past). Wherever possible I’ve been using core blocks and only creating custom blocks or block variations when I have to. All my archive templates have been built using the core Query Loop Block.
Now I need to display a simple ‘related posts’ section at the bottom of a single post template. I want to use (or create a variation of) the query loop block if at all possible so I can re-use the post template from my archive pages. Is there any way to customise the Query Loop Block query in this way? The ‘algorithm’ I want is fairly simple (just showing posts with tags that match the current post’s tags and excluding the current post) but I can’t figure out how to customise the Query Loop Block’s query beyond the limited options in the settings panel.
Any suggestions would be appreciated ??
- You must be logged in to reply to this topic.