Advertisement
Guest User

Untitled

a guest
Dec 6th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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() ?>
  18. <div id="content" class="page col-full">
  19. <div id="main" class="col-left">
  20. <?php the_post(); global $post; ?>
  21. <div id="post-<?php the_ID() ?>" <?php post_class() ?>>
  22. <h1 class="title"><?php the_title() ?></h1>
  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();} ?>
  27. </div><!-- /#main -->
  28.  
  29. <?php get_sidebar(); ?>
  30.  
  31. </div><!-- /#content -->
  32. <?php tribe_events_after_html() ?>
  33. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement