• Hello friends
    in my site I am trying to make child pages lists on parent page but remove this list fro the child pages
    The same list is also comes in child page also
    so can anyone tell me the way how do I remove this list form the child pages.

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Try:

    <?php if( !$post->post_parent ) {
    	<ul>
    	<?php
    	wp_list_pages('title_li=&child_of='.$post->ID.'&show_date=modified
    	&date_format=$date_format'); ?>
    	</ul>
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Removing page list from child page’ is closed to new replies.