Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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 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-single-template.php) in the events/ directory of your theme.
- */
- // Don't load directly
- if ( !defined('ABSPATH') ) { die('-1'); }
- ?>
- <?php get_header(); ?>
- <?php tribe_events_before_html() ?>
- <div id="content" class="page col-full">
- <div id="main" class="col-left">
- <?php the_post(); global $post; ?>
- <div id="post-<?php the_ID() ?>" <?php post_class() ?>>
- <h1 class="title"><?php the_title() ?></h1>
- <?php include(tribe_get_current_template()) ?>
- <?php edit_post_link(__('Edit','tribe-events-calendar'), '<span class="edit-link">', '</span>'); ?>
- </div><!-- post -->
- <?php if(tribe_get_option('showComments','no') == 'yes'){ comments_template();} ?>
- </div><!-- /#main -->
- <?php get_sidebar(); ?>
- </div><!-- /#content -->
- <?php tribe_events_after_html() ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement