| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- /**
- * Default Events Template
- * This file is the basic wrapper template for all the views if 'Default Events Template'
- * is selected in Events -> Settings -> Template -> Events Template.
- *
- * Override this template in your own theme by creating a file at [your-theme]/tribe-events/default-template.php
- *
- * @package TribeEventsCalendar
- * @since 3.0
- * @author Modern Tribe Inc.
- *
- */
- if ( ! defined('ABSPATH') ) {
- die('-1');
- }
- $article_class = array( VamtamTemplates::get_layout() );
- if ( ! is_singular() ) {
- VamtamFramework::set( 'page_title', tribe_get_events_title( false ) );
- array_merge( $article_class, get_post_class() );
- }
- add_filter( 'vamtam_had_limit_wrapper', '__return_true' );
- get_header(); ?>
- <div class="row page-wrapper">
- <article class="<?php echo esc_attr( implode( ' ', $article_class ) ) ?>">
- <div class="page-content">
- <?php tribe_events_before_html(); ?>
- <?php tribe_get_view(); ?>
- <?php tribe_events_after_html(); ?>
- </div>
- </article>
- <?php get_template_part( 'sidebar' ) ?>
- </div>
- <?php
- get_footer();
|