bib_wp/abchospitalitynepal.com/wp-content/themes/abchospitality/header.php

172 lines
6.4 KiB
PHP
Raw Normal View History

2024-03-12 05:32:45 +00:00
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package abchospitality
*/
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="https://gmpg.org/xfn/11">
<!-- Place favicon.png in the root directory -->
<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/img/logo/logo.png" type="image/x-icon" />
<!-- Font Icons css -->
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/font-icons.css">
<!-- plugins css -->
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/plugins.css">
<!-- Main Stylesheet -->
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/style.css">
<!-- Responsive css -->
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/responsive.css">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<!-- HEADER AREA START (header-5) -->
<header class="ltn__header-area ltn__header-5 ltn__header-transparent gradient-color-4---"
style="background:white">
<!-- ltn__header-top-area start -->
<div class="ltn__header-top-area">
<div class="container">
<div class="row">
<div class="col-md-7">
<div class="ltn__top-bar-menu">
<ul>
<li><a href="locations.html"><i class="icon-placeholder"></i>Kathmandu, Nepal</a>
</li>
<li><a href="mailto:info@webmail.com?Subject=Flower%20greetings%20to%20you"><i
class="icon-mail"></i> info@abchospitality.com</a></li>
</ul>
</div>
</div>
<div class="col-md-5">
<div class="top-bar-right text-end">
<div class="ltn__top-bar-menu">
<ul>
<li>
<!-- ltn__social-media -->
<div class="ltn__social-media">
<ul>
<li><a href="https://www.facebook.com/abchospitalitynepal"
title="Facebook"><i class="fab fa-facebook-f"></i></a></li>
<li><a href="https://www.instagram.com/" title="Instagram"><i
class="fab fa-instagram"></i></a></li>
</ul>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ltn__header-top-area end -->
<!-- ltn__header-middle-area start -->
<div class="ltn__header-middle-area ltn__header-sticky ltn__sticky-bg-white ltn__logo-right-menu-option plr--9--"
id="custom-header" style="background-color:white">
<div class="container">
<div class="row">
<div class="col-sm-3">
<div class="site-logo-wrap">
<div class="site-logo">
<?php if ( get_theme_mod( 'logo' ) ) : ?>
<a href='<?php echo esc_url( home_url( '/' ) ); ?>' title='<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>' rel='home'>
<img src='<?php echo esc_url( get_theme_mod( 'logo' ) ); ?>' class='img-fluid' alt='<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>' id="logo"></a>
<?php endif; ?>
</div>
</div>
</div>
<div class="col header-menu-column menu-color-white---">
<div class="header-menu d-none d-xl-block">
2024-03-14 08:08:55 +00:00
2024-03-12 05:32:45 +00:00
<nav>
2024-03-14 08:08:55 +00:00
<?php
2024-03-12 05:32:45 +00:00
2024-03-14 08:08:55 +00:00
$defaults = array(
'theme_location' => 'menu-1',
'menu' => 'menu-1',
'container' => 'div',
'container_class' => 'ltn__main-menu',
'container_id' => '',
'menu_class' => '',
'menu_id' => '',
'echo' => true,
'fallback_cb' => 'wp_page_menu',
2024-03-12 05:32:45 +00:00
2024-03-14 08:08:55 +00:00
'items_wrap' => '<ul class="" >%3$s</ul>',
'depth' => 0,
'walker' => new WP_Bootstrap_Navwalker()
2024-03-12 05:32:45 +00:00
2024-03-14 08:08:55 +00:00
);
2024-03-12 05:32:45 +00:00
2024-03-14 08:08:55 +00:00
wp_nav_menu( $defaults );
2024-03-12 05:32:45 +00:00
2024-03-14 08:08:55 +00:00
?>
2024-03-12 05:32:45 +00:00
2024-03-14 08:08:55 +00:00
2024-03-12 05:32:45 +00:00
</nav>
</div>
</div>
<div class="col-sm-auto col-lg-6 ltn__header-options ltn__header-options-2">
<!-- Mobile Menu Button -->
<div class="mobile-menu-toggle d-xl-none">
<a href="#ltn__utilize-mobile-menu" class="ltn__utilize-toggle">
<svg viewBox="0 0 800 600">
<path
d="M300,220 C300,220 520,220 540,220 C740,220 640,540 520,420 C440,340 300,200 300,200"
id="top"></path>
<path d="M300,320 L540,320" id="middle"></path>
<path
d="M300,210 C300,210 520,210 540,210 C740,210 640,530 520,410 C440,330 300,190 300,190"
id="bottom" transform="translate(480, 320) scale(1, -1) translate(-480, -318) ">
</path>
</svg>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- ltn__header-middle-area end -->
</header>