I’m trying to display some subcategories in menu. Here is the code:
<h2><a href="/trampampam">Basic Security</a></h2>
<p><ul class='projects'><br />
{exp:weblog:categories weblog='project' category_group='2' show='61|40|41|42|43' style='linear' show_empty='yes' disable='category_fields'}<br />
<li><a href="http://{path={category_url_title}}">{category_name}</a></li><br />
{/exp:weblog:categories}<br />
</ul>Category 61 is a parent category called “Basic Security” the rest is a subcategories. Looks good but we already have the link to the parent category (see content between <h2></h2>)
So after that i disable the 61 categories from the “show=” parameter and logically we should see only the subcategories but they don’t displaying. Is there a trick to avoid it?