I am using the Fold Page List Plugin. This is how my pages appear right now:
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;
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!