absint( $blog_number ),
'post_type' => 'post',
'post_status' => 'publish',
'paged' => 1,
);
if ( absint( $blog_category ) > 0 ) {
$blog_args['cat'] = absint( $blog_category );
}
// Fetch posts.
$the_query = new WP_Query( $blog_args );
?>
have_posts() ) :
while ( $the_query->have_posts() ) : $the_query->the_post(); ?>