correct tag.php
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<?php
|
||||
|
||||
add_filter('category_template', function($template) {
|
||||
|
||||
if ( !is_category() ){
|
||||
return $template;
|
||||
}
|
||||
|
||||
$current_category = get_queried_object();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user