In the members-only forum a user asks: Hi I’ve created a page template for a new section for a client’s site but want to also have a different menu. For the new page template I just copied page.php and renamed it then will style that, but how do I change the menu it uses? Is […]
wp_nav_menu_args
Title Area, Header Middle and Header Right in Genesis Site Header
In the comments section of my past tutorial titled Title Area, Header Middle widget area and Header Right widget area in Genesis Site Header, a few users wrote: Hi Sridhar! Thanks for the tutorial. Just a question: How can I arrange it to show in the middle area a menu that loks the same way […]
Conditionally assigning different menus in Secondary Navigation Menu location in Genesis
In a project that am working on, the requirement is to display different WordPress menus on different pages (views) in the Secondary Nav. Ex.: ‘Shop Menu’ on a specific Shop page, ‘Events Menu’ when on any page generated by Modern Tribe’s The Events Calendar, ‘Blog Menu’ in all other views etc. Screenshots: Front page: Shop […]
How to conditionally replace Navigation menu in Genesis
Update on Thursday, April 23, 2015: See http://sridharkatakam.com/conditionally-assigning-different-menus-in-secondary-navigation-menu-location-in-genesis/ for a better way. In this article I share the code snippet to display a specific custom menu in nav bar on a specific Page (About) while the Primary Navigation in rest of the site’s pages show a different menu as set in Appearance > Menus > […]
Recent Comments