get_header();
global $paged;
if (empty($paged)) {
    $paged = 1;
}
$title = explode('/', harvest_option('ctc-sermons', __('Sermons', 'harvest')));
$title = array_shift($title);
harvest_title_bar($title);
?>
		
		<div class="content_wrap">

			<div class="grid-container content">

<?php 
harvest_get_tax_dropdown('ctc_sermon_topic');
?>
			

				<div class="grid-100 ctc-content-sidebar">
					<?php 
dynamic_sidebar('sermon-sidebar');
?>
				</div>

<?php 
$i = 1;
do_action('__before_loop');
if (have_posts()) {
    while (have_posts()) {
        the_post();
<?php

/* Event tag archive */
get_header();
$term = get_queried_object();
harvest_title_bar(sprintf(_x('%s events', 'Event category', 'harvest'), $term->name));
?>
		<div class="content_wrap">

			<div class="grid-container content">
			
<?php 
harvest_get_tax_dropdown('ctc_event_category');
?>
				
<?php 
do_action('__before_loop');
if (!have_posts()) {
    ?>
			<div class="grid-100 ctc-event-category-desc" >
				<p><?php 
    _e('No events were found in that category. Check back at a later time for newer events. Thanks!', 'harvest');
    ?>
</p>
			</div>
	
<?php 
} else {
    if ($term->description) {
        ?>
				<div class="grid-100 ctc-event-category-desc" >