| Server IP : 34.67.85.211 / Your IP : 216.73.217.52 Web Server : Apache System : Linux wordpress-1-vm 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 User : root ( 0) PHP Version : 7.4.9 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/html/wp-content/themes/airi/template-parts/menus/ |
Upload File : |
<?php
/**
* Template part for Menu style 5
*
* @package Airi
*/
?>
<header id="masthead" class="site-header">
<div class="<?php echo esc_attr( airi_menu_container() ); ?>">
<div class="row">
<div class="site-branding col-md-4 col-sm-6 col-lg-2 col-9">
<?php airi_site_branding(); ?>
</div><!-- .site-branding -->
<div class="header-mobile-menu col-lg-10 col-md-8 col-sm-6 col-3">
<button class="mobile-menu-toggle" aria-controls="primary-menu">
<span class="mobile-menu-toggle_lines"></span>
<span class="sr-only"><?php esc_html_e( 'Toggle mobile menu', 'airi' ); ?></span>
</button>
</div>
<nav id="site-navigation" class="main-navigation col-md-6">
<?php
wp_nav_menu( array(
'theme_location' => 'menu-1',
'menu_id' => 'primary-menu',
) );
?>
</nav><!-- #site-navigation -->
<div class="col-sm-12 col-xl-2 col-lg-6 col-12 contact-us text-center text-lg-left text-xl-right">
<?php
$airi_custom_text = get_theme_mod( 'menu5_custom_text' );
if ( $airi_custom_text )
{
echo wp_kses_post( $airi_custom_text );
}
?>
</div>
<div class="col-sm-12 last-block col-xl-2 col-lg-6 col-12">
<div class="socials d-flex justify-content-end">
<?php
$airi_socials = array( 'facebook', 'twitter', 'google', 'linkedin', 'skype' );
foreach ( $airi_socials as $airi_social )
{
$airi_field_name = sprintf( 'menu5_%s', $airi_social );
$airi_value = get_theme_mod( $airi_field_name );
if ( $airi_value )
{
?>
<a href="<?php echo esc_url( $airi_value ); ?>"><i class="fa fa-<?php echo $airi_social == 'google'? 'google-plus': $airi_social; ?>" aria-hidden="true"></i></a>
<?php
}
?>
<?php
}
?>
</div>
</div>
</div>
</div>
<div class="header-search-form">
<?php get_search_form(); ?>
</div>
</header><!-- #masthead -->