Вы работаете над шаблоном? Попробуйте этот код и дайте мне знать, если он работает
<?php
$paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
$args = array(
'posts_per_page' => 5,
'author' =>the_author_meta('id'),
'paged' => $paged,
);
$special_query = new WP_Query( $args );
if($special_query->have_posts()){
while($special_query->have_posts()){
$special_query-> the_post();
echo get_the_title() . "<br>";
}
}
$big = 999999999; // need an unlikely integer
echo paginate_links( array(
'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
'format' => '?paged=%#%',
'current' => max( 1, get_query_var('paged') ),
'total' => $special_query->max_num_pages
) );