<?php

/**
 * Template Single Event post type
 */
get_header();

/**
 * thim_wrapper_loop_start hook
 *
 * @hooked thim_wrapper_loop_end - 1
 * @hooked thim_wapper_page_title - 5
 * @hooked thim_wrapper_loop_start - 30
 */

do_action( 'thim_wrapper_loop_start' );

?>

<?php
/**
 * tp_event_before_main_content hook
 */
do_action( 'tp_event_before_main_content' );
?>

<?php while ( have_posts() ) : ?>
	<?php
	the_post();
	wpems_get_template_part( 'content', 'single-event' );
	?>
<?php endwhile; ?>

<?php

/**
 * tp_event_after_main_content hook
 *
 * @hooked tp_event_after_main_content - 10 (outputs closing divs for the content)
 */
do_action( 'tp_event_after_main_content' );

/**
 * thim_wrapper_loop_end hook
 *
 * @hooked thim_wrapper_loop_end - 10
 * @hooked thim_wrapper_div_close - 30
 */
do_action( 'thim_wrapper_loop_end' );

get_footer();
