in WP 2.8 – Child Pages Template no longer works
-
I upgraded to WordPress 2.8. Now my Child Pages template doesn’t correctly list the child pages.
I made a custom page template that uses code straight from the WP Codex:
<?php $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0'); if ($children) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?>
That’s from: https://codex.www.ads-software.com/Template_Tags/wp_list_pages
In 2.7.1 that child pages template worked fine, which made it so when I was viewing the parent page it would show a list of all child pages.
For some reason now it just shows a list of my Blogroll!!!
Any ideas on how to make this work in 2.8?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘in WP 2.8 – Child Pages Template no longer works’ is closed to new replies.