2012 U.S. Olympic Marathon Trials Race Coverage
remove_filter ('the_content','wpautop');
$tags = "u-s-olympic-marathon-trials";
$args_latestnews= array ('category_name' => ‘news’ , ‘posts_per_page’ => ’8′ , ‘offset’ => ’1′, ‘tag’ => $tags);
$args_topfeature= array (‘category_name’ => ‘news’ , ‘posts_per_page’ => ’1′, ‘tag’ => $tags);
$args_features= array (‘category_name’ => ‘features’ , ‘posts_per_page’ => ’5′, ‘tag’ => $tags);
$args_videos= array (‘category_name’ => ‘videos’ , ‘posts_per_page’ => ’5′, ‘tag’ => $tags);
$original_query = $wp_query; // assign original query to temp variable for later use
$wp_query = null;
$topfeature = new WP_Query($args_topfeature);
$latestnews = new WP_Query($args_latestnews);
$featuredposts = new WP_Query($args_features);
$videoposts = new WP_Query($args_videos);
?>
‘, ‘
‘); ?>
‘); There were no posts found. ‘;Latest News
if ($latestnews->have_posts()) : while ($latestnews->have_posts()) : $latestnews->the_post();
the_title (‘
endwhile;
else: echo ‘
endif;
?>
Featured Articles
have_posts()) : while ($featuredposts->have_posts()) : $featuredposts->the_post(); ?>
There were no posts found.
‘; endif; ?>
Featured Videos
have_posts()) : while ($videoposts->have_posts()) : $videoposts->the_post(); ?>
There were no posts found.
‘; endif; ?>



