Back to updates
Enhancement
CMS

Control visibility of CMS items based on referenced items

Now you can toggle the visibility of CMS elements based on fields of referenced items.

Control visibility of CMS items based on referenced items

<p>Just as was the case in the 2010 blockbuster <em>Inception</em>, one level is not always enough. Sometimes you <a href="<https://cdn.prod.website-files.com/5a09df385f389a0001694f85/5b5654fdbde886923d158af4deeper.jpg>">need to go deeper</a>.</p><p>So we did. With conditional visibility.</p><p>Now you can show and hide elements in Collection lists and on Collection pages based not just on fields of that Collection, but also on the fields of items referenced in that Collection. </p><p>Yeah, it’s pretty inception-y. So let’s get concrete. Here are a couple examples of what this unlocks:</p><ul><li>Show an author’s social icons at the end of a blog post, only if they’re set for that author</li><li>Only show images in a related posts list if those related posts have images</li></ul><figure class="w-richtext-align-center" style="max-width: 720px;" data-rt-type="image" data-rt-align="center" data-rt-max-width="720px"><div><img src="<https://cdn.prod.website-files.com/64f9399ca7d13575ff21a675/64f9399ca7d13575ff21c4e8show-and-hide-items.jpg>" alt="Show and hide items based on fields of referenced Collections."></div><figcaption>Show and hide items based on fields of referenced Collections.</figcaption></figure>


Launched on
July 24, 2018
Category
CMS

Related updates

Faster CMS item creation and undo/redo improvements

Faster CMS item creation and undo/redo improvements

Learn more
Expanded on-canvas editing

Expanded on-canvas editing

Learn more
CMS auto-save

CMS auto-save

Learn more
CMS Collection list updates

CMS Collection list updates

Learn more
Comment directly on dynamic CMS content in Webflow

Comment directly on dynamic CMS content in Webflow

Learn more
Use existing assets for OG images

Use existing assets for OG images

Learn more