diff --git a/src/functions.php b/src/functions.php index bbafc14..01219fd 100644 --- a/src/functions.php +++ b/src/functions.php @@ -1,56 +1,5 @@ str_replace( $big, '%#%', get_pagenum_link($big) ), + 'current' => max( 1, get_query_var('paged') ), + 'total' => $wp_query->max_num_pages, + 'mid_size' => 5, + 'prev_next' => True, + 'prev_text' => __('< Newer', 'tainacan'), + 'next_text' => __('Older >', 'tainacan'), + 'type' => 'list' + ) ); + $paginate_links = str_replace( "