39 lines
1.6 KiB
PHP
39 lines
1.6 KiB
PHP
|
<?php
|
|||
|
|
|||
|
if (!defined('ABSPATH')) {
|
|||
|
exit; // Exit if accessed directly.
|
|||
|
}
|
|||
|
$site_name = get_bloginfo('name');
|
|||
|
$tagline = get_bloginfo('description', 'display');
|
|||
|
?>
|
|||
|
<header class="site-header" role="banner">
|
|||
|
|
|||
|
<?php if (has_nav_menu('main_menu')) : ?>
|
|||
|
<nav class="site-navigation" role="navigation">
|
|||
|
<div class="w-100 header-content dense">
|
|||
|
<div class="w-100 header-content-inner">
|
|||
|
<a href="/" class="headbar-sideitems" style="flex:1 0 auto;" title="На главную">
|
|||
|
<img src="/wp-content/themes/simple-theme/img/logo.svg" alt="logo" class="logo main_logo">
|
|||
|
</a>
|
|||
|
<?php
|
|||
|
|
|||
|
wp_nav_menu(array(
|
|||
|
'theme_location' => 'main_menu',
|
|||
|
'container_class' => 'headbar-centeritems main-menu__container',
|
|||
|
'menu_class' => 'headbar-centeritems',
|
|||
|
'item_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>'
|
|||
|
));
|
|||
|
|
|||
|
?>
|
|||
|
<div class="headbar-sideitems headbar-sideitems_mobile" style="flex: 1 1 auto; justify-content: flex-end;"><span class="sm-headbar-control"><span class="sm-bar sm-bar1"></span><span class="sm-bar sm-bar2"></span><span class="sm-bar sm-bar3"></span></span></div>
|
|||
|
<div class="headbar-sideitems header-login__menu" style="flex: 1 0 auto; justify-content: flex-end;">
|
|||
|
<a href="https://agents.pampadu.ru/" class="btn header-btn-inverted">Войти</a>
|
|||
|
<a href="https://agents.pampadu.ru/#/register" class="btn text-center ml-2" style="transform-origin: center top 0px;">Зарегистрироваться</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
|
|||
|
<?php endif; ?>
|
|||
|
</header>
|