-
Notifications
You must be signed in to change notification settings - Fork 2
/
header.php
65 lines (55 loc) · 2.04 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
<?php
require_once __DIR__ . '/z-protect.php';
if (!defined('IS_AJAX') || !IS_AJAX) {
/* ----------------------------------------------------------
HEAD
---------------------------------------------------------- */
do_action('qm/start', 'wputheme_wp_head');
echo '<head>';
wp_head();
echo '</head>';
do_action('qm/stop', 'wputheme_wp_head');
/* ----------------------------------------------------------
BODY
---------------------------------------------------------- */
/* BODY CLASS */
do_action('qm/start', 'wputheme_body_class');
echo '<body ';
body_class('cssc-is-responsive');
echo '>';
do_action('qm/stop', 'wputheme_body_class');
/* BODY OPEN */
do_action('qm/start', 'wputheme_body_open');
wp_body_open();
do_action('qm/stop', 'wputheme_body_open');
/* ----------------------------------------------------------
HEADER
---------------------------------------------------------- */
do_action('qm/start', 'wputheme_header');
do_action('wputheme_header_items');
/* HEADER BANNER */
if (apply_filters('wputheme_display_header', true)):
echo '<div class="main-header centered-container">';
echo '<header class="banner" id="banner">';
do_action('wputheme_header_banner');
echo '</header>';
echo '</div>';
endif;
/* MAIN WRAPPER */
do_action('wputheme_header_elements');
if (apply_filters('wputheme_display_mainwrapper', true)):
echo '<div class="main-container centered-container"><div class="main-container--inner" id="content">';
else:
if (apply_filters('wputheme_display_mainwrapper__content', true)):
echo '<div id="content">';
endif;
endif;
/* OVER CONTENT */
do_action('wputheme_main_overcontent');
if (apply_filters('wputheme_display_skiplinks', true)) {
echo '<div id="maincontent"></div>';
}
do_action('qm/stop', 'wputheme_header');
}
do_action('wputheme_main_overcontent_inajax');
do_action('qm/start', 'wputheme_content');