Feat | multisite fucntions

pull/15/head
Your Name 3 months ago
parent 8bade0c868
commit e1fcc232b9
  1. 4
      wp-content/themes/cosmopet/global-functions/multisite-functions.php
  2. 3
      wp-content/themes/cosmopet/templates/header.twig

@ -16,4 +16,6 @@ add_filter('timber/context', function($context) {
];
return $context;
});
});

@ -139,6 +139,7 @@
{% if current_lang == 'ru' %}ПРОИЗВОДСТВО{% elseif current_lang == 'en' %}PRODUCTION{% endif %}
</a>
</div>
{% if CONSTANTS.DOMAIN != 'AE' %}
<div class="header-phone-menu__item">
<a href="{{blog_url}}"
@ -192,10 +193,12 @@
</a>
</li>
{% if CONSTANTS.DOMAIN != 'AE' %}
<li class="main-menu__item">
<a href="{{blog_url}}"
class="main-menu__link">{% if current_lang == 'ru' %}БЛОГ{% elseif current_lang == 'en' %}BLOG{% endif %}</a>
</li>
{% endif %}
<li class="main-menu__item">
<button class="main-menu__button" id="pc-menu">
{% if current_lang == 'ru' %}ПРОДУКЦИЯ{% elseif current_lang == 'en' %}PRODUCTS{% endif %}

Loading…
Cancel
Save