Profile
Achievement
zartgesotten's Recent SnippetsTagged navigation
- All /
« Prev 1 Next »
This was for a customer.
Basically it does this:
If a page has no children, it shows ... nothing,
if a page has a parent, it shows all other children of this parent (siblings) and the current page
if a page has a parent AND children (3rd level)...
0
822
posted 13 years ago by zartgesotten
PHP
wordpress functions.php - Show only current page's subpages and current pages siblings, hide sibling's subpages
Works!
0
862
posted 14 years ago by zartgesotten