<?php
/*
* Singular Canvas
*/
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
if ( class_exists( '\Elementor\Plugin' ) ) {
	\Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-canvas' );
}

get_header();

if ( class_exists( '\Elementor\Plugin' ) ) {
	$meta_viewport = \Elementor\Utils::get_meta_viewport( 'canvas' );
	$allowed_html  = array(
		'meta' => array(
			'name'    => array(),
			'content' => array(),
		),
	);
	echo wp_kses( $meta_viewport, $allowed_html );

	do_action( 'elementor/page_templates/canvas/before_content' );
}

do_action( 'ecafe_content_render' );

if ( class_exists( '\Elementor\Plugin' ) ) {
	do_action( 'elementor/page_templates/canvas/after_content' );
}

get_footer();
