File "header-4.php"
Full Path: /home/siazco/grocery.siazco.se/wp-content/themes/kapee/template-parts/header/elements/header-4.php
File size: 3.65 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Template part for displaying header style 4
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @author PressLayouts
* @package kapee/template-parts/header
* @since 1.0
* @version 1.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<div class="header-main">
<div class="container">
<div class="row">
<div class="header-col header-col-left col-lg-5 col-xl-5 d-none d-lg-flex d-xl-flex">
<?php kapee_get_template( 'template-parts/header/elements/primary-menu' );?>
</div>
<div class="header-col header-col-center col-lg-2 col-xl-2 d-none d-lg-flex d-xl-flex justify-content-center">
<?php kapee_get_template( 'template-parts/header/elements/logo', array( 'header_logo' => 'header' ) );?>
</div>
<div class="header-col header-col-right col-lg-5 col-xl-5 d-none d-lg-flex d-xl-flex">
<?php kapee_get_template( 'template-parts/header/elements/myaccount' );?>
<?php kapee_get_template( 'template-parts/header/elements/min-search' );?>
<?php kapee_get_template( 'template-parts/header/elements/wishlist' );?>
<?php kapee_get_template( 'template-parts/header/elements/cart' );?>
</div>
<!-- Mobile-->
<div class="header-col header-col-left col-6 d-flex d-lg-none d-xl-none">
<?php kapee_get_template( 'template-parts/header/elements/mobile-navbar' );?>
<?php kapee_get_template( 'template-parts/header/elements/logo', array( 'header_logo' => 'mobile' ) );?>
</div>
<div class="header-col header-col-right col-6 d-flex d-lg-none d-xl-none">
<?php kapee_get_template( 'template-parts/header/elements/min-search' );?>
<?php kapee_get_template( 'template-parts/header/elements/cart' );?>
</div>
</div>
</div>
</div>
<div class="header-navigation d-flex d-lg-none d-xl-none">
<div class="container">
<div class="row">
<!-- Mobile-->
<div class="header-col header-col-center col-12">
<?php kapee_get_template( 'template-parts/header/elements/ajax-search' );?>
</div>
</div>
</div>
</div>
<?php if ( $sticky_header || $sticky_header_table || $sticky_header_mobile ) : ?>
<div class="header-sticky">
<div class="container">
<div class="row">
<?php if ( $sticky_header ) : ?>
<div class="header-col header-col-left col-lg-2 col-xl-2 d-none d-lg-flex d-xl-flex">
<?php kapee_get_template( 'template-parts/header/elements/logo', array( 'header_logo' => 'sticky' ) ); ?>
</div>
<div class="header-col header-col-center col-lg-7 col-xl-7 d-none d-lg-flex d-xl-flex">
<?php kapee_get_template( 'template-parts/header/elements/primary-menu' ); ?>
</div>
<div class="header-col header-col-right col-lg-3 col-xl-3 d-none d-lg-flex d-xl-flex">
<?php kapee_get_template( 'template-parts/header/elements/myaccount' );?>
<?php kapee_get_template( 'template-parts/header/elements/min-search' );?>
<?php kapee_get_template( 'template-parts/header/elements/wishlist' );?>
<?php kapee_get_template( 'template-parts/header/elements/cart' ); ?>
</div>
<?php endif; ?>
<?php if ( $sticky_header_table || $sticky_header_mobile ) : ?>
<!-- Mobile -->
<div class="header-col header-col-left col-6 d-flex d-lg-none d-xl-none">
<?php kapee_get_template( 'template-parts/header/elements/mobile-navbar' );?>
<?php kapee_get_template( 'template-parts/header/elements/logo' );?>
</div>
<div class="header-col header-col-right col-6 d-flex d-lg-none d-xl-none">
<?php kapee_get_template( 'template-parts/header/elements/min-search' );?>
<?php kapee_get_template( 'template-parts/header/elements/cart' );?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php endif; ?>