In the recent release of wordpress 3.2.4 and the 3.2.3 security release, a change was introduced that caused custom navigation menus to default to the standard page list menu of EVERYTHING!

Not ideal, and as most people found out, the fix for this was to add 'fallback_cb' => false to the wp_nav_menu() calls in their theme, however for me, and some other people, this didn't fix the problem alone.

In fact as well of this, for some people, including myself, it seems that the wordpress upgrade ALSO removed the association between menu locations and the custom menus themselves from the database (i.e. The values set in the "Theme Locations" section of the menu editor were lost.

So, if you're still having issues with custom menus in wordpress, and your code for creating them and including them in your theme appears correct, check the menu editor and see if you need to re-associate your menus to your theme locations!





Related posts on coderchris.com:

  1. Page and Sub-page Menus In WordPress
    Recently I wanted to change the theme I use on my personal blog to...
  2. Dodgy WordPress Plugins and Themes
    Recently I have been doing a LOT of research into various wordpress themes and...
  3. Advanced Syntax-Hilighting Online Code Editors – A WordPress IDE?
    When I write plugins for wordpress I like to do it on a test...
  4. A Simple News System For Basic Websites
    This is a very simple news system with comment support which is ideal for...
  5. Meld WordPress And Facebook Together With Wordbook
    Now this is a pretty neat plugin: Wordbook allows you to send your wordpress...