From 3207928a5c96a952dde3e5046aaa39bda118f06f Mon Sep 17 00:00:00 2001 From: argoexpert press Date: Fri, 25 Jul 2025 21:05:36 +0300 Subject: [PATCH] new format author and date --- author.php | 9 +++++++++ content-about.php | 19 +++++++++++++------ .../src/styles/components/article-item.css | 4 ++++ single.php | 18 ++++++++---------- 4 files changed, 34 insertions(+), 16 deletions(-) diff --git a/author.php b/author.php index 686df6b..f7953e7 100644 --- a/author.php +++ b/author.php @@ -6,6 +6,15 @@

+ '; + echo nl2br(esc_html($author_description)); + echo ''; + } + }?> +
[ 'name' => 'Юлия Макеева', - 'position' => 'Редактор сайта', + 'position' => 'директор по медиапродуктам', 'image' => 'https://vetandlife.ru/wp-content/uploads/2021/12/makeeva.png' ], - + '4' => [ + 'name' => 'Александра Рыжкова', + 'position' => 'замдиректора по медиапродуктам', + 'image' => 'https://agroexpert.press/wp-content/uploads/2025/07/aleksandra-ryzhkova.jpg' + ], + + + '5' => [ 'name' => 'Елена Орехова', - 'position' => 'Заместитель редактора', + 'position' => 'Редактор сайта', 'image' => 'https://agroexpert.press/wp-content/uploads/2024/04/orexova.jpg' ], - '5' => [ + '6' => [ 'name' => 'Елена Каримова', 'position' => 'Научный обозреватель', 'image' => 'https://agroexpert.press/wp-content/uploads/2024/04/karimova.jpg' ], - '6' => [ + '7' => [ 'name' => 'Ильяс Левашов', 'position' => 'Автор', 'image' => 'https://vetandlife.ru/wp-content/uploads/2024/04/iilyas-levashov.jpg' ], - '7' => [ + '8' => [ 'name' => 'Юлия Ликарчук', 'position' => 'Автор', 'image' => 'https://vetandlife.ru/wp-content/uploads/2021/12/likarchyk.png' diff --git a/frontend/src/styles/components/article-item.css b/frontend/src/styles/components/article-item.css index fa26ee0..78d926e 100644 --- a/frontend/src/styles/components/article-item.css +++ b/frontend/src/styles/components/article-item.css @@ -19,6 +19,10 @@ display: none; } +.byline{ + margin-bottom: 1.2rem; +} + @media (max-width: 1024px) { } diff --git a/single.php b/single.php index f213578..4df7e28 100644 --- a/single.php +++ b/single.php @@ -13,8 +13,9 @@ - - +
@@ -29,15 +30,12 @@ display_name !== 'agroexpert.press' AND $author->display_name !== 'Анна Купровская') : ?> -
- -
+ display_name; ?> + +