diff --git a/category-5121.php b/category-5121.php index b31efc2..7fe2e08 100644 --- a/category-5121.php +++ b/category-5121.php @@ -4,6 +4,7 @@ * */ + get_header(); $nn = 0; $ids = []; @@ -23,7 +24,8 @@ $current_cat_id = $category->term_id; $part_args = [ 'category__in' => $current_cat_id, - 'posts_per_page' => 22 + 'posts_per_page' => 4, + 'paged' => $paged ]; diff --git a/functions.php b/functions.php index ae77ad4..106a9fa 100644 --- a/functions.php +++ b/functions.php @@ -491,6 +491,12 @@ function citata_title($percon){ return $result; } + + + + + + # helper find perevod author function find_perevod($post_id){