-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathheader.php
37 lines (32 loc) · 1.06 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
<?php
/**
* Header Template
*
* Display the site header content (logo, site title, description).
*
* @link https://developer.wordpress.org/themes/template-files-section/partial-and-miscellaneous-template-files/#header-php
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Jarvis
* @subpackage TemplatePart
* @author Ben Gillbanks <ben@prothemedesign.com>
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License
*/
/**
* Split the document head into a separate file so that it can more easily be included in different templates.
* For example templates that don't include the default site header layout.
*/
get_template_part( 'parts/head' );
?>
<body <?php body_class(); ?>>
<?php
wp_body_open();
/**
* Add support for page builders.
*
* The default header code is included in parts/header.php
* The header is included in inc/wordpress.php > jarvis_include_header function.
*/
do_action( 'jarvis_before_header' );
do_action( 'jarvis_header' );
do_action( 'jarvis_after_header' );