Menus Bugs (Can't set or delete)
-
Hi,
Having a problem with wordpress 3.0.1 and using menus in my theme, version 3.0 seems to work perfectly but in the latest I’m getting 2 bugs:
– I have set up a custom spot for a menu in my theme using the code:
<?php wp_nav_menu( array(‘menu’ => ‘header-nav’, ‘container_class’=>’head-nav’, ‘menu_class’=>’head-nav-links’, ‘container_id’=>false, ‘menu_id’=>false)); ?>
and defined it in the functions file with:
if ( function_exists( ‘register_nav_menus’ ) ) {
register_nav_menu(‘header-nav’, __(‘Top Navigation Bar’));
}In the menus page in the admin it’s telling me my theme supports 1 menu, however when I create a menu and set it to use this new menu (I made a menu named ‘Top Navigation Menu’ with a few custom links) it instead of showing this new menu always shows the first menu I’ve created in the spot. (I have 2 menu’s created, one named links and one named top navigation menu and no matter what I set the ‘top navigation bar’ to it always shows links.
This could be because I was developing another theme using this install before and had set up menus for it then switched to this new theme… could that have broken something?
Bug #2
I can’t seem to delete menus, if I click the delete button the confirm pops up, I click ok and nothing happens.
Cheers, Tim
- The topic ‘Menus Bugs (Can't set or delete)’ is closed to new replies.