Hi there,
I’m currently working on a project where I need to dynamically filter blog articles on CMS pages based on tags I’ve set for each blog article. Here’s a detailed description of what I’m trying to achieve:
Goal:
- I have a collection of Practice Areas, each with a specific tag.
- I also have a Blog Articles collection where each article is tagged with relevant topics.
- On each Practice Area page, I want to display only the blog articles that have tags matching the current Practice Area’s tag.
CMS Collections involved:
Tags: Collection with various tags like “PBM”, “Healthcare Fraud”, etc.
Blog Articles: Collection with a Multi-Reference field for tags.
Practice Areas: Collection with a Reference field linking to the Tags collection.
Unfortunately, I cannot use CMS fields in the conditional visibility. That would have solved everything. I also tried using custom code with ChatGPT but unsuccessfully
How can I correctly filter the blog articles based on the current Practice Area’s tag?
Here is my public share link: Webflow - Health Law Alliance