forked from Prosys-Themes/business-ezone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
62 lines (53 loc) · 1.42 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
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Business_Ezone
*/
/**
* Doctype Hook
*
* @hooked business_ezone_doctype_cb
*/
do_action('business_ezone_doctype');
?>
<head>
<?php
/**
* Before wp_head
*
* @hooked business_ezone_head
*/
do_action( 'business_ezone_before_wp_head' );
wp_head();
?>
</head>
<body <?php body_class(); ?>>
<?php if ( function_exists( 'wp_body_open' ) ) { wp_body_open(); } ?>
<div id="page" class="site">
<?php if( is_front_page() && ! is_home() ){ ?>
<a class="skip-link screen-reader-text" href="#banner"><?php esc_html_e( 'Skip to content', 'business-ezone' ); ?></a>
<?php }else{ ?>
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'business-ezone' ); ?></a>
<?php } ?>
<?php
/**
* Business_Ezone_Page Header
*
* @see business_ezone_header_start - 10
* @see business_ezone_header_top - 20
* @see business_ezone_header_bottom - 30
* @see business_ezone_header_menu - 40
* @see business_ezone_header_end - 50
*/
do_action( 'business_ezone_header');
/**
* business_ezone Content
*
* @see business_ezone_content_start
*/
do_action( 'business_ezone_before_content' );