• Resolved orlafitz

    (@orlafitz)


    I just recently upgraded my blog – https://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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter orlafitz

    (@orlafitz)

    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?

    Thread Starter orlafitz

    (@orlafitz)

    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!

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Urgent – Horizontal Menu Bar Missing’ is closed to new replies.