Question : the posts pagination
Answered by : md-jahangir-alam-sohel
<?php the_posts_pagination( array(
'mid_size' => 2,
'prev_text' => __( 'Back', 'textdomain' ),
'next_text' => __( 'Onward', 'textdomain' ),
) ); ?>
Source : https://developer.wordpress.org/reference/functions/the_posts_pagination/ | Last Update : Tue, 07 Sep 21