This will return a list of specific pages in the same manner as posts are usually returned.

 

 

<?php $args = array( 'post_type' => 'page', 'post__in' => array( pagdeid1,pageid2,pageid3), 'orderby' => 'title', 'order' => 'asc', 'posts_per_page' => -1 );
$loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); ?>
    <?php the_title(); ?>
    <?php the_excerpt();?>

<?php endwhile; ?>

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP