53 lines
2.1 KiB
PHP
53 lines
2.1 KiB
PHP
<?php
|
|
/**
|
|
* The template part for selected header
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Exit if accessed directly
|
|
}
|
|
|
|
$social_icons = function_exists( 'fw_get_db_customizer_option' ) ? fw_get_db_customizer_option( 'social_icons' ) : '';
|
|
$toplogo_teasers = function_exists( 'fw_get_db_customizer_option' ) ? fw_get_db_customizer_option( 'toplogo_teasers' ) : '';
|
|
?>
|
|
|
|
<header class="page_header header_white toggler_xs_right columns_margin_0">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12 display_table">
|
|
<div class="header_left_logo display_table_cell">
|
|
<?php get_template_part( 'template-parts/header/header-logo-light' ); ?>
|
|
</div>
|
|
|
|
<div class="header_mainmenu display_table_cell text-center">
|
|
<div class="mainmenu_wrapper primary-navigation">
|
|
<?php wp_nav_menu( array(
|
|
'theme_location' => 'primary',
|
|
'menu_class' => 'sf-menu nav-menu nav',
|
|
'container' => 'ul'
|
|
) ); ?>
|
|
</div>
|
|
<!-- header toggler -->
|
|
<span class="toggle_menu"><span></span></span>
|
|
</div>
|
|
|
|
<div class="header_right_buttons display_table_cell text-right hidden-xs">
|
|
<?php if ( ! empty( $social_icons ) ) : ?>
|
|
<div class="page_social_icons darklinks">
|
|
<?php
|
|
//get icons-social shortcode to render icons in team member item
|
|
$shortcodes_extension = fw()->extensions->get( 'shortcodes' );
|
|
if ( ! empty( $shortcodes_extension ) ) {
|
|
echo fw_ext( 'shortcodes' )->get_shortcode( 'icons_social' )->render( array( 'social_icons' => $social_icons ) );
|
|
}
|
|
?>
|
|
</div><!-- eof social icons -->
|
|
<?php endif; //social icons ?>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</header>
|