=single_cat_title()?>
+ +have_posts()) :?> +
+
+ have_posts()) : the_post();?>
+ $curr_id = get_the_id();?>
+
+ 0):?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Здесь пока нет публикаций
+
+
+
+
+diff --git a/category-5121.php b/category-5121.php new file mode 100644 index 0000000..9e50c1a --- /dev/null +++ b/category-5121.php @@ -0,0 +1,102 @@ + + + + + $category = get_queried_object(); +$current_cat_id = $category->term_id; + +$part_args = [ + 'category__in' => $current_cat_id, + 'posts_per_page' => 15, +]; + +$part_query = new WP_Query( $part_args ); + +?> + +