Sometime is usefull to show/hide some elements according to certain conditions. While CMS conditions are all automatically converted, there are some conditions that Webflow doesn’t supports yet, and can instead be used with custom attributes.
Note that the elements are not visually hidden, they will not be present at all in your HTML!
You can let Ghost render an element only if a condition is met, by using the attribute:
Hide an item when a condition is met, by using the attribute:
To show/hide something when the user is logged in you can use respectively:
To show/hide something when the user has subscriptions:
To show/hide something when the user is a paid member:
To show/hide something when the user has access to the current showed resource