Menu doesn't change
-
Hi there,
Well, first of all, I’d like to say I’ve read the other threads and I’m fully aware that this is a know issue. I read several threads and tried to solve the problem by myself, but I don’t understand much and I’m a real newbie… So sorry for that, but I really need help.
My theme is CoWorker and I can’t find any mention of wp_nav_menu in header.php except for these ones but I don’t think it’s relevant because it seems to refer to other menus that are not the primary or main menu of the theme.
wp_nav_menu( array( 'theme_location' => 'top', 'container' => '', 'fallback_cb' => '', 'walker' => new topmenu_walker() ) );wp_nav_menu( array( 'theme_location' => $stickymenu, 'container' => '', 'fallback_cb' => '', 'walker' => new pmenu_subtitle_walker2() ) );If I look in the theme_functions.php, I found this:
function get_header_menu() { if( semi_option( 'header_style' ) == 'header6' ) { $menuargs = array( 'theme_location' => 'primary', 'container' => '', 'fallback_cb' => '', 'walker' => new pmenu_subtitle_walker2() ); } elseif( semi_option( 'header_style' ) == 'header1' ) { $menuargs = array( 'theme_location' => 'primary', 'container' => '', 'fallback_cb' => '', 'walker' => new pmenu_subtitle_walker() ); } if( semi_option( 'header_style' ) == 'header1' OR semi_option( 'header_style' ) == 'header6' ) { ?> <div id="primary-menu"> <?php wp_nav_menu( $menuargs ); ?> </div> <?php } }This, I guess, is the real primary menu we’re looking for but I don’t know what’s wrong with it.
Thanks for your help!
The topic ‘Menu doesn't change’ is closed to new replies.