-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
executable file
·111 lines (88 loc) · 2.7 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?php
/**
* Header Template
*
* This template calls a series of functions that output the head tag of the document
* as well as the header and opening div #main.
*
* @package Deciduous
* @subpackage Templates
*/
?>
<!DOCTYPE html>
<?php
/**
* Outputs the html tag with filterable class attribute using the filter: deciduous_f_html_class
*
* Found in /library/header-extensions.php
*/
deciduous_html();
?>
<head>
<meta charset="<?php echo ( get_bloginfo( 'charset' ) ) ?>" />
<meta name="viewport" content="<?php echo apply_filters( 'deciduous_f_meta_viewport_content', 'width=device-width,initial-scale=1' ) ?>"/>
<?php
/**
* Output the meta tags for decription and robots
*
* They are aware of most popular SEO plugins and will switch off
* if a SEO plugin is detected. Also can be switched off
* by returning FALSE to the filter: deciduous_f_seo_switch
*
* Found in /library/header-extensions.php
*/
deciduous_meta_description();
deciduous_meta_robots();
?>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<?php
/**
* Output the pingback adress
*
* Switch off by returning FALSE to the filter: deciduous_f_show_pingback_url
*
* Found in /library/header-extensions.php
*/
deciduous_pingback_url();
/**
* The Action Hook wp_head() loads Deciduous' stylesheets and scripts:
* style.css, sf-menu.js, menu-toggle.js, html5shiv.min.js, superfish.min.js
*
* All of which are enqueued in /library/extensions/header-extensions.php
*
*/
wp_head();
?>
</head>
<body <?php body_class() ?>>
<?php
// Load the action hook: deciduous_a_before_wrapper
deciduous_do_before_wrapper();
?>
<div id="wrapper" class="hfeed site-wrapper">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'deciduous' ); ?></a>
<?php
// Load the action hook: deciduous_a_before_header
deciduous_do_before_header();
?>
<header id="header" class="site-header" role="banner">
<?php
// Load the action hook: deciduous_a_before_branding
deciduous_do_before_branding();
// Load the template for the site branding
locate_template( array( 'template-parts/branding/branding.php' ), true );
// Load the action hook: deciduous_a_after_branding
deciduous_do_after_branding();
?>
<?php
// Load the template for the main navigation
locate_template( array( 'template-parts/navigation/nav-access.php' ), true );
// Load the action hook: deciduous_a_after_main_nav
deciduous_do_after_main_nav();
?>
</header><!-- .site-header-->
<?php
// Load the action hook: deciduous_a_after_header
deciduous_do_after_header();
?>
<div id="main" class="site-main">