Remove "No Categories"? (5 posts)

  1. twilitegxa
    Posted 4 years ago #

    Can anyone tell me how to remove the word "No Categories" from underneath my top nav menu on this theme? http://confluenceadvisors.com/wordpress/

    This theme's version doesn't have it (http://feduccia.com/) but I can figure out how to remove it on the other one. Can anyone help?

  2. Redefine
    Posted 4 years ago #

    Need to know how you have made your menu.

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

  3. esmi
    Forum Moderator
    Posted 4 years ago #

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

  4. twilitegxa
    Posted 4 years ago #

    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') );
    <!-- </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?

  5. esmi
    Forum Moderator
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.