Thread Starter
Robin
(@ioushirts)
So I figured out how to exclude the two parent pages from repeating, now it’s only showing the one real child page called Business Logo Design. So now it looks like this:
<?php
$children = wp_list_pages('exclude=2,25&title_li=&child_of='.$post->ID.'&echo=0');
if ($children) { ?>
<?php echo $children; ?>
<?php } ?>
My next question is, how can I hide the Child page named Business Logo Design from the home page? I only want it to appear on the navigation when someone is visiting its Parent page > Services