first commit
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
use ElementorPro\Modules\ThemeBuilder\Module;
|
||||
use Elementor\Utils;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
|
||||
$location_manager = Module::instance()->get_locations_manager();
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
<?php
|
||||
// PHPCS - not a user input.
|
||||
echo Utils::get_meta_viewport( 'theme-builder' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
?>
|
||||
<?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
|
||||
<title>
|
||||
<?php
|
||||
// PHPCS - already escaped by WordPress.
|
||||
echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
?>
|
||||
</title>
|
||||
<?php endif; ?>
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<?php
|
||||
wp_body_open();
|
||||
$location_manager->do_location( 'header' );
|
||||
?>
|
||||
Reference in New Issue
Block a user