View difference between Paste ID: nJnUbT1R and zcb81uJL
SHOW: | | - or go back to the newest paste.
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 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-single-template.php) in the events/ directory of your theme.
11
*/
12
13
// Don't load directly
14
if ( !defined('ABSPATH') ) { die('-1'); }
15
?>
16
<?php get_header(); ?>
17-
<?php tribe_events_before_html(); ?>
17+
<?php tribe_events_before_html() ?>
18-
<div id="container">
18+
    <div id="content" class="page col-full">
19-
	<div id="content" class="tribe-events-event widecolumn">
19+
		<div id="main" class="col-left">
20
		<?php the_post(); global $post; ?>
21-
		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
21+
		<div id="post-<?php the_ID() ?>" <?php post_class() ?>>
22-
			<h2 class="entry-title"><?php the_title(); ?></h2>
22+
			<h1 class="title"><?php the_title() ?></h1>
23-
			<?php include(tribe_get_current_template()); ?>
23+
			<?php include(tribe_get_current_template()) ?>
24
			<?php edit_post_link(__('Edit','tribe-events-calendar'), '<span class="edit-link">', '</span>'); ?>
25
		</div><!-- post -->
26-
		<?php if(tribe_get_option('showComments','no') == 'yes'){ comments_template(); } ?>
26+
		<?php if(tribe_get_option('showComments','no') == 'yes'){ comments_template();} ?>
27-
	</div><!-- #content -->
27+
		</div><!-- /#main -->
28-
</div><!--#container-->
28+
29-
<?php get_sidebar(); ?>
29+
        <?php get_sidebar(); ?>
30-
<?php tribe_events_after_html(); ?>
30+
31
    </div><!-- /#content -->
32
<?php tribe_events_after_html() ?>
33
<?php get_footer(); ?>