WordPress.org

Ready to get started?Download WordPress

Forums

BE Subpages Widget
[resolved] Menu Sub Pages Hierarchy (2 posts)

  1. J
    Member
    Posted 1 year ago #

    Hi Bill,

    Thanks for some awesome plugins.

    I have a 3 level nested pages. Meaning a top parent page which has a few child pages (lets call them pages A, B & C), each of the child pages is a parent to a few child pages of their own (lets call one group od those pages 1, 2 & 3). (3 level hierarchy).

    When I click on the top parent page, the widget displays the pages that are under it (A, B & C) but when I click on one of those, the widget still displays A, B & C, instead of now displaying 1, 2 & 3)

    If i check the "Include the current page's subpages", then it shows all sub and sub-sub pages in one long list. so no matter what page i am on I get one big list of everything together: A, 1, 2, 3, B, C, etc'

    All i want is for the widget to display only the pages that are under the current page that is being displayed. to show only the child pages of the current page.

    How can I achieve that?

    Thanks in advance.

    http://wordpress.org/extend/plugins/be-subpages-widget/

  2. Bill Erickson
    Member
    Plugin Author

    Posted 1 year ago #

    Unfortunately this plugin isn't designed to work that way.

    Adding this to your theme's functions.php file might get it working the way you want, but it probably needs some testing and modification: https://gist.github.com/billerickson/4717277

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic