singular-canvas.php
1 year ago
singular-fullwidth.php
1 year ago
theme-footer.php
1 year ago
theme-header.php
1 year ago
theme-template.php
1 year ago
singular-canvas.php
34 lines
| 1 | <?php |
| 2 | /* |
| 3 | * Singular Canvas |
| 4 | */ |
| 5 | if (!defined('ABSPATH')) { |
| 6 | exit; // Exit if accessed directly. |
| 7 | } |
| 8 | if(class_exists( '\Elementor\Plugin' )){ |
| 9 | \Elementor\Plugin::$instance->frontend->add_body_class('elementor-template-canvas'); |
| 10 | } |
| 11 | |
| 12 | get_header(); |
| 13 | |
| 14 | if(class_exists( '\Elementor\Plugin' )){ |
| 15 | $meta_viewport = \Elementor\Utils::get_meta_viewport('canvas'); |
| 16 | $allowed_html = array( |
| 17 | 'meta' => array( |
| 18 | 'name' => array(), |
| 19 | 'content' => array(), |
| 20 | ), |
| 21 | ); |
| 22 | echo wp_kses($meta_viewport, $allowed_html); |
| 23 | |
| 24 | do_action('elementor/page_templates/canvas/before_content'); |
| 25 | } |
| 26 | |
| 27 | do_action('ecafe_content_render'); |
| 28 | |
| 29 | if(class_exists( '\Elementor\Plugin' )){ |
| 30 | do_action('elementor/page_templates/canvas/after_content'); |
| 31 | } |
| 32 | |
| 33 | get_footer(); |
| 34 |