forked from nhannd314/flatsome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
33 lines (24 loc) · 1.26 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<!--[if IE 9 ]> <html <?php language_attributes(); ?> class="ie9 <?php flatsome_html_classes(); ?>"> <![endif]-->
<!--[if IE 8 ]> <html <?php language_attributes(); ?> class="ie8 <?php flatsome_html_classes(); ?>"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html <?php language_attributes(); ?> class="<?php flatsome_html_classes(); ?>"> <!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
</head>
<body <?php body_class(); // Body classes is added from inc/helpers-frontend.php ?>>
<a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'flatsome' ); ?></a>
<div id="wrapper">
<?php do_action('flatsome_before_header'); ?>
<header id="header" class="header <?php flatsome_header_classes(); ?>">
<div class="header-wrapper">
<?php
get_template_part('template-parts/header/header', 'wrapper');
?>
</div><!-- header-wrapper-->
</header>
<?php do_action('flatsome_after_header'); ?>
<main id="main" class="<?php flatsome_main_classes(); ?>">