first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
<?php
/**
* The template part for selected header
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<header class="page_header_side ls">
<span class="toggle_menu_side header-slide"><span></span></span>
<div class="scrollbar-macosx">
<div class="side_header_inner">
<div class="text-center">
<?php get_template_part( 'template-parts/header/header-logo-light' ); ?>
</div>
<div class="header-side-menu darklinks">
<nav class="mainmenu_side_wrapper">
<?php wp_nav_menu( array(
'theme_location' => 'primary',
'menu_class' => 'nav menu-side-click',
'container' => 'ul'
) ); ?>
</nav>
</div>
<?php
$header_phone = function_exists( 'fw_get_db_customizer_option' ) ? fw_get_db_customizer_option( 'header_phone' ) : '';
$header_email = function_exists( 'fw_get_db_customizer_option' ) ? fw_get_db_customizer_option( 'header_email' ) : '';
if ( $header_phone || $header_email ): ?>
<div class="logo-meta text-center">
<?php if ( $header_phone ) : ?>
<strong class="grey"><?php echo esc_html( $header_phone ); ?></strong>
<?php endif; //header_phone
?>
<?php if ( $header_email ) :
if ( $header_phone && $header_email ):
?>
<?php
endif; //header_phone && header_email
echo esc_html( $header_email );
endif; //header_phone
?>
</div><!-- eof logo-meta -->
<?php endif; //header_phone || header_email ?>
<?php
$social_icons = function_exists( 'fw_get_db_customizer_option' ) ? fw_get_db_customizer_option( 'social_icons' ) : '';
if ( ! empty( $social_icons ) ) : ?>
<?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 ) );
}
?>
<?php endif; //social icons ?>
</div><!-- eof .side_header_inner -->
</div><!-- eof .scrollbar-macosx-->
</header><!-- eof .page_header_side-->