WordPress.org

Support

Support » Plugins and Hacks » Page-list » Show full branch

Show full branch

  • Hello webvitaly.

    I’ve tried a few param settings and was unable to achieve the following.

    Display in sidebar the top level nav menu page and all its children, whenever the top level page or its child is being viewed. This view should exclude all top level siblings but should include child siblings.

    For example; a nav menu has Home and About pages. About has Child1 and Child2 pages. Child1 has Child1.2 page.

    When ‘any’ page on the About branch is viewed, the complete branch should be listed as; About, Child1, Child1.2, Child2.

    Is this somethings that “Page-list” can be configured to do?

    Thank you for guidance on this matter.

    http://wordpress.org/plugins/page-list/

Viewing 1 replies (of 1 total)
  • Well, I’ve had some success in achieving the desired sidebar page list. This shortcode will do the trick by showing the toplevel menu parent and children. It excludes other toplevel parent siblings:

    [pagelist exclude_tree="3,7,11"]

    I was hoping for a cleaner solution but this will work.

    Unfortunately, core WP only evaluates the ‘first’ exclude and ignores the remaining (7,11) parent items. WP has a bug fix planned for WP 3.8 to resolve this.

Viewing 1 replies (of 1 total)
  • The topic ‘Show full branch’ is closed to new replies.
Skip to toolbar