From c972398238d3b79138d52984582502be01e6ea59 Mon Sep 17 00:00:00 2001 From: argoexpert press Date: Wed, 26 Feb 2025 20:30:02 +0300 Subject: [PATCH] add author --- author.php | 25 +++++++++++++++++++++++++ single.php | 3 ++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 author.php diff --git a/author.php b/author.php new file mode 100644 index 0000000..686df6b --- /dev/null +++ b/author.php @@ -0,0 +1,25 @@ + +
+ + +
+

+
+ +
+ 'post', + 'posts_per_page' => 11, + 'paged' => $paged, + 'author' => get_queried_object_id() + ); + $query = new WP_Query($args); + ?> + $query]); ?> +
+ + +
+ diff --git a/single.php b/single.php index b3dbae2..7e3b572 100644 --- a/single.php +++ b/single.php @@ -31,7 +31,8 @@ display_name !== 'agroexpert.press' AND $author->display_name !== 'Анна Купровская') : ?>