<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
get_header('ere'); ?>
<div class="content-area container">
<div class="single-index clearfix" id="content">
<?php
/**
* ere_before_main_content hook.
*
* @hooked ere_output_content_wrapper_start - 10 (outputs opening divs for the content)
*/
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>
<?php get_footer('ere');