Initial Commit N° : 003 - V.4.3.5
This commit is contained in:
@@ -17,6 +17,9 @@ $beside_mm = $block_custom != '' && $block_custom != false ? $block_custom : $be
|
||||
$popup_block_custom = elessi_static_block_popup();
|
||||
$popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popup_block_custom : $popup_block;
|
||||
|
||||
|
||||
$menu_warp_class .= $beside_mm ? ' nasa-flex jbw align-stretch' : '';
|
||||
|
||||
?>
|
||||
|
||||
<div class="<?php echo esc_attr($header_classes); ?>">
|
||||
@@ -74,12 +77,11 @@ $popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popu
|
||||
<?php if ($beside_mm) : ?>
|
||||
<div class="nasa-beside-mm hide-for-small hide-for-medium <?php echo ($popup_block != '' && $popup_block != false) ? esc_attr('ns-toggle-popup-static-block') : '';?>">
|
||||
<?php echo $beside_mm; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($popup_block && $beside_mm) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
<?php if ($popup_block) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -18,6 +18,7 @@ $beside_mm = $block_custom != '' && $block_custom != false ? $block_custom : $be
|
||||
$popup_block_custom = elessi_static_block_popup();
|
||||
$popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popup_block_custom : $popup_block;
|
||||
|
||||
$menu_warp_class .= $beside_mm ? ' nasa-flex jbw align-stretch' : '';
|
||||
?>
|
||||
|
||||
<div class="<?php echo esc_attr($header_classes); ?>">
|
||||
@@ -74,12 +75,11 @@ $popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popu
|
||||
<?php if ($beside_mm) : ?>
|
||||
<div class="nasa-beside-mm hide-for-small hide-for-medium <?php echo ($popup_block != '' && $popup_block != false) ? esc_attr('ns-toggle-popup-static-block') : '';?>">
|
||||
<?php echo $beside_mm; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($popup_block && $beside_mm) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
<?php if ($popup_block) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -17,6 +17,7 @@ $beside_mm = $block_custom != '' && $block_custom != false ? $block_custom : $be
|
||||
$popup_block_custom = elessi_static_block_popup();
|
||||
$popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popup_block_custom : $popup_block;
|
||||
|
||||
$menu_warp_class .= $beside_mm ? ' nasa-flex jbw align-stretch' : '';
|
||||
?>
|
||||
|
||||
<div class="<?php echo esc_attr($header_classes); ?>">
|
||||
@@ -40,7 +41,7 @@ $popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popu
|
||||
</div>
|
||||
|
||||
<!-- Search form in header -->
|
||||
<div class="fgr-2 nasa-header-search-wrap nasa-search-relative margin-right-50 margin-left-50">
|
||||
<div class="fgr-2 nasa-header-search-wrap nasa-search-relative margin-right-80 margin-left-80">
|
||||
<?php echo elessi_search('full'); ?>
|
||||
</div>
|
||||
|
||||
@@ -74,12 +75,11 @@ $popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popu
|
||||
<?php if ($beside_mm) : ?>
|
||||
<div class="nasa-beside-mm hide-for-small hide-for-medium <?php echo ($popup_block != '' && $popup_block != false) ? esc_attr('ns-toggle-popup-static-block') : '';?>">
|
||||
<?php echo $beside_mm; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($popup_block && $beside_mm) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
<?php if ($popup_block) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
<?php defined('ABSPATH') or die(); // Exit if accessed directly
|
||||
?>
|
||||
|
||||
<div class="<?php echo esc_attr($header_classes); ?>">
|
||||
<?php
|
||||
/**
|
||||
* Hook - top bar header
|
||||
*/
|
||||
do_action('nasa_topbar_header');
|
||||
?>
|
||||
|
||||
<div class="sticky-wrapper">
|
||||
<div id="masthead" class="site-header">
|
||||
<?php do_action('nasa_mobile_header'); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="large-12 columns header-container">
|
||||
<div class="nasa-hide-for-mobile nasa-wrap-event-search">
|
||||
<div class="nasa-relative nasa-header-flex nasa-elements-wrap nasa-wrap-width-main-menu jbw">
|
||||
|
||||
<!-- Group icon header -->
|
||||
<div class="order-3 icons-wrapper">
|
||||
<?php echo $nasa_header_icons; ?>
|
||||
</div>
|
||||
|
||||
<!-- Logo -->
|
||||
<div class="order-2 logo-wrapper fjct">
|
||||
<?php echo elessi_logo(); ?>
|
||||
</div>
|
||||
|
||||
<!-- Main menu -->
|
||||
<div class="wide-nav order-1 nasa-bg-wrap<?php echo esc_attr($menu_warp_class); ?>">
|
||||
<div class="nasa-menus-wrapper nasa-menus-wrapper-reponsive nasa-loading" data-padding_x="<?php echo (int) $data_padding_x; ?>">
|
||||
<?php elessi_get_main_menu(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Search form in header -->
|
||||
<div class="nasa-header-search-wrap nasa-hide-for-mobile">
|
||||
<?php echo elessi_search('icon'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if (defined('NASA_TOP_FILTER_CATS') && NASA_TOP_FILTER_CATS) : ?>
|
||||
<div class="nasa-top-cat-filter-wrap">
|
||||
<?php echo elessi_get_all_categories(false, true); ?>
|
||||
<a href="javascript:void(0);" title="<?php esc_attr_e('Close', 'elessi-theme'); ?>" class="nasa-close-filter-cat nasa-stclose nasa-transition" rel="nofollow"></a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user