correct tag.php

This commit is contained in:
2025-06-20 09:32:24 +03:00
parent 7f1f54f885
commit cbe6f0b3c4
3 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,10 @@
<?php
add_filter('category_template', function($template) {
if ( !is_category() ){
return $template;
}
$current_category = get_queried_object();