2018-11-04 12:19:44 +02:00
|
|
|
<?php
|
2018-12-19 14:46:42 +02:00
|
|
|
/**
|
2019-07-11 19:10:44 +03:00
|
|
|
* The template for displaying the header
|
2018-12-19 14:46:42 +02:00
|
|
|
*
|
2019-07-11 19:10:44 +03:00
|
|
|
* This is the template that displays all of the <head> section, opens the <body> tag and adds the site's header.
|
|
|
|
*
|
|
|
|
* @package HelloElementor
|
2018-12-19 14:46:42 +02:00
|
|
|
*/
|
|
|
|
|
2018-11-04 12:19:44 +02:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
2019-07-11 18:37:10 +03:00
|
|
|
exit; // Exit if accessed directly.
|
2018-11-04 12:19:44 +02:00
|
|
|
}
|
|
|
|
?>
|
2018-03-19 13:51:18 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html <?php language_attributes(); ?>>
|
|
|
|
<head>
|
|
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
2019-07-11 18:03:39 +03:00
|
|
|
<?php $viewport_content = apply_filters( 'hello_elementor_viewport_content', 'width=device-width, initial-scale=1' ); ?>
|
|
|
|
<meta name="viewport" content="<?php echo esc_attr( $viewport_content ); ?>">
|
2021-12-19 15:46:32 +02:00
|
|
|
<link rel="profile" href="https://gmpg.org/xfn/11">
|
2018-03-19 13:51:18 +02:00
|
|
|
<?php wp_head(); ?>
|
|
|
|
</head>
|
|
|
|
<body <?php body_class(); ?>>
|
|
|
|
|
2018-03-19 14:19:29 +02:00
|
|
|
<?php
|
2019-08-04 11:34:08 +03:00
|
|
|
hello_elementor_body_open();
|
|
|
|
|
2018-03-19 14:19:29 +02:00
|
|
|
if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'header' ) ) {
|
2021-05-17 14:36:12 +02:00
|
|
|
if ( did_action( 'elementor/loaded' ) && hello_header_footer_experiment_active() ) {
|
2021-03-17 16:10:53 +02:00
|
|
|
get_template_part( 'template-parts/dynamic-header' );
|
|
|
|
} else {
|
|
|
|
get_template_part( 'template-parts/header' );
|
|
|
|
}
|
2018-03-27 12:22:05 +01:00
|
|
|
}
|