WP as a CMS menu
You’ll need to get around a custom walker. This answer by @toscho is detailed enough to help you get around it.
You’ll need to get around a custom walker. This answer by @toscho is detailed enough to help you get around it.
I’m not really sure what you’re trying to achieve with the is_page parts – maybe I’m missing something – but what if you’d just write: if (is_user_logged_in()) { $my_account = “My Account”; echo ($my_account); } else { $login = “Login/Sign Up”; echo ($login); } return just returns the variables for use in your code, echo … Read more
“If one isn’t filled out, wp_nav_menu falls back to wp_page_menu…” Means, if you do not create a nav menu from the Menus section in the back end, then as a fall back, wp_page_menu will be used (Check the fallback parameter for wp_nav_menu, it is set to wp_page_menu by default). It completely depends on how you … Read more
I had gone through the given link in your question and using firebug i have added and remove some css rules. Please have look on the below css rules. #menu-main-nav .sub-menu { /*left:-9999px;*/ // remove from line 648 } #menu-main-nav .flyout-parent .sub-menu { background: none repeat scroll 0 0 rgba(255, 232, 198, 0.95); border-color: #AAAAAA; … Read more
wp_nav_menu() is a template tag – that is function designed to be called in theme template file to output something. This specific function generates and displays output of navigation menu. Arguments, you are asking about, determine that menu displayed should be looked up by “Main Menu” name and output should not be wrapped in div … Read more
Register a second sidebar. Call it in your child theme where TwentyEleven calls the first one. Let it float and adjust the CSS for the first menu.
The current-item CSS class generated by wp_nav_menu() is .current-menu-item. However, wp_nav_menu() also has backward-compatibility with wp_page_menu()/wp_list_pages(), and does output .current_page_item (if the current context is a page post-type, of course). So, a couple of possibilities: The current context is not a static Page You’re using a custom walker for the wp_nav_menu() output, that doesn’t output … Read more
Whilst the menu system is great, it is a little intensive; 300 is obviously pushing it. Would a code snippet not be the way to go? <ul class=”places”> <?php wp_list_categories( ‘taxonomy=places&title_li=’ ) ?> </ul>
Without seeing your code it’s hard to say what you should do to fix it. The code you’ve supplied is the html output not the PHP code right? Take a look at one of my previous answers. Make sure you use the Updated for Edited For WordPress 3.3 Compatibility section of the answer. If you’re … Read more
Just add a custom link (wp-dashboard > Appearance > Menus) using a dummy url, then add the custom link to your menu, and edit the menu item and remove the url.