Move SubNav to Sidebar

Community Forums Forums Design Tips and Tricks Move SubNav to Sidebar

This topic is: resolved

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  picturesque 2 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #38786


    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?


    Try this:

    And you can easily add conditional tags to this code:

    Code not displaying? Grab it on Github.



    Excellent! Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Move SubNav to Sidebar’ is closed to new replies.