![]() ![]() We can see that the section won't show up if the category isn't set to Portraits. So by doing this - by setting up this condition - we've made it so the section only appears on pages that have the Portraits category set. But we do want it showing up if someone's reading about portraits. We don't want this section showing up to advertise portrait photography if the page is about shooting Landscape Architecture, Residential Interiors, Commercial Exteriors, or Dr. We're only showing this section when the Work Category is Portraits. The element (and its children) is only visible when.Īnd from the dropdown, we can make the selection. But we only want this section to show up on certain pages. And here's a section element with content inside. Now, we all know that wasn't nine syllables. ![]() Despite the nine-syllable mouthful, conditional visibility is really straightforward, and it's a great way to show or hide entire elements (and their children), based upon an item’s content inside a collection.
0 Comments
Leave a Reply. |