Dynamic Terms Element - Hide tags not used

Hello! I’m using the terms cloud to display all categories. Is there a way to conditionally hide categories that have zero posts attributed? TIA!

Hello @WaggingLabs,

Thanks for writing in!

Yes, you can. Please use the String expression and utilize the {{dc:term:count}} dynamic shortcode that is not equal to 0. For example:

Without Condition:

With Condition:

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.