Answer the question
In order to leave comments, you need to log in
Should pagination be displayed?
Hello. There is the following PHP code:
<?php
$args = array(
'show_all' => True,
'end_size' => 1, // количество страниц на концах
'mid_size' => 1 // количество страниц вокруг текущей
);
the_posts_pagination($args);
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question