Forums
Home / Themes and Templates / How can I remove link from categories?
(@lhaoanlacosa)
11 years, 2 months ago
I have an accordion menu with categories and subcategories but i need remove link from categories to show subcategories.
This is the structure i’m using:
<div id="menu"> <ul> <?php wp_list_categories('hide_empty=0&exclude=1&title_li=&depth=2'); ?> </ul> </div>