67 lines
2.0 KiB
PHP
67 lines
2.0 KiB
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">
|
||
|
*
|
||
|
* @package THINKAI
|
||
|
* @since 1.0
|
||
|
* @version 1.0
|
||
|
*/
|
||
|
$options = thinkai_WSH()->option();
|
||
|
$allowed_html = wp_kses_allowed_html( 'post' );
|
||
|
$icon_href = $options->get( 'image_favicon' );
|
||
|
?>
|
||
|
<!DOCTYPE html>
|
||
|
<html <?php language_attributes(); ?> class="no-js no-svg">
|
||
|
<head>
|
||
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||
|
|
||
|
<?php if ( ! function_exists( 'has_site_icon' ) || ! has_site_icon() ): ?>
|
||
|
<?php if( $icon_href ):?>
|
||
|
<link rel="shortcut icon" href="<?php echo esc_url($icon_href['url']); ?>" type="image/x-icon">
|
||
|
<link rel="icon" href="<?php echo esc_url($icon_href['url']); ?>" type="image/x-icon">
|
||
|
<?php endif; endif; ?>
|
||
|
<!-- responsive meta -->
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<!-- For IE -->
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<?php wp_head(); ?>
|
||
|
|
||
|
<style id="clock-animations"></style>
|
||
|
</head>
|
||
|
|
||
|
|
||
|
<body <?php body_class(); ?>>
|
||
|
|
||
|
<?php
|
||
|
if (! function_exists('wp_body_open')) {
|
||
|
function wp_body_open()
|
||
|
{
|
||
|
do_action('wp_body_open');
|
||
|
}
|
||
|
}?>
|
||
|
|
||
|
<div class="boxed_wrapper">
|
||
|
<?php if( $options->get( 'theme_preloader' ) ):
|
||
|
?>
|
||
|
<!-- ===================================================
|
||
|
Loading Transition
|
||
|
==================================================== -->
|
||
|
<!-- preloader -->
|
||
|
<div class="loader-wrap">
|
||
|
<div class="preloader">
|
||
|
<div class="preloader-close">x</div>
|
||
|
<div id="handle-preloader" class="handle-preloader">
|
||
|
<div class="animation-preloader">
|
||
|
<div class="spinner"></div>
|
||
|
<div class="txt-loading">
|
||
|
<?php echo wp_kses($options->get('preloader_text'), true); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- preloader end -->
|
||
|
<?php endif; ?>
|
||
|
|