-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
113 lines (95 loc) · 1.79 KB
/
header.php
File metadata and controls
113 lines (95 loc) · 1.79 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
/**
* The header for xpro theme
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package Xpro
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?> <?php xpro_body_attributes(); ?>>
<?php
/**
* xpro_body_top hook.
*
* @since 1.0.0
*/
do_action( 'xpro_body_top' );
/**
* wp_body_open hook.
*
* @since 1.0.0
*/
// phpcs:ignore WPThemeReview.CoreFunctionality.PrefixAllGlobals.NonPrefixedHooknameFound
do_action( 'wp_body_open' );
?>
<div id="primary" class="xpro-primary-wrapper">
<?php
/**
* xpro_before_header hook.
*
* @since 1.0.0
*
* @hooked xpro_do_skip_to_content_link
*/
do_action( 'xpro_header_before' );
/**
* xpro_header hook.
*
* @since 1.0.0
*
* @hooked xpro_construct_loader - 10
*/
do_action( 'xpro_loader' );
/**
* xpro_header hook.
*
* @since 1.0.0
*
* @hooked xpro_construct_header - 10
*/
do_action( 'xpro_header' );
/**
* xpro_header hook.
*
* @since 1.0.0
*
* @hooked xpro_construct_header - 10
*/
do_action( 'xpro_header_after' );
/**
* xpro_title_wrapper hook.
*
* @since 1.0.0
*
* @hooked xpro_construct_title_wrapper - 10
*/
do_action( 'xpro_title_wrapper' );
/**
* xpro_header hook.
*
* @since 1.0.0
*
* @hooked xpro_content_before - 10
*/
do_action( 'xpro_content_before' );
/**
* xpro_primary_content_top hook.
*
* @since 1.0.0
*
* @hooked xpro_primary_content_top - 10
*/
do_action( 'xpro_primary_content_top' );
?>