Viewing 4 replies - 1 through 4 (of 4 total)
  • Need to know how you have made your menu.

    Can you post the menu section of your header.php.

    If the code exceeds 10 lines, please use the pastebin as per the Forum Rules.

    Thread Starter twilitegxa

    (@twilitegxa)

    It looks like my nav menu is displayed here:

    <!-- <div id="mainMenu"> -->
    			<?php if ( function_exists( 'wp_nav_menu' ) ){
    					wp_nav_menu( array( 'theme_location' => 'main-menu', 'container_id' => 'mainMenu', 'container_class' => 'ddsmoothmenu', 'fallback_cb'=>'primarymenu') );
    				}else{
    					primarymenu();
    			}?>
    <!-- </div> -->
    </div>
                <!-- END MAIN MENU-->

    I used an existing custom theme and it just displays them from the pages created, but I’m not sure about why the categories part is there, because I don’t see what part controls that. Can anyone help?

    You either need to examine the primarymenu() function (probably in function.php) or sidestep the whole issue and create a custom menu instead.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove "No Categories"?’ is closed to new replies.