• I am hoping to do a “wp_list_pages” that will show that pages parents children…

    I thought that possible having a negative depth would work, and failed miserably… perhaps there is some PHP function that could do this?

    this is what I have thus far… just shows children:

    <?php
    	$children = wp_list_pages('depth=1&title_li=&child_of='.$post->ID.'&echo=0');
    	if ($children) { ?>
    
    <!--[if IE]>
    <style> .highlight_2_col{margin-left: -00px !important;}</style>
    <![endif]-->
    
    <div id="children">
    	<ul>
    		<?php echo $children; ?>
    	</ul>
    </div>

    Thank you,
    Wes Crockett

  • The topic ‘Advanced list pages’ is closed to new replies.