Genesis Subpages as Secondary Menu
[resolved] Secondary Menu in Sidebar sorted by Order (3 posts)

  1. Lloyd Borrett
    Posted 3 years ago #


    Love the idea of this plugin. I'm trying to use it with the Agency theme. See http://www.chaordent.com/livinglegends/what-we-do/

    I'd like to have the menu come up in my sidebar, with the list sorted by the Order page attribute.

    How can I achieve this?

    Best regards, Lloyd Borrett.


  2. Lloyd Borrett
    Posted 3 years ago #


    I've got this working, sort of, by adding the following code into wp-content/themes/genesis/lib/structure/menu.php.

    /** Reposition the secondary navigation */
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    add_action( 'genesis_before_sidebar_widget_area', 'genesis_do_subnav' );

    This means it appears BEFORE the sidebar, rather than IN the sidebar.

    See http://www.chaordent.com/livinglegends/what-we-do/

    Is there a way for it to appear IN the sidebar?

    Is there a way to achieve this without modifying theme or framework source code files?

    Best regards, Lloyd Borrett.

  3. Bill Erickson
    Plugin Author

    Posted 3 years ago #

    This plugin is really only designed to be used in the secondary navigation. If you want it in the sidebar, I recommend you use the BE Subpages Widget plugin. This will create a widget called "Subpages Widget" that does as you describe.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Genesis Subpages as Secondary Menu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.