Support » Fixing WordPress » Nav menu not showing up correctly

Viewing 5 replies - 1 through 5 (of 5 total)
  • Head over to your admin panel > appearence > editor.

    Inside your header.php file there is an <li>|</li> tag.
    Within this tag is the file seperator. Simply delete the first
    <li>|</li> underneath <div id="menu"> and it will be gone.

    Emphacy, I don’t see it. Earlier I removed

    <li><a href="<?php echo get_option('home'); ?>/" id="i_home">Home</a></li> from the file.

    Now it reads:

    <div id="menu">

    Hmmm, it may be in one of your other theme files and not the header, I can only find so much info by going to your web page.

    Head back into your editor and press CTRL+F to bring up the find tool, search for div id=”menu” in each theme file to find which one it’s in.

    It’s there, you just need to find which file the code is in.

    Strangely, I did not find it in any other theme files. Firebug also showed me what you’re looking at. Hmmm, the only thing I can think of is that it has something to do with <?=wp_list_pages2()?>. Does that be default somehow display a “|”?

    Got it. The problem was with the <?=wp_list_pages2()?> in the functions.php file.

    div id="menu" was not there, however, <li></li> was, under function wp_list_pages2.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Nav menu not showing up correctly’ is closed to new replies.