-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.php
More file actions
95 lines (72 loc) · 2.57 KB
/
header.php
File metadata and controls
95 lines (72 loc) · 2.57 KB
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
<?php
/**
* Header Template
*
* The header template is generally used on every page of your site. Nearly all other templates call it
* somewhere near the top of the file. It is used mostly as an opening wrapper, which is closed with the
* footer.php file. It also executes key functions needed by the theme, child themes, and plugins.
*
* @package Shell
* @subpackage Template
* @since 0.1.0
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="<?php shell_html_class(); // shell_html_class ?>">
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
<title><?php shell_document_title(); ?></title>
<!-- Mobile viewport optimized -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); // "wp_head" ?>
</head>
<body <?php shell_body_attributes(); ?>>
<?php do_atomic( 'open_body' ); // "shell_open_body" ?>
<div id="container">
<?php do_atomic( 'before_header' ); // "shell_before_header" ?>
<div id="header">
<?php do_atomic( 'open_header' ); // "shell_open_header" ?>
<div class="wrap">
<?php do_atomic( 'before_branding' ); // "shell_before_branding" ?>
<div id="branding">
<?php do_atomic( 'open_branding' ); // "shell_open_branding" ?>
<?php shell_site_title(); // "shell_site_title" ?>
<?php shell_site_description(); // "shell_site_description" ?>
<?php do_atomic( 'close_branding' ); // "shell_close_branding" ?>
</div><!-- #branding -->
<?php do_atomic( 'after_branding' ); // "shell_after_branding" ?>
<?php
/**
* "shell_header" (atomic action hook)
* sidebar-header.php is loaded in this hook
*
* @see shell_get_sidebar_header()
* @since 0.1.0
*/
do_atomic( 'header' ); // ?>
</div><!-- .wrap -->
<?php do_atomic( 'close_header' ); // "shell_close_header" ?>
</div><!-- #header -->
<?php
/**
* "shell_after_header"
* menu-secondary.php is loaded in this hook.
*
* @see shell_get_menu_secondary()
* @since 0.1.0
*/
do_atomic( 'after_header' ); ?>
<?php do_atomic( 'before_main' ); //"shell_before_main" ?>
<div id="main">
<div class="wrap">
<?php
/**
* "shell_open_main"
* Breadcrumb trail is added in this hook
*
* @see shell_breadcrumb()
* @since 0.1.0
*/
do_atomic( 'open_main' ); ?>