List parents siblings with wp_list_pages (page)
-
Hi there,
I’m trying to list the parents siblings of a page.
I’ve just spent way too long trying to find a way to do this.
I thought I’d find the pages parents parent ID, then do something like this:`wp_list_pages(‘title_li=&child_of=’.$secondParentsID);
However I continue to fail…
Any help would be greatly appreciated.Thank you!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘List parents siblings with wp_list_pages (page)’ is closed to new replies.