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

get_header();
?>
<main id="content" <?php post_class( 'site-main' ); ?> role="main">
	<?php
	while ( have_posts() ) {
		the_post();
		do_action( 'hello_elementor_before_main_content' );
		if ( class_exists( '\\Elementor\\Core\\Documents_Manager' ) ) {
			echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( get_the_ID() );
		} else {
			the_content();
		}
		do_action( 'hello_elementor_after_main_content' );
	}
	?>
</main>
<?php
get_footer();