File: /home/platne/serwer143450/public_html/leasing.hillconnect.pl/wp-content/themes/anada/header-d2.php
<?php
global $anada_options;
/**
* Header file for the Twenty Twenty WordPress default theme.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Anada
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<!-- ========== Meta Tags ========== -->
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- ========== Favicon Icon ========== -->
<?php if ( ! ( function_exists( 'has_site_icon' ) && has_site_icon() ) ) { ?>
<!-- ========== Favicon Icon ========== -->
<link rel="shortcut icon" href="<?php echo esc_url($anada_options['favicon']['url']); ?>" type="image/x-icon">
<?php } wp_head(); ?>
</head>
<body <?php body_class('dark-layout'); ?>>
<?php wp_body_open(); ?>
<!-- Header
============================================= -->
<header id="home">
<!-- Start Navigation -->
<nav class="navbar navbar-default transparent navbar-fixed navbar-transparent white bootsnav">
<div class="container">
<?php if( class_exists( 'ReduxFrameworkPlugin' ) ) { ?>
<!-- Start Atribute Navigation -->
<div class="attr-nav">
<ul>
<li class="contact">
<i class="<?php echo esc_html($anada_options['h_icon1']); ?>"></i> <?php echo esc_html($anada_options['h_title1']); ?>
</li>
</ul>
</div>
<!-- End Atribute Navigation -->
<?php } ?>
<!-- Start Header Navigation -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-menu">
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="<?php echo esc_url(home_url('/')); ?>">
<?php if( class_exists( 'ReduxFrameworkPlugin' ) ) { ?>
<img src="<?php echo esc_url($anada_options['logo']['url']); ?>" class="logo logo-display" alt="<?php echo esc_attr__( 'Logo', 'anada' )?>">
<img src="<?php echo esc_url($anada_options['logo']['url']); ?>" class="logo logo-scrolled" alt="<?php echo esc_attr__( 'Logo', 'anada' )?>">
<?php } else {?>
<img src="<?php echo esc_url(get_template_directory_uri() . '/img/logo-light.png'); ?>" class="logo logo-display" alt="<?php echo esc_attr__( 'Logo', 'anada' )?>">
<img src="<?php echo esc_url(get_template_directory_uri() . '/img/logo.png'); ?>" class="logo logo-scrolled" alt="<?php echo esc_attr__( 'Logo', 'anada' )?>">
<?php } ?>
</a>
</div>
<!-- End Header Navigation -->
<!-- Collect the nav links, forms, and other content for toggling -->
<?php
wp_nav_menu( array(
'theme_location' => 'main-menu',
'depth' => 8, // 1 = no dropdowns, 2 = with dropdowns.
'container' => 'div',
'container_class' => 'collapse navbar-collapse',
'container_id' => 'navbar-menu',
'menu_class' => 'nav navbar-nav navbar-right',
'fallback_cb' => 'WP_Bootstrap_Navwalker::fallback',
'items_wrap' => '<ul data-in="#" data-out="#" class="%2$s" id="%1$s">%3$s</ul>',
'walker' => new WP_Bootstrap_Navwalker(),
) );
?>
</div>
</nav>
<!-- End Navigation -->
</header>
<!-- End Header -->