'page',
'posts_per_page' => absint( $number_of_breaking_news_items ),
'post__in' => $breaking_news_posts,
'orderby' =>'post__in',
);
$loop = new WP_Query($args);
if ( $loop->have_posts() ) :
$i=-1; $j=0;
while ($loop->have_posts()) : $loop->the_post(); $i++; $j++;
$class='';
if ($i==0) {
$class='display-block';
} else{
$class='display-none';}
?>
'post',
'posts_per_page' => absint( $number_of_breaking_news_items ),
'post__in' => $breaking_news_posts,
'orderby' =>'post__in',
'ignore_sticky_posts' => true,
);
$loop = new WP_Query($args);
if ( $loop->have_posts() ) :
$i=-1; $j=0;
while ($loop->have_posts()) : $loop->the_post(); $i++; $j++;
$class='';
if ($i==0) {
$class='display-block';
} else{
$class='display-none';}
?>