forked from ThematicTheme/Thematic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
73 lines (53 loc) · 2.09 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
<?php
/**
* Header Template
*
* This template calls a series of functions that output the head tag of the document.
* The body and div #main elements are opened at the end of this file.
*
* @package Thematic
* @subpackage Templates
*/
// Creates the doctype
thematic_doctype();
// Opens the html tag with attributes
thematic_html();
// Opens the head
thematic_head();
// Create the meta charset
thematic_meta_charset();
// Create the meta viewport if theme supports it
thematic_meta_viewport();
// Create the title tag
thematic_doctitle();
// Create the meta description
thematic_meta_description();
// Create the tag <meta name="robots"
thematic_meta_robots();
// Create pingback adress
thematic_show_pingback();
/* Loads Thematic's stylesheet and scripts
* Calling wp_head() is required to provide plugins and child themes
* the ability to insert markup within the <head> tag.
*/
wp_head();
// Filter provided for altering output of the head closing element
echo ( apply_filters( 'thematic_close_head', '</head>' . "\n" ) );
// Create the body element and dynamic body classes
thematic_body();
// Action hook to place content before opening #wrapper
thematic_before();
// Filter provided for removing output of wrapping element follows the body tag
echo ( apply_filters( 'thematic_open_wrapper', '<div id="wrapper" class="hfeed site-wrapper">' ) );
// Action hook for placing content above the theme header
thematic_aboveheader();
// Filter provided for altering output of the header opening element
echo ( apply_filters( 'thematic_open_header', '<header id="header" class="site-header" role="banner">' ) );
// Action hook creating the theme header
thematic_header();
// Filter provided for altering output of the header closing element
echo ( apply_filters( 'thematic_close_header', '</header><!-- .site-header-->' ) );
// Action hook for placing content below the theme header
thematic_belowheader();
// Filter provided for altering output of the #main div opening element
echo ( apply_filters( 'thematic_open_main', '<div id="main" class="site-main">' ) );