Support » Plugin: Genesis Subpages as Secondary Menu » [Plugin: Genesis Subpages as Secondary Menu] Excluding pages from the secondary menu

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am wondering the same thing. There are lots of reasons you might want to exclude certain pages.

    Also, is there any documentation for the filters that are available?

    Plugin Author Bill Erickson

    (@billerickson)

    To exclude pages, use the be_genesis_subpages_args filter like so: https://gist.github.com/1481985

    These args go into wp_list_pages, so use that codex page as a guide for what parameters you can use.

    Here’s all the filters (the best place to look is in the plugin itself, just search for apply_filters):

    be_genesis_subpages_args.
    Default (array):

    $args = array(
    'child_of' => $parent->ID,
    'title_li' => '',
    'echo' => false,
    );

    be_genesis_subpages_wrapper
    Default (array):


    array( '<ul id="menu-genesis-subpages" class="nav">', '' )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Genesis Subpages as Secondary Menu] Excluding pages from the secondary menu’ is closed to new replies.