diff --git a/inc/bootstrap-wp-pagination.php b/inc/bootstrap-wp-pagination.php new file mode 100644 index 0000000..8e14836 --- /dev/null +++ b/inc/bootstrap-wp-pagination.php @@ -0,0 +1,95 @@ + 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'), + 'next_text' => __('Older '), + 'type' => 'list' + ) ); + $paginate_links = str_replace( "