I'm using Genesis and a plugin called genesis simple menus to define which secondary menu displays in certain sections of my menbership site. I need to have another level and so was hoping to also be able to override the default primary menu as well. Anyone done that before or know how I would go about having it "defined" by page like the secondary navigation is currently?
If there isn't an option in the plugin to define the primary menu too, then you'd have to write conditionals in your functions.php file to switch the menu based on which page you're on.
Do you need to use primary and secondary menus? If you only need one menu per page an alternative would be to use your current plugin and then just switch the primary and secondary menus.
I've written conditionals for this and you can also use a plugin.
Simply change the conditional tags in this code to the page i.d's you want to use or install the plugin. http://wordpress.org/extend/plugins/menu-items-visibility-control/
Code not displaying? Grab it from Github
Brad Dalton has written 1910 tutorials & 4000+ Code Snippets for Genesis & WordPress – Not For Hire.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!