WordPress.org

Ready to get started?Download WordPress

Forums

Remove "No Categories"? (5 posts)

  1. twilitegxa
    Member
    Posted 2 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
    Member
    Posted 2 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 2 years ago #

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

  4. twilitegxa
    Member
    Posted 2 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') );
    				}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?

  5. esmi
    Forum Moderator
    Posted 2 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

Tags

No tags yet.