I got a multiple category blog and on the dynamic post page I'm attempting to create a footer section to display related posts based on the category of the current post. The post variable resource (located in the body) contains the category value along with all the blog post data (title, content, dates, etc.) and is matching correctly with the dynamic slug.
The problem is that for the related posts footer I can't find a way to let the related posts collection component filter out posts using the category value that coming from the Post Variable Resource (in the body).
Is there a way to add data from the first collection (Post Variable Resource) to the second collection (Related Post Resource)?
In the screenshot attached I need to dynamically add the category value from the Post Variable Resource into "value": "my-url-slug"
which is in the Related Post Resource.
Any pointers on how to accomplish this would be greatly appreciated.
Add a reply
Sign up and join the conversation on Discord