Update pagination mid and end sizes

Fits better on smaller screens.
This commit is contained in:
Tetrakern 2023-10-03 01:54:02 +02:00
parent c2ef9316d0
commit e8e2fce3a6

View File

@ -932,6 +932,8 @@ add_post_type_support( 'page', 'excerpt' );
*/
function fictioneer_paginate_links( $args = [] ) {
$args['end_size'] = 1;
$args['mid_size'] = 1;
$pagination = paginate_links( $args );
return str_replace(