WordPress.org

Ready to get started?Download WordPress

Forums

Remove unlinked menu item? (6 posts)

  1. jimberry
    Member
    Posted 3 years ago #

    I seem to have acquired an extra "Home" entry in my menu, which just links to a "Not Found - Sorry, but you are looking for something that isn't here" message
    In my Admin page, it is not listed in my "Posts" nor in my "Pages", so I am not sure how to find it in order to delete it.

    http://www.jimberry.org/blog/?page_id=52

  2. DaisyMariposa
    Member
    Posted 3 years ago #

    Jim,

    I did a "View Source" on your code and found this:

    <div id="menu1"><ul id="rmenu2" class="clearfix rMenu-hor rMenu">
    <li class="page_item current_page_item"><a href="http://www.jimberry.org/blog/" title="The View from Inverloch">Home</a></li>
    <li><a href="http://www.jimberry.org/blog/?page_id=29" >Home</a></li>
    <li><a href="http://www.jimberry.org/blog/?page_id=31" >Fishing</a></li>
    <li><a href="http://www.jimberry.org/blog/?page_id=52" >Flowers of Western Australia</a></li>
    <li><a href="http://www.jimberry.org/blog/?page_id=2" >About</a></li>
    </ul></div>

    The code in the unordered list has two entries for your Home page. The first list item for "Home" <li> is probably the one that you want to delete since that list item doesn't have a Permalink.

    I hope this helps.

  3. jimberry
    Member
    Posted 3 years ago #

    Yes, that is the entry I want to delete, but how?
    Isn't that HTML code generated by the Worpress application?
    I would have thought that this should be addressed from within the admin page, not by editing the WP generated pages?

  4. jimberry
    Member
    Posted 3 years ago #

    Well, I found the Dashboard>Settings>Reading page where I could set the page as a "static" home page, but this gave me two "Home" entries on the menu!!
    By setting the "About" page as the "parent" of the "Home" page, the extra "Home" menu item disappears from the top level of the menu, but is now shown as a "child" of "About" when mousing over the "About" menu item (which still seems a bit bizarre)!!!

  5. DaisyMariposa
    Member
    Posted 3 years ago #

    The extra "Home" page shows as a child of "About" when you hover over "About" because your changes in the settings caused that to happen

  6. jimberry
    Member
    Posted 3 years ago #

    Yes, I understand that. I just find it strange that this is necessary to hide the unwanted extra "home" item.

Topic Closed

This topic has been closed to new replies.

About this Topic