diff --git a/functions.php b/functions.php index ba633b5..76ff30e 100644 --- a/functions.php +++ b/functions.php @@ -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; diff --git a/header.php b/header.php index 99a2221..1c9123e 100644 --- a/header.php +++ b/header.php @@ -47,8 +47,11 @@ height="0" width="0" style="display:none;visibility:hidden"> - + if ( !is_tag() ):?>
> + + +