<?php
if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Elementor Template Wrapper for EDD Single Download
 */

get_header();

// Load Elementor assets
if ( class_exists( '\Elementor\Plugin' ) ) {
    \Elementor\Plugin::$instance->frontend->enqueue_styles();
    \Elementor\Plugin::$instance->frontend->enqueue_scripts();
}
$sifency_addons_template_id = Sifency_Frontend_Helper::find_matching_template( 'edd' );
echo '<div class="sifency-edd-single-elementor">';
if ( ! empty( $sifency_addons_template_id ) ) {
    Sifency_Frontend_Helper::render_elementor_content( $sifency_addons_template_id, true );
}
echo '</div>';
get_footer();
