forked from davidperel/layerswp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
31 lines (26 loc) · 1.17 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php get_sidebar( 'off-canvas'); ?>
<?php do_action( 'layers_before_site_wrapper' ); ?>
<section <?php layer_site_wrapper_class(); ?>>
<?php do_action( 'layers_before_header' ); ?>
<?php get_template_part( 'partials/header' , 'secondary' ); ?>
<header <?php layers_header_class(); ?> >
<?php do_action( 'layers_before_header_inner' ); ?>
<div class="<?php if( 'layout-fullwidth' != layers_get_theme_mod( 'header-width' ) ) echo 'container'; ?> clearfix">
<?php if( 'header-logo-center' == layers_get_theme_mod( 'header-menu-layout' ) ) {
get_template_part( 'partials/header' , 'centered' );
} else {
get_template_part( 'partials/header' , 'standard' );
} // if centered header ?>
</div>
<?php do_action( 'layers_after_header_inner' ); ?>
</header>
<?php do_action( 'layers_after_header' ); ?>
<section id="wrapper-content" <?php layers_wrapper_class( 'wrapper_content', 'wrapper-content' ); ?>>