<?php
global $qode_options_elision;
get_header(); ?>
<div class="title">
    <?php if ( ! get_post_meta( $qode_page_id, "qode_show-page-title-text", true ) ) { ?>
        <div class="title_holder">
            <div class="container">
                <div class="container_inner clearfix">
                    <h1><span><?php echo get_term(get_queried_object()->term_id, 'events', ARRAY_A, 'display')['name']?></span></h1>
                </div>
            </div>
        </div>
    <?php } ?>
</div>
<?php echo $_GET['post_type']; ?>

<div class="container">
    <div class="container_inner event_masonry clearfix">
        <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
        <?php get_template_part( 'event_masonry', 'loop' ); ?>
        <?php endwhile; ?>
        <?php endif; ?>
    </div>
</div>
<?php get_footer(); ?>
