News Category: Indiana
Cervical Cancer-Free Indiana officially launched their initiative with a kick-off meeting on March 17th, 2011 in Indianapolis.
Watch highlights from this exciting event!
Read More »
ID);
$numPosts = -1; //show all posts
$taxonomy = 'category';
$categoryInTitle = get_category_from_title($pageTitle, $taxonomy); //custom function
if(isset($categoryInTitle)){ //if there is a category in the title
echo "
\n";
display_news_items($categoryInTitle, $numPosts);
//custom function
echo "
\n";
}
else{ //there is no category in the title, loop through all
$categories = get_terms($taxonomy);
$pageTitle = $post->post_name;
$revisedCategoryArray = array();//so 'National' comes first
$revisedCategoryArray[0] = '';
$counter = 1;
foreach($categories as $category){
$revisedCategoryArray[$counter] = $category->slug;
if($revisedCategoryArray[$counter] == 'national'){
$revisedCategoryArray[0] = $revisedCategoryArray[$counter];
unset($revisedCategoryArray[$counter]);
}
else{
$counter += 1;
}
}
for($i=0;$i
" . $categoryName . "";
echo "\n";
display_news_items($categoryName, $numPosts);
//above is custom function
echo "
\n";
}
}*/
?>