category_count; } } if ($count >= 6 && !empty($currents)) { // Feature 1 $args = array( 'numberposts' => 1, 'offset' => 0, 'category' => $currents, 'orderby' => 'post_date', 'order' => 'DESC', 'exclude' => '', 'meta_key' => '', 'meta_value' =>'', 'post_type' => 'post', 'post_status' => 'publish', 'suppress_filters' => true ); $recent_posts = wp_get_recent_posts( $args, ARRAY_A ); foreach( $recent_posts as $recent ){ } ?>