-
Notifications
You must be signed in to change notification settings - Fork 7
/
header.php
59 lines (39 loc) · 917 Bytes
/
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
<?php
/**
* The header for our theme
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
* @see `includes/frontend/class-header.php`
*
* @package Modern
* @copyright WebMan Design, Oliver Juhas
*
* @since 1.0.0
* @version 2.5.0
*/
do_action( 'tha_html_before' );
?>
<html <?php language_attributes(); ?>>
<head>
<?php
do_action( 'tha_head_top' );
do_action( 'tha_head_bottom' );
wp_head();
?>
</head>
<body <?php body_class(); ?>>
<?php
if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
} else {
do_action( 'wp_body_open' );
}
do_action( 'tha_body_top' );
if ( ! apply_filters( 'wmhook_modern_disable_header', false ) ) {
do_action( 'tha_header_before' );
do_action( 'tha_header_top' );
do_action( 'tha_header_bottom' );
do_action( 'tha_header_after' );
}
do_action( 'tha_content_before' );
do_action( 'tha_content_top' );