From e1fcc232b97a82fc5817168a227b1b717a32dd40 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 16 May 2025 14:35:29 +0300 Subject: [PATCH] Feat | multisite fucntions --- .../themes/cosmopet/global-functions/multisite-functions.php | 4 +++- wp-content/themes/cosmopet/templates/header.twig | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/cosmopet/global-functions/multisite-functions.php b/wp-content/themes/cosmopet/global-functions/multisite-functions.php index 1ea062b..f15043f 100644 --- a/wp-content/themes/cosmopet/global-functions/multisite-functions.php +++ b/wp-content/themes/cosmopet/global-functions/multisite-functions.php @@ -16,4 +16,6 @@ add_filter('timber/context', function($context) { ]; return $context; -}); \ No newline at end of file +}); + + diff --git a/wp-content/themes/cosmopet/templates/header.twig b/wp-content/themes/cosmopet/templates/header.twig index 8d7235b..d507469 100644 --- a/wp-content/themes/cosmopet/templates/header.twig +++ b/wp-content/themes/cosmopet/templates/header.twig @@ -139,6 +139,7 @@ {% if current_lang == 'ru' %}ПРОИЗВОДСТВО{% elseif current_lang == 'en' %}PRODUCTION{% endif %} + {% if CONSTANTS.DOMAIN != 'AE' %}
+ {% if CONSTANTS.DOMAIN != 'AE' %} + {% endif %}