File: /www/wwwroot/pulitocucito.it/wp-content/themes/laundry/header.php
<?php
/**
* The header for our theme.
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Laundry
*/
$laundry_opt = laundry_get_options();
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php
if ( function_exists( 'has_site_icon' ) && has_site_icon() ) { // since 4.3.0
wp_site_icon();
} else {
if ( isset( $laundry_opt['laundry-site-favicon']['url'] ) && $laundry_opt['laundry-site-favicon']['url'] ) {
?>
<link rel="icon" href="<?php echo esc_url( $laundry_opt['laundry-site-favicon']['url'] ); ?>" sizes="16x16" />
<?php
}
}
?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php
if ( isset( $laundry_opt['laundry-site-preloader'] ) ) {
if ( $laundry_opt['laundry-site-preloader'] ) {
?>
<div class="loader">
<div class="loader-wrapper">
<div class="bubble1"></div>
<div class="bubble2"></div>
</div>
</div>
<?php
}
}
?>
<?php
$theme = isset( $laundry_opt['laundry_demo_select'] ) ? $laundry_opt['laundry_demo_select'] : 1;
if ( $theme == '2' ) {
$header_style = '2';
} else {
$header_style = '1';
}
if ( $laundry_opt['elementor_on_off_header'] != 0 ) :
get_template_part( 'template-parts/header/header-elementor' );
else :
get_template_part( 'template-parts/header/header', $header_style );
endif;
do_action( 'laundry_breadcrumb' );
?>
<main id="tt-pageContent">