From cf7dc509942bdcac3980169f54dac0a3d6398dd8 Mon Sep 17 00:00:00 2001 From: "arlemp@selectel.ru" Date: Sun, 5 Dec 2021 18:53:27 +0300 Subject: [PATCH] correct single 3 footer --- blocks/arh_more.php | 49 +++++++++++++++++++++++++++++++++++++++++++++ header.php | 2 +- single-3.php | 31 +++++++--------------------- style.css | 13 ++++++++++++ 4 files changed, 70 insertions(+), 25 deletions(-) create mode 100644 blocks/arh_more.php diff --git a/blocks/arh_more.php b/blocks/arh_more.php new file mode 100644 index 0000000..0008d5e --- /dev/null +++ b/blocks/arh_more.php @@ -0,0 +1,49 @@ + -1 , + 'category' => 3, // 19 - архив газеты, + 'year' => $numbers_year, + 'orderby' => 'date', + 'post__not_in' => array (get_the_ID()), + 'order' => 'DESC', + 'post_type' => 'post', + 'suppress_filters' => true, // подавление работы фильтров изменения SQL запроса +) ); + +?> + + + 0):?> + +
Архив выпусков,
+ +
+ + + + + + + +
+ +
+ <?the_title();?> + + + +
+ +

+
+ + + + + +
+ + diff --git a/header.php b/header.php index 4d867de..bc31ddf 100644 --- a/header.php +++ b/header.php @@ -4,7 +4,7 @@ <?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?> - + diff --git a/single-3.php b/single-3.php index 57e8b64..a9e375b 100644 --- a/single-3.php +++ b/single-3.php @@ -44,35 +44,18 @@ get_header();?> - - -
-

Свежие отраслевые новости на нашем канале в Telegram

-

Добавьте «Ветеринарию и жизнь» в избранное в ЯНДЕКС.НОВОСТИ

-
+ - - -
- -
- -
-
- name;?>, -
-
- -
-
- - +
- +
diff --git a/style.css b/style.css index 14fb76b..e2e4f11 100644 --- a/style.css +++ b/style.css @@ -460,6 +460,7 @@ a{ background: #F5F5F5; width: 768px; height: 128px; + padding-left: 8px; } .number_number{ @@ -1998,6 +1999,7 @@ img-fluid{ margin-right: 8px; } + h1 { font-size: 24px; } @@ -2109,6 +2111,11 @@ img-fluid{ justify-content: center; } + + + .number-img { + display: none; + } @@ -2211,6 +2218,12 @@ and (max-device-width : 667px) { justify-content: center; } + + + .number-img { + display: none; + } +