-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
78 lines (65 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php defined( 'ABSPATH' ) || exit;
/**
* The header for our theme.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Playground for Beaver Themer
* @copyright WebMan Design, Oliver Juhas
*
* @since 1.0.0
* @version 1.0.0
*/
/**
* Located before opening `<html>` tag.
*
* Doctype is hooked here.
* Not included in Beaver Themer part hooks, no need to.
*
* @since 1.0.0
*/
do_action( 'pfbt_html_before' );
?>
<html <?php language_attributes(); ?>>
<head>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
/**
* Located just after opening `<body>` tag.
*
* @since 1.0.0
*/
do_action( 'pfbt_body_top' );
?>
<div id="page" class="site">
<?php
/**
* Located before Beaver Themer header template.
*
* @since 1.0.0
*/
do_action( 'pfbt_header_before' );
if (
is_callable( 'FLThemeBuilderLayoutData::get_current_page_header_ids' )
&& ! empty( FLThemeBuilderLayoutData::get_current_page_header_ids() )
&& is_callable( 'FLThemeBuilderLayoutRenderer::render_header' )
) {
FLThemeBuilderLayoutRenderer::render_header();
}
/**
* Located after Beaver Themer header template.
*
* @since 1.0.0
*/
do_action( 'pfbt_header_after' );
/**
* Located before page content.
*
* Content area wrapper opening tags are hooked here.
* Not included in Beaver Themer part hooks, no need to.
*
* @since 1.0.0
*/
do_action( 'pfbt_content_before' );