I'm trying to display multiple page excerpts in buckets on the homepage. So far I have this code:
<?php $page_query = new WP_Query('post_type=page&post_parent=5&order=ASC'); ?>
<?php while ($page_query->have_posts()) : $page_query->the_post(); ?>
<div class="section">
<h2><a href="<?php the_permalink();?>"><?php the_title();?></a></h2>
<?php the_excerpt(); ?>
<p class="readmore"><a href="<?php the_permalink();?>">Read More</a>
</div>
<?php endwhile; ?>
How can I add multiple ID's of my choice? Something like this:
<?php $page_query = new WP_Query('post_type=page&post_parent=5,6,7,8,9,10&order=ASC'); ?>
I have been trying to figure this out for days! Any help would be greatly appreciated!