I'm trying to move the subnav to the sidebar area using
`/** Reposition the secondary navigation menu */
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'sidebar', 'genesis_do_subnav' );`
I'm trying have just a menu showing the sub pages for the category the person is in in the sidebar. I can't use a widget for this as it needs to change the menu based on where they are in the site. Any ideas?
Picturesque Internet Marketing
And you can easily add conditional tags to this code:
Code not displaying? Grab it on Github.
Brad Dalton has written 1910 tutorials & 4000+ Code Snippets for Genesis & WordPress – Not For Hire.
The topic ‘Move SubNav to Sidebar’ is closed to new replies.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!