first commit
This commit is contained in:
36
wp-content/themes/thinkai/header.php
Normal file
36
wp-content/themes/thinkai/header.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?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' );
|
||||
$preloader_logo = $options->get( 'preloader_logo' );
|
||||
$preloader_logo = thinkai_set( $preloader_logo, 'url', THINKAI_URI . '/assets/images/logo-white.png' );
|
||||
?>
|
||||
<!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; ?>
|
||||
<?php 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(); ?>
|
||||
</head>
|
||||
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
|
||||
<?php do_action( 'thinkai_main_header' ); ?>
|
||||
Reference in New Issue
Block a user