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 );
+ ?>
+
+
+
+
+
+
+
+
@@ -28,6 +50,7 @@
diff --git a/search.php b/search.php
index 98182c9..672d91d 100644
--- a/search.php
+++ b/search.php
@@ -1,5 +1,5 @@
-
+