<?php
get_header();
if (class_exists('ETB_Elementor') && etb_single_enabled()) {
do_action('etb_single');
} else {
?>
<div id="primary" class="content-area">
<main id="main" class="site-main">
<?php
while (have_posts()) :
the_post();
if (is_single()) {
the_content();
}
endwhile; // End of the loop.
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
}
get_footer();