- PAN is committed to:
- Supporting Residents and Neighborhoods
- Community Advocacy
- Emergency Preparedness
[insert_php]
$args = array(
‘post_type’ => ‘page’,
‘post__in’ => array(104,106,108,110) //list of page_ids
);
$page_query = new WP_Query( $args );
if( $page_query->have_posts() ) :
echo ‘
//print any general title or any header here//
$pageTitles = [“PAN News”,”What’s Happening”,”City / County Links”,”Community Links”];
$counter = 0;
foreach($page_query->posts as $post) {
echo ‘
‘;
echo $postContent;
echo ‘
‘;
$counter = $counter + 1;
}
echo ‘
‘;
else:
//optional text here is no pages found//
endif;
wp_reset_postdata();[/insert_php]