New feature: conditional visibility
Now you can show or hide dynamic content based on conditions you define. It works a lot like Dynamic List filters, but for all kinds of site elements, instead of Collection Items and Detail pages. You can find it in the Settings panel.
This lets you do things like:
Add a “featured” flag to blog posts:
Highlight the blog post a person’s currently reading:
Hide parts of your design when there’s nothing to display:
Conditional visibility works across the designer, CMS, and your published sites. For more detailed instructions on how to use this feature, check out our documentation below.
Want to add a "featured" flag to a certain blog post? How about an "on sale" banner for your most important ecommerce products? Now you can automatically set these display conditions based on fields in your CMS collection items, making it simple to highlight (or hide) items without having to customize the design for individual elements every time.