diff --git a/blocks/archive.php b/blocks/archive.php index 3a880e9..09688d9 100644 --- a/blocks/archive.php +++ b/blocks/archive.php @@ -2,7 +2,7 @@ $posts = get_posts( array( 'numberposts' => 1, - 'category' => 19, // 19 - архив газеты + 'category' => 3, // 19 - архив газеты 'orderby' => 'date', 'order' => 'DESC', 'include' => array(), diff --git a/blocks/citata.php b/blocks/citata.php index 66de5df..64c9942 100644 --- a/blocks/citata.php +++ b/blocks/citata.php @@ -6,7 +6,7 @@ if (!$posts = kuri_set($key)) { $posts = get_posts( array( 'numberposts' => 1, - 'category' => 7, // 7 - мнения + 'category' => 30, // 7 - мнения 'orderby' => 'date', 'order' => 'DESC', 'include' => array(), diff --git a/blocks/events.php b/blocks/events.php index 330d9e4..bef9d41 100644 --- a/blocks/events.php +++ b/blocks/events.php @@ -4,7 +4,7 @@ $posts = get_posts( array( 'numberposts' => 3, - 'category' => 44, // 44 - мероприятия + 'category' => 61, // 61 - мероприятия 'orderby' => 'date', 'order' => 'DESC', 'include' => array(), diff --git a/blocks/opinion.php b/blocks/opinion.php index 463f833..85e4420 100644 --- a/blocks/opinion.php +++ b/blocks/opinion.php @@ -5,7 +5,7 @@ $key = 'vij_opinions'; if (!$opinions = kuri_set($key)) { $opinions = get_posts( array( 'numberposts' => 1, - 'category' => 7, // 7 - мнения + 'category' => 30, // 7 - мнения 'orderby' => 'date', 'order' => 'DESC', 'include' => array(), diff --git a/category-rosselkhoznadzor.php b/category-rosselkhoznadzor.php new file mode 100644 index 0000000..10b8038 --- /dev/null +++ b/category-rosselkhoznadzor.php @@ -0,0 +1,70 @@ + + + + +
+ + + +

+ + + + + + + +
+ + <?the_title();?> + +

+
+
+
+
+
+ + +
+ + + 1):?> + +
+ + <?the_title();?> + +

+
+
+
+
+ + + + + +
+ + + + Здесь пока нет публикаций + + + + + +
+ + \ No newline at end of file diff --git a/header.php b/header.php index 082cc22..c381934 100644 --- a/header.php +++ b/header.php @@ -4,7 +4,7 @@ <?php wp_title('|', true, 'right');?> - + diff --git a/index.php b/index.php index 2c35c3c..2d2d536 100644 --- a/index.php +++ b/index.php @@ -11,7 +11,7 @@ $nn = 0;?> array(2, 15, 18 ,44, 1028), + 'category_in' => array(2), 'meta_query' => array( array( 'key' => '_thumbnail_id', @@ -55,7 +55,9 @@ $nn = 0;?>
- <?the_title();?> +
+ <?the_title();?> +

diff --git a/single.php b/single.php index 5908b88..9ff1de0 100644 --- a/single.php +++ b/single.php @@ -45,7 +45,7 @@
-
+
diff --git a/style.css b/style.css index 3ea73cb..839fa97 100644 --- a/style.css +++ b/style.css @@ -426,7 +426,9 @@ a{ margin-right: 18px; } - + .fulltext a{ + color: #2D9CDB; + } .sp-button{ color: orange; @@ -561,8 +563,8 @@ a{ } #post-img{ - /**text-align: center;*/ - background: #F5F5F5; + text-align: center; + /**background: #F5F5F5;*/ } #event-img{ @@ -680,6 +682,11 @@ a{ .card-img-top{ text-align: center; width: 100%; + margin-bottom: 12px; + } + + .mini-card-img{ + margin-bottom: 4px; } @@ -715,6 +722,14 @@ a{ text-align: center; } +.main-card-title-left{ + + font-family: 'GrtskPeta'; + font-size: 36px; + text-align: right; + +} + .main-card-text{ font-family: 'GrtskPeta'; font-size: 18px; @@ -1199,7 +1214,6 @@ img-fluid{ display: none; } - .main-card-title{ font-size: 24px; } @@ -1207,7 +1221,7 @@ img-fluid{ #content{ /*width: 100%;*/ - min-width: 780px; + max-width: 780px; } @@ -1254,7 +1268,6 @@ img-fluid{ #gamburer_menu a{ font-weight: bold; } - .mob-lite{