<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}
get_header('ere');
/**
 * ere_before_main_content hook.
 *
 * @hooked ere_output_content_wrapper_start - 10 (outputs opening divs for the content)
 */
?>
<div class="container py-5">
    <div class="flex-row">
        <div class="main-div-content">
            <?php
			do_action( 'ere_before_main_content' );
			do_action( 'ere_single_agent_before_main_content' );
			if (have_posts()):
				while (have_posts()): the_post(); ?>

					<?php ere_get_template_part( 'content', 'single-agent' ); ?>

				<?php endwhile;
			endif;
			do_action( 'ere_single_agent_after_main_content' );
			/**
			 * ere_after_main_content hook.
			 *
			 * @hooked ere_output_content_wrapper_end - 10 (outputs closing divs for the content)
			 */
			do_action( 'ere_after_main_content' );
			?>
        </div>
        <div class="main-div-sidebar">
        	<?php
			/**
			 * ere_sidebar_agent hook.
			 *
			 * @hooked ere_sidebar_agent - 10
			 */

			do_action('ere_sidebar_agent');?>
        </div>
    </div>
</div>
<?php get_footer('ere');