lukassmida
3/31/2017 - 12:27 PM

Event Organiser (3.1.8) - taxonomy-event-category.php template for Divi (3.0.39)

Event Organiser (3.1.8) - taxonomy-event-category.php template for Divi (3.0.39)

<?php
/**
 * The template for displaying an event-category page
 *
 * @package Event Organiser (plug-in)
 * @since 1.0.0
 */

//Call the template header
get_header(); ?>

<div id="main-content">
  <article>
    <div class="entry-content">

      <!-- START Custom Page Title Section -->
      <div class="et_pb_section page-title">
        <div class=" et_pb_row">
          <div class="et_pb_column et_pb_column_4_4">
            <div class="et_pb_module et_pb_post_title et_pb_bg_layout_light">
              <div class="et_pb_title_container">
                <h1 class="entry-title">
                  <?php printf( __( 'Event Category: %s', 'eventorganiser' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?>
                </h1>
              </div> <!-- .et_pb_title_container -->
            </div><!-- .et_pb_post_title -->
          </div> <!-- .et_pb_column -->
        </div> <!-- .et_pb_row -->
      </div> <!-- .et_pb_section -->
      <!-- END Custom Page Title Section -->

      <!-- START Divi Global Section -->
      <?php //echo do_shortcode('[et_pb_section global_module="ID"][/et_pb_section]'); ?>
      <!-- END Divi Global Section -->

      <!-- START Custom Content Section (.event-section and .event-row are custom CSS classes) -->
      <div class="et_pb_section et_section_regular event-section">
        <div class=" et_pb_row event-row">
          <div class="et_pb_column et_pb_column_4_4">
            <div class="et_pb_text et_pb_module et_pb_bg_layout_light et_pb_text_align_left">
              <?php eo_get_template_part( 'eo-loop-events' ); //Lists the events ?>
            </div><!-- .et_pb_text -->
          </div><!-- .et_pb_column -->
        </div><!-- .et_pb_row -->
      </div><!-- .et_pb_section -->
      <!-- END Custom Content Section -->

    </div><!-- .entry-content -->
  </article>
</div><!-- #main-content -->

<!-- Call template sidebar and footer -->
<?php //get_sidebar(); ?>
<?php get_footer(); ?>