add folder EN

This commit is contained in:
argoexpert press
2024-05-24 21:37:57 +03:00
parent 4fa7a19433
commit 009f8e40c2
22 changed files with 732 additions and 80 deletions

View File

@@ -1,7 +1,7 @@
<?php if (!is_404() && !is_500()) : ?>
<? if (!is_page('search') && !is_search()) : ?>
<div class="content-right">
<?php get_sidebar('right'); ?>
<?php get_sidebar('right-en'); ?>
</div>
<? endif; ?>
</div>
@@ -17,11 +17,11 @@
<img src="https://agroexpert.press/wp-content/uploads/2024/05/agroexpert_horizontally.svg" alt="agroexpert.press" width="145" />
</a>
<nav class="nav footer__nav">
<?php get_template_part('partials/mainmenu-en'); ?>
<?php get_template_part('en/mainmenu-en'); ?>
</nav>
<div class="footer-top__right">
<a href="#" class="to-top">
<span>Наверх</span>
<span>Up</span>
<svg width="9" height="6" viewBox="0 0 9 6" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="3.69409" y="1.05029" width="1" height="5.22423" transform="rotate(45 3.69409 1.05029)" fill="black" />
<rect width="1" height="6" transform="matrix(-0.707107 0.707107 0.707107 0.707107 4.1333 0.525146)" fill="black" />
@@ -34,14 +34,20 @@
<div class="footer-bottom">
<div class="container">
<div class="footer-bottom__inner">
<?php $copyright = get_field('copyright', 'option'); ?>
<div class="footer-bottom__text desktop">
<?= sprintf('© %d %s', date('Y'), $copyright); ?>
<?= sprintf('© %d %s', date('Y'), 'Agroexpert'); ?>
<!--Rating::top.agroserver.ru counter-->
</div>
<?php get_template_part('partials/menu-footer-bottom'); ?>
<?php
$menu_items = wp_get_nav_menu_items(774);
foreach ($menu_items as $item) {
echo '<a href="'.esc_url($item->url).'" class="footer-bottom__text footer-bottom__link" traget="_blank">'.esc_html($item->title).'</a>';
}
?>
<div class="socials footer__socials">
<?php get_template_part('partials/menu-socials'); ?>
<a href="https://agroserver.ru/" target="_blank">