view.php
32 lines
| 1 | <?php |
| 2 | namespace Elementor\App; |
| 3 | |
| 4 | use Elementor\Utils; |
| 5 | |
| 6 | if ( ! defined( 'ABSPATH' ) ) { |
| 7 | exit; // Exit if accessed directly. |
| 8 | } |
| 9 | |
| 10 | /** |
| 11 | * @var App $this |
| 12 | */ |
| 13 | |
| 14 | |
| 15 | $theme_class = 'dark' === $this->get_elementor_ui_theme_preference() ? 'eps-theme-dark' : ''; |
| 16 | |
| 17 | ?> |
| 18 | <!DOCTYPE html> |
| 19 | <html <?php language_attributes(); ?>> |
| 20 | <head> |
| 21 | <meta charset="utf-8" /> |
| 22 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 23 | <title><?php echo esc_html__( 'Elementor', 'elementor' ) . ' ... '; ?></title> |
| 24 | <base target="_parent"> |
| 25 | <?php wp_print_styles(); ?> |
| 26 | </head> |
| 27 | <body class="<?php Utils::print_unescaped_internal_string( $theme_class ); ?>"> |
| 28 | <div id="e-app"></div> |
| 29 | <?php wp_print_footer_scripts(); ?> |
| 30 | </body> |
| 31 | </html> |
| 32 |