Hi. I’m struggling to work out the Conditional String Expression to hide an Accordion Item based if a post that has a certain category selected.
I have set up an Accordion that is showing posts based on years 2022, 2021 and so on. I want to set up Accordion Items for 2023, 2024, etc but have these Accordion Items hidden until there is a post that has 2023 selected as its category.
The Themeco docs conditions and assignments page shows an example where you can select Post Category as a condition, but I don’t have this option available to me. It may be unavailable because I’m pulling in my posts via a Global Block.
Any advice is gladly appreciated. Thank you.