Forums

[resolved] Urgent - Horizontal Menu Bar Missing (4 posts)

  1. orlafitz
    Member
    Posted 1 year ago #

    I just recently upgraded my blog - http://www.cottageology.com and also upgraded the theme. Somehow after the upgrade the horizontal menu bar is missing. It is exceptionally important - it contains 'Home, About, Resources, Contact' etc...

    I can still see all my pages in the blog - they are just not displaying. I am really worried about how to fix this as I have no backup of the original template (MAJOR lesson learned). Can anyone help me with this?

  2. orlafitz
    Member
    Posted 1 year ago #

    It seems to be to do with upgrading to 3.0. I got the menu's back by using the new built in feature in WordPress but does anyone know if it supports drop down menus. My menu's used to be drop down & I can't see a way to make this happen again despite the fact that my theme supports them?

  3. orlafitz
    Member
    Posted 1 year ago #

    Hi all,

    The answer is achingly simple... In WP 3.0 under the 'menu' section of the appearance panel, add all of the pages you want. Place the pages you want as sub menu's under your main page tab and then 'pull' your sub page tabs to the right - they will dock indented to the right & hey presto - drop down menu created! Fantastic

    I hope this saves someone else some frustration! WordPress 3.0 is brilliant!

  4. dscottS3
    Member
    Posted 1 year ago #

    Just in case some one is interested:

    It actually looks like the theme is trying to rely on a "fallback" function that's being called incorrectly due to a name mismatch. The fix is simple:

    Open the themes functions.php file

    on line 23 you'll see:
    wp_nav_menu( 'sort_column=menu_order&container_class=menu&menu_class=&menu_location=main-menu&fallback_cb=gpptheme_nav_fallback' );

    Replace it with:
    wp_nav_menu( 'sort_column=menu_order&container_class=menu&menu_class=&menu_location=main-menu&fallback_cb=theme_nav_fallback' );

    the fallback_cb was calling gpptheme_nav_fallback, however its named theme_nav_fallback. Hope this helps!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags