Hi there,
I am using Categories as links in a sub-nav. Here’s the code:
{exp:weblog:categories weblog="mainentry" style="linear" show="1|2|3|4"}
<a href="http://{path=byType}">{category_name}</a>
{/exp:weblog:categories}This works great, except for when there is no entry in a particular category. When there is no entry, the Category still shows up (of course), but the link is screwy, because it has nothing to link to. How do I set it up so if a Category has no entries, it is hidden? But as soon as I publish something in that Category, it shows up. Is that possible?
Thanks!