pull child pages of a specific parent to say the home page
-
Any idea how I can conver this to pull the child pages of a specific parent to any page?
this works great with categories and posts..
<ul> <?php $temp_query = $wp_query; ?> <?php query_posts("category_name='featured-articles'&showposts=3"); ?> <?php while (have_posts()) : the_post(); ?> <li class="post" id="post-<?php the_ID(); ?>"> <div class="news"> <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4> <?php the_excerpt(); ?> <p><a href="<?php the_permalink(); ?>">MORE ></a></p> </div> </li> <?php endwhile; ?> </ul>
Thanks for any advice!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘pull child pages of a specific parent to say the home page’ is closed to new replies.