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 1 year, 4 months ago.

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

    Post count: 7

    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?

    Post count: 9412

    Try this:

    And you can easily add conditional tags to this code:

    Code not displaying? Grab it on Github.

    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials


    Post count: 7

    Excellent! Thank you.

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

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