← All changes
|
includes/editor-templates/editor-wrapper.php
+29
-10
4.2.3
→
3.10.0-dev1
View file →
| @@ -26,13 +26,9 @@ | ||
| 26 | 26 | <html <?php language_attributes(); ?>> |
| 27 | 27 | <head> |
| 28 | 28 | <meta charset="utf-8" /> |
| 29 | 29 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 30 | - <title><?php printf( | |
| 31 | - /* translators: %s: Page title. */ | |
| 32 | - esc_html__( 'Edit "%s" with Elementor', 'elementor' ), | |
| 33 | - esc_html( get_the_title() ) | |
| 34 | - ); ?></title> | |
| 30 | + <title><?php echo esc_html__( 'Elementor', 'elementor' ) . ' | ' . esc_html( get_the_title() ); ?></title> | |
| 35 | 31 | <?php wp_head(); ?> |
| 36 | 32 | <script> |
| 37 | 33 | var ajaxurl = '<?php Utils::print_unescaped_internal_string( admin_url( 'admin-ajax.php', 'relative' ) ); ?>'; |
| 38 | 34 | </script> |
| @@ -37,13 +33,36 @@ | ||
| 37 | 33 | var ajaxurl = '<?php Utils::print_unescaped_internal_string( admin_url( 'admin-ajax.php', 'relative' ) ); ?>'; |
| 38 | 34 | </script> |
| 39 | 35 | </head> |
| 40 | 36 | <body class="<?php echo esc_attr( implode( ' ', $body_classes ) ); ?>"> |
| 41 | -<?php | |
| 42 | -if ( isset( $body_file_path ) ) { | |
| 43 | - include $body_file_path; | |
| 44 | -} | |
| 45 | -?> | |
| 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 esc_html__( 'Loading', 'elementor' ); ?></div> | |
| 51 | + </div> | |
| 52 | + </div> | |
| 53 | + <div id="elementor-responsive-bar"></div> | |
| 54 | + <div id="elementor-preview-responsive-wrapper" class="elementor-device-desktop elementor-device-rotate-portrait"> | |
| 55 | + <div id="elementor-preview-loading"> | |
| 56 | + <i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i> | |
| 57 | + </div> | |
| 58 | + <?php if ( $notice ) { | |
| 59 | + $notice->render(); | |
| 60 | + } // IFrame will be created here by the Javascript later. ?> | |
| 61 | + </div> | |
| 62 | + </div> | |
| 63 | + <div id="elementor-navigator"></div> | |
| 64 | +</div> | |
| 46 | 65 | <?php |
| 47 | 66 | wp_footer(); |
| 48 | 67 | /** This action is documented in wp-admin/admin-footer.php */ |
| 49 | 68 | do_action( 'admin_print_footer_scripts' ); |