<?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 arsha
*/
?>
<!doctype html>
<html <?php language_attributes();?>>
<head>
<meta charset="<?php bloginfo( 'charset' );?>">
<?php if ( is_singular() && pings_open( get_queried_object() ) ): ?>
<?php endif;?>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="https://gmpg.org/xfn/11">
<?php wp_head();?>
</head>
<body <?php body_class();?>>
<?php wp_body_open();?>
<?php
$arsha_preloader = get_theme_mod( 'header_preloader_switch', false );
$arsha_backtotop = get_theme_mod( 'header_backtotop_switch', false );
$arsha_preloader_logo = get_template_directory_uri() . '/assets/img/logo/preloder.png';
$arsha_preloader_logo_url = get_theme_mod('preloader_logo', $arsha_preloader_logo);
?>
<?php if ( !empty( $arsha_backtotop ) ): ?>
<!-- scroll to top -->
<button id="back-to-top"><i class="far fa-arrow-up"></i></button>
<?php endif;?>
<?php if ( !empty( $arsha_preloader ) ): ?>
<!-- preloader -->
<div id="loading">
<div id="loading-center">
<div id="loading-center-absolute">
<div class="object" id="object_four"></div>
<div class="object" id="object_three"></div>
<div class="object" id="object_two"></div>
<div class="object" id="object_one"></div>
</div>
</div>
</div>
<?php endif;?>
<!-- header start -->
<?php do_action( 'arsha_header_style' );?>
<!-- header end -->
<!-- wrapper-box start -->
<?php do_action( 'arsha_before_main_content' );?>
<?php do_action('test_action');