Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul class="tabs">
- {% nav category in craft.categories.group('otherAppliances') %}
- {% set itemCount = craft.entries.relatedTo(category).total() %}
- {% if itemCount %}
- <li rel="">{{ category.title }}</li>
- {% endif %}
- {% endnav %}
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement