i try with WP-PageNavi plugin and instal the plugin and palace <?php wp_pagenavi( array( 'type' => 'multipart' ) ); ?>
<?php wp_pagenavi( array( 'type' => 'multipart' ) ); ?>
code in auther.php page under the loop but it shows the pagination but not wokring is there any settings i have to change in the options page in back end..??
I use this plug in wordpress hope it help you.
Try this code after the loop:
<?php //Set Blog Reading Settings to XX for optimum view!!
global $wp_query;
$big = 999999999; // need an unlikely integer
echo paginate_links( array( 'base' => str_replace( $big, '%#%', get_pagenum_link( $big ) ),
'format' => '?paged=%#%',
'current' => max( 1, get_query_var( 'paged' ) ),
'total' => $wp_query->max_num_pages,
'end_size'=> 1,
'mid_size'=> 10 ) );
?>
Hope it helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.