This repository has been archived on 2022-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
divi/includes/builder/frontend-builder/theme-builder/frontend-header-template.php
2021-12-07 11:08:05 +00:00

24 lines
527 B
PHP

<?php
$layouts = et_theme_builder_get_template_layouts();
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<?php echo $tb_theme_head; ?>
<?php do_action( 'et_theme_builder_template_head' ); ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
wp_body_open();
et_theme_builder_frontend_render_header(
$layouts[ ET_THEME_BUILDER_HEADER_LAYOUT_POST_TYPE ]['id'],
$layouts[ ET_THEME_BUILDER_HEADER_LAYOUT_POST_TYPE ]['enabled'],
$layouts[ ET_THEME_BUILDER_TEMPLATE_POST_TYPE ]
);
?>