• 1.
    <?php
  • 2.
    /**
  • 3.
    *  If 'Default Events Template' is selected in Settings -> The Events Calendar -> Theme Settings -> Events Template,
  • 4.
    *  then this file loads the page template for all ECP views except for the individual
  • 5.
    *  event view.  Generally, this setting should only be used if you want to manually
  • 6.
    *  specify all the shell HTML of your ECP pages in this template file.  Use one of the other Theme
  • 7.
    *  Settings -> Events Template to automatically integrate views into your
  • 8.
    *  theme.
  • 9.
    *
  • 10.
    * You can customize this view by putting a replacement file of the same name (ecp-page-template.php) in the events/ directory of your theme.
  • 11.
    */
  • 12.
     
  • 13.
    // Don't load directly
  • 14.
    if ( !defined('ABSPATH') ) { die('-1'); }
  • 15.
     
  • 16.
    ?>
  • 17.
    <?php global $mysite; get_header(); ?>
  • 18.
     
  • 19.
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  • 20.
     
  • 21.
      <?php mysite_before_entry(); ?>
  • 22.
     
  • 23.
      <div class="entry">
  • 24.
     
  • 25.
        <?php tribe_events_before_html(); ?>
  • 26.
        <h2 class="tribe-events-cal-title"><?php tribe_events_title(); ?></h2>
  • 27.
        <?php include(tribe_get_current_template()); ?>
  • 28.
     
  • 29.
        <div class="clearboth"></div>
  • 30.
     
  • 31.
        <?php tribe_events_after_html(); ?>
  • 32.
     
  • 33.
      </div><!-- .entry -->
  • 34.
     
  • 35.
      <?php mysite_after_page_content(); ?>
  • 36.
     
  • 37.
    </div><!-- #post -->
  • 38.
     
  • 39.
      <div class="clearboth"></div>
  • 40.
      </div><!-- #main_inner -->
  • 41.
    </div><!-- #main -->
  • 42.
     
  • 43.
    <?php mysite_after_page_content(); ?>
  • 44.
     
  • 45.
    <?php get_footer(); ?>
<?php /** * If 'Default Events Template' is selected in Settings -> The Events Calendar -> Theme Settings -> Events Template, * then this file loads the page template for all ECP views except for the individual * event view. Generally, this setting should only be used if you want to manually * specify all the shell HTML of your ECP pages in this template file. Use one of the other Theme * Settings -> Events Template to automatically integrate views into your * theme. * * You can customize this view by putting a replacement file of the same name (ecp-page-template.php) in the events/ directory of your theme. */ // Don't load directly if ( !defined('ABSPATH') ) { die('-1'); } ?> <?php global $mysite; get_header(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php mysite_before_entry(); ?> <div class="entry"> <?php tribe_events_before_html(); ?> <h2 class="tribe-events-cal-title"><?php tribe_events_title(); ?></h2> <?php include(tribe_get_current_template()); ?> <div class="clearboth"></div> <?php tribe_events_after_html(); ?> </div><!-- .entry --> <?php mysite_after_page_content(); ?> </div><!-- #post --> <div class="clearboth"></div> </div><!-- #main_inner --> </div><!-- #main --> <?php mysite_after_page_content(); ?> <?php get_footer(); ?>

Copy Code to Clipboard Raw

Sign-in or Create a Free Account.

Snippi uses Twitter or Facebook to register and create accounts. Registration will enable you to keep track of your snippets. We never spam your timeline or wall. Ever.

Sign-in with Facebook Sign-in with Twitter