WordPress.org

Support

Support » Themes and Templates » How can I remove link from categories?

How can I remove link from categories?

  • 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>
  • The topic ‘How can I remove link from categories?’ is closed to new replies.