25, 'post_status' => 'publish' ) ); $count = $wp_the_query->post_count; $article_number = 0; if (have_posts()) { while (have_posts()) { the_post(); $category = get_the_category()[0]; $count++; $article_number++; if ($article_number == 1) { $author = get_userdata( $post->post_author ); ?>