WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Lloyd Borrett
    Member
    Posted 1 year ago #

    G'day,

    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.

    http://wordpress.org/extend/plugins/genesis-subpages-as-secondary-menu/

  2. Lloyd Borrett
    Member
    Posted 1 year ago #

    G'day,

    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
    Member
    Plugin Author

    Posted 1 year 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

About this Topic

Tags

No tags yet.