The default number of displayed page numbers is 10. For example, if you want to change it to display 3, as shown below:
Previous page 1 2 3...34 Next Page
can be modified in the phpcms\libs\functions\global.func.php
file.
First open the phpcms\libs\functions\global.func.php file;
Then find the paging function function pages
(about line 665)
Finally make the following modifications:
$setpages = 3
Related recommendations: phpcms tutorial
The above is the detailed content of Where to modify the number of items displayed in phpcms pagination. For more information, please follow other related articles on the PHP Chinese website!