correct tag code
This commit is contained in:
@@ -222,6 +222,7 @@ function custom_wpseo_breadcrumb_output($output)
|
||||
function custom_pagination($query = null, $class = "pagination")
|
||||
{
|
||||
global $wp_query;
|
||||
|
||||
$query = $query ?: $wp_query;
|
||||
$current_page = max(1, get_query_var('paged'));
|
||||
$total_pages = $query->max_num_pages;
|
||||
|
||||
Reference in New Issue
Block a user