Subpages within the loop?
-
Hi,
Anyone have a good solution to fetching subpages to a page when in the loop?
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="left"> <h2><?php the_title(); ?></h2> </div>1 <div class="right"> .. here be children of this page .. </div> <?php endwhile; endif; ?>
The topic ‘Subpages within the loop?’ is closed to new replies.