-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
42 lines (30 loc) · 1.35 KB
/
header.php
File metadata and controls
42 lines (30 loc) · 1.35 KB
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
<?php
if( is_user_logged_in() && current_user_can( 'manage_options' ) && !wp_doing_ajax() ){
acf_form_head();
}
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php do_action('wpbc/head/favicons'); ?>
<?php do_action('wpbc/head/scripts'); ?>
<?php wp_head(); ?>
</head>
<?php
$body_class = 'loading detect-scroll '.BC_get_body_class();
?>
<body <?php body_class($body_class); ?> data-config='<?php WPBC_get_body_data_config(); ?>' <?php BC_get_body_data(); ?> data-template="<?php echo WPBC_get_template(); ?>" data-template-type="<?php echo WPBC_get_template(array('show_post_types'=>'1')); ?>" data-template-format="<?php echo WPBC_get_template(array('show_post_formats'=>'1')); ?>">
<?php
/*
wpbc/layout/body/start action
@hooked action__wpbc_layout_body_start__loader - 10
@hooked action__wpbc_layout_body_start__main_content_start - 20
@hooked action__wpbc_layout_body_start__main_navbar - 20
@hooked action__wpbc_layout_body_start__page_header - 35
@hooked action__wpbc_layout_body_start__main_content_wrap_start - 40
*/
do_action('wpbc/layout/body/start');
?>