Show full branch (2 posts)

  1. Andrzej
    Posted 2 years ago #

    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.


  2. Andrzej
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Page-list
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.