max_num_pages > 1 ) : ?>
str_replace( 99999, '%#%', get_pagenum_link( 99999 ) ),
'format' => '?paged=%#%',
'current' => max( 1, get_query_var( 'paged' ) ),
'total' => $wp_query->max_num_pages,
'next_text' => '',
'prev_text' => '',
'type' => 'array',
'type_class' => 'pagination'
);
$page_links = paginate_links ($pagination);
if ( $page_links ) {
echo ''
.''
. '
';
}
?>