diff --git a/blocks/paginator.php b/blocks/paginator.php
index e0878f4..dd2be7c 100644
--- a/blocks/paginator.php
+++ b/blocks/paginator.php
@@ -2,6 +2,7 @@
'prev_text' => __( '< '.vij_lang('prev', LANG_VERSION), 'quidus' ),
'next_text' => __( vij_lang('next', LANG_VERSION).' >', 'quidus' ),
'end_size' => 2,
+ 'mid_size' => 3,
'before_page_number' => '' . __( 'Page', 'quidus' ) . ' ',
) );
?>
\ No newline at end of file
diff --git a/category-5121.php b/category-5121.php
index 9e50c1a..b31efc2 100644
--- a/category-5121.php
+++ b/category-5121.php
@@ -18,16 +18,18 @@ if (file_exists($votes_file)){
- $category = get_queried_object();
+$category = get_queried_object();
$current_cat_id = $category->term_id;
$part_args = [
'category__in' => $current_cat_id,
- 'posts_per_page' => 15,
+ 'posts_per_page' => 22
+
];
$part_query = new WP_Query( $part_args );
+
?>
@@ -40,62 +42,48 @@ $part_query = new WP_Query( $part_args );
=single_cat_title()?>
-have_posts()) :?>
-
-
- have_posts()) : the_post();?>
- $curr_id = get_the_id();?>
-
- 0):?>
+ if($part_query->have_posts()) :?>
-
-
-
-
-
-
-
-
-
-
-
-
+ have_posts() ) :
+
+ $part_query->the_post();?>
-
-
Спасибо за Ваш голос
-
+
-
+
+
+
+
+
+
+
+
+
Спасибо за Ваш голос
+
+
+
-
+
+
-
-
-
-
-
-
-
-
-
+
+$GLOBALS['wp_query']->max_num_pages = $part_query->max_num_pages?>
+
-
-
- Здесь пока нет публикаций
-
-
-
diff --git a/single-61.php b/single-61.php
index 9bf96bc..943a9bf 100644
--- a/single-61.php
+++ b/single-61.php
@@ -41,7 +41,7 @@
-
;?>)
+
diff --git a/style.css b/style.css
index 81699d1..4fa66b7 100644
--- a/style.css
+++ b/style.css
@@ -996,6 +996,7 @@ a{
float: left;
margin-right: 12px;
margin-bottom: 12px;
+ width: 198px;
}
.pagination-wrapper{