diff --git a/footer.php b/footer.php index e1a3acc..dd04df2 100644 --- a/footer.php +++ b/footer.php @@ -77,10 +77,11 @@
- - + +
+ @@ -101,8 +102,20 @@ '']);?> 'mob-lite']);?> + + + + +
+ + + +
+ + + @@ -133,10 +146,17 @@
- - + +
+ +
+ + + +
+ diff --git a/functions.php b/functions.php index feedaed..001fdca 100644 --- a/functions.php +++ b/functions.php @@ -628,3 +628,4 @@ add_action( 'pre_get_posts', function ($query) { }); + diff --git a/header.php b/header.php index 15c87be..87099a1 100644 --- a/header.php +++ b/header.php @@ -4,7 +4,7 @@ <?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?> - + diff --git a/index.php b/index.php index 27a75e6..491e2ec 100644 --- a/index.php +++ b/index.php @@ -17,6 +17,7 @@ $nn = 0;?> array( 'category__in' => array(2), 'post__not_in' => array($mainpost_id), + 'posts_per_page' => 21, 'meta_query' => array( array( 'key' => '_thumbnail_id', @@ -34,7 +35,25 @@ $nn = 0;?> have_posts()) : $query->the_post();?> - + + + + +
+ + +
+ + «Ветеринария и жизнь» объявляет о новом фотоконкурсе «Современное животноводство и ветеринария» + +
+

«Ветеринария и жизнь» объявляет о новом фотоконкурсе «Современное животноводство и ветеринария»

+
+
до 31 марта 2022 года
+
+
+ +
diff --git a/rsscreate.php b/rsscreate.php index 39e1968..1755e03 100644 --- a/rsscreate.php +++ b/rsscreate.php @@ -15,7 +15,7 @@ function filterHtml($html) { date_default_timezone_set('Europe/Moscow'); $posts = get_posts( array( - 'numberposts' => 25, + 'numberposts' => 20, 'category' => 2, 'orderby' => 'date', 'order' => 'DESC', diff --git a/single-2157.php b/single-2157.php index 1e0a486..0c8801e 100644 --- a/single-2157.php +++ b/single-2157.php @@ -28,6 +28,10 @@
+ + +
+

@@ -40,6 +44,8 @@ +
+
diff --git a/single-4782.php b/single-4782.php index 2365a62..bdc8299 100644 --- a/single-4782.php +++ b/single-4782.php @@ -13,6 +13,11 @@ $category_id = $category[0]->term_id; $category_link = get_category_link($category_id); $post_id = get_the_ID(); + + remove_filter('the_content', 'wptexturize'); + remove_filter('the_title', 'wptexturize'); + remove_filter('the_excerpt', 'wptexturize'); + ?>
+ +
+

@@ -45,6 +48,8 @@ +
+
diff --git a/single.php b/single.php index 9f536ce..2cd4030 100644 --- a/single.php +++ b/single.php @@ -31,6 +31,7 @@
+

@@ -71,6 +72,8 @@
+ +
diff --git a/style.css b/style.css index f755e9b..bc9dd01 100644 --- a/style.css +++ b/style.css @@ -63,7 +63,7 @@ dd { margin: 0; } - ul, ol { +ul { list-style: none; } @@ -951,6 +951,14 @@ a{ } + #fulltext ul{ + list-style-type: square; + } + + #content ul li{ + padding: 4px 0 4px 0; + } + .promo-agregators{ margin-top: 28px; padding: 32px 28px 32px 28px; @@ -1220,6 +1228,7 @@ a{ #nav_content{ display: flex; + list-style-type: none; padding:0; padding-bottom: 18px; margin-top: 28px; diff --git a/views/rss/yanews.php b/views/rss/yanews.php index 7f776a2..37a8f55 100644 --- a/views/rss/yanews.php +++ b/views/rss/yanews.php @@ -19,10 +19,7 @@ post_date)?> - post_content)?> - ]]> - + post_content)?>]]>