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-beta3 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 All 452 releases
elementor / modules / page-templates / templates / canvas.php

canvas.php in Elementor Website Builder – more than just a page builder 3.0.2, at modules/page-templates/templates/canvas.php

51 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit; // Exit if accessed directly.
5 }
6
7 \Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-canvas' );
8
9 ?>
10 <!DOCTYPE html>
11 <html <?php language_attributes(); ?>>
12 <head>
13 <meta charset="<?php bloginfo( 'charset' ); ?>">
14 <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
15 <title><?php echo wp_get_document_title(); ?></title>
16 <?php endif; ?>
17 <?php wp_head(); ?>
18 <?php
19
20 // Keep the following line after `wp_head()` call, to ensure it's not overridden by another templates.
21 echo \Elementor\Utils::get_meta_viewport( 'canvas' );
22 ?>
23 </head>
24 <body <?php body_class(); ?>>
25 <?php
26 Elementor\Modules\PageTemplates\Module::body_open();
27 /**
28 * Before canvas page template content.
29 *
30 * Fires before the content of Elementor canvas page template.
31 *
32 * @since 1.0.0
33 */
34 do_action( 'elementor/page_templates/canvas/before_content' );
35
36 \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content();
37
38 /**
39 * After canvas page template content.
40 *
41 * Fires after the content of Elementor canvas page template.
42 *
43 * @since 1.0.0
44 */
45 do_action( 'elementor/page_templates/canvas/after_content' );
46
47 wp_footer();
48 ?>
49 </body>
50 </html>
51