PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.2
Elementor Website Builder – more than just a page builder v3.0.2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / includes / editor-templates / editor-wrapper.php

editor-wrapper.php in Elementor Website Builder – more than just a page builder 3.0.2, at includes/editor-templates/editor-wrapper.php

76 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Elementor;
3
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit; // Exit if accessed directly.
6 }
7
8 global $wp_version;
9
10 $body_classes = [
11 'elementor-editor-active',
12 'wp-version-' . str_replace( '.', '-', $wp_version ),
13 ];
14
15 if ( is_rtl() ) {
16 $body_classes[] = 'rtl';
17 }
18
19 if ( ! Plugin::$instance->role_manager->user_can( 'design' ) ) {
20 $body_classes[] = 'elementor-editor-content-only';
21 }
22
23 $notice = Plugin::$instance->editor->notice_bar->get_notice();
24 ?>
25 <!DOCTYPE html>
26 <html <?php language_attributes(); ?>>
27 <head>
28 <meta charset="utf-8" />
29 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
30 <title><?php echo __( 'Elementor', 'elementor' ) . ' | ' . get_the_title(); ?></title>
31 <?php wp_head(); ?>
32 <script>
33 var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>';
34 </script>
35 </head>
36 <body class="<?php echo implode( ' ', $body_classes ); ?>">
37 <div id="elementor-editor-wrapper">
38 <div id="elementor-panel" class="elementor-panel"></div>
39 <div id="elementor-preview">
40 <div id="elementor-loading">
41 <div class="elementor-loader-wrapper">
42 <div class="elementor-loader">
43 <div class="elementor-loader-boxes">
44 <div class="elementor-loader-box"></div>
45 <div class="elementor-loader-box"></div>
46 <div class="elementor-loader-box"></div>
47 <div class="elementor-loader-box"></div>
48 </div>
49 </div>
50 <div class="elementor-loading-title"><?php echo __( 'Loading', 'elementor' ); ?></div>
51 </div>
52 </div>
53 <div id="elementor-preview-responsive-wrapper" class="elementor-device-desktop elementor-device-rotate-portrait">
54 <div id="elementor-preview-loading">
55 <i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i>
56 </div>
57 <?php if ( $notice ) { ?>
58 <div id="elementor-notice-bar">
59 <i class="eicon-elementor-square"></i>
60 <div id="elementor-notice-bar__message"><?php echo sprintf( $notice['message'], $notice['action_url'] ); ?></div>
61 <div id="elementor-notice-bar__action"><a href="<?php echo $notice['action_url']; ?>" target="_blank"><?php echo $notice['action_title']; ?></a></div>
62 <i id="elementor-notice-bar__close" class="eicon-close"></i>
63 </div>
64 <?php } // IFrame will be created here by the Javascript later. ?>
65 </div>
66 </div>
67 <div id="elementor-navigator"></div>
68 </div>
69 <?php
70 wp_footer();
71 /** This action is documented in wp-admin/admin-footer.php */
72 do_action( 'admin_print_footer_scripts' );
73 ?>
74 </body>
75 </html>
76