Support » Fixing WordPress » wordpress pages question – fold page list plugin

  • 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!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wordpress pages question – fold page list plugin’ is closed to new replies.