'',
'post_type' => 'post',
'post_status' => 'publish',
'paged' => $newsstreet_paged,
);
// Fetch posts.
$the_query = new WP_Query( $args );
$newsstreet_i = 1;
// Start the main loop
if ( $the_query->have_posts() ) :
while ( $the_query->have_posts() ) : $the_query->the_post();
// show only 2 recent post
if($newsstreet_i <= 2) {
?>
'',
'post_type' => 'post',
'post_status' => 'publish',
'paged' => $newsstreet_paged,
);
$the_query = new WP_Query( $args );
// Start the second loop
$newsstreet_k=1;
if ( $the_query->have_posts() ) :
while ( $the_query->have_posts() ) : $the_query->the_post();
// show post from third post
if($newsstreet_k > 2) {
?>