-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathheader.php
executable file
·45 lines (36 loc) · 1.38 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
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* The header for our theme.
*
* This is the template that displays all of the <head> section and everything up until <div id="main-content" class="main">
*
* @since 1.0
*
* @package WeFoster Framework
*/
?>
<!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<?php do_action( 'wf_open_head' ); ?>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<a href="#site-content" class="sr-only sr-only-focusable"><?php _e( 'Skip to main content', 'wefoster' ); ?></a>
<?php do_action( 'wf_open_body' ); ?>
<!--[if lt IE 8]>
<div class="alert alert-warning"><?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a>
to improve your experience.', 'wefoster'); ?>
</div><![endif]-->
<div class="layout-wrapper">
<?php
// Content inside the header (navigation and extra content based on header type)
get_template_part( 'templates/header/content' );
?>
<?php do_action( 'wf_before_container' ); ?>
<div class="content-wrapper <?php do_action( 'wf_class_content_wrapper' ); ?>">
<?php do_action( 'wf_before_content' ); ?>
<div id="site-content" class="content row row-offcanvas row-offcanvas-left <?php do_action( 'wf_class_content' ); ?>">