<?php get_header();
    if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'single' ) ):?>
<?php if (have_posts()): ?><?php while (have_posts()): the_post(); ?>
    <?php the_content();?>
<?php endwhile; ?>
<?php endif; ?>
<?php endif; get_footer();?>