WordPress.org

Ready to get started?Download WordPress

Forums

How can I remove link from categories? (1 post)

  1. lhaoanlacosa
    Member
    Posted 1 year 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>

Topic Closed

This topic has been closed to new replies.

About this Topic