absint( $blog_number ), 'post_type' => 'post', 'post_status' => 'publish', 'paged' => 1, ); if ( absint( $blog_category ) > 0 ) { $blog_args['cat'] = absint( $blog_category ); } $loop = new WP_Query( $blog_args ); if ( $loop->have_posts() ) : $i=-1; $j=0; while ( $loop->have_posts() ) : $loop->the_post(); $i++; $j++; ?>