WordPress.org

Ready to get started?Download WordPress

Forums

wordpress pages question - fold page list plugin (3 posts)

  1. maestro42
    Member
    Posted 6 years ago #

    Hi all,

    I am using the Fold Page List Plugin. This is how my pages appear right now:

    My Pages

    About Edge Athletics is a parent. It has 2 children, Our AAU Program and Community Service. Our AAU Program has 3 children (Respect, Skill Development, Work Ethic). Test page is its own page.

    When someone visits the About Edge Page - I want the entire list to show up - minus the test page. Right now the plugin is showing every page on my system.

    I know that the Fold Page List Plugin has a function to get the ancestor tree of any page and by using:

    $ancestorIDs = _wswwpx_page_get_ancestor_ids($g_page_id);
    $grandParent = $ancestorIDs[1];

    I can get the page_id of the topmost page at any time. I tried implementing a way to only list pages that fall under the topmost page while on any page in that tree but can't seem to get it to work.

    Any ideas? Thank you in advance for help!

  2. maestro42
    Member
    Posted 5 years ago #

    anyone else know using this plugin ? its really confusing me.

  3. dustyseb
    Member
    Posted 5 years ago #

    did you sort it out? I want to do something of that sort too, confused as well

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.