-
+
= get_queried_object()->name ?>
diff --git a/en/rubrics-mobile-en.php b/en/rubrics-mobile-en.php
new file mode 100644
index 0000000..bcbe3a7
--- /dev/null
+++ b/en/rubrics-mobile-en.php
@@ -0,0 +1,59 @@
+ EN_PARTS,
+ 'order' => 'ASC',
+ 'taxonomy' => 'category',
+ 'hide_empty' => false
+);
+$categories = get_categories($arg_cat);
+$current_term = get_queried_object();
+
+// Получаем ID текущей категории или категорий поста
+$current_term_ids = [];
+if (is_single()) {
+ $current_term_ids = wp_get_post_categories($current_term->ID);
+} elseif (is_category()) {
+ $current_term_ids[] = $current_term->term_id;
+}
+
+$firstElement = array_shift($categories);
+array_push($categories, $firstElement);
+?>
+
\ No newline at end of file
diff --git a/header-en.php b/header-en.php
index 652c701..100ba11 100644
--- a/header-en.php
+++ b/header-en.php
@@ -102,7 +102,7 @@ height="0" width="0" style="display:none;visibility:hidden">