diff --git a/archive.php b/archive.php index 1a8f1c3..a8a2da3 100644 --- a/archive.php +++ b/archive.php @@ -1,5 +1,5 @@ - +
+

Latest

diff --git a/page-articles.php b/page-articles.php index 2323b67..c08ff13 100644 --- a/page-articles.php +++ b/page-articles.php @@ -1,15 +1,37 @@ - +
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 ); + ?> + +