Home

  • 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 ‘

‘.$pageTitles[$counter].’

‘;
echo $postContent;
echo ‘

‘;
$counter = $counter + 1;
}
echo ‘

Subscribe to the PAN-Pulse enews service  Tell me more


‘;
else:
//optional text here is no pages found//
endif;
wp_reset_postdata();[/insert_php]