-
Notifications
You must be signed in to change notification settings - Fork 135
/
header.php
32 lines (27 loc) · 1.22 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
<!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">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<?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' ) ) { ?>
<?php get_template_part( 'partials/header' , 'centered' ); ?>
<?php } else { ?>
<?php get_template_part( 'partials/header' , 'standard' ); ?>
<?php } // if centered header ?>
</div>
<?php do_action( 'layers_after_header_inner' ); ?>
</header>
<?php do_action( 'layers_after_header' ); ?>
<section id="wrapper-content" class="wrapper-content">