Guest User

ecp-page-template.php

a guest
May 21st, 2013
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  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 get_header(); ?>
  18. <?php tribe_events_before_html(); ?>
  19. <h2 class="tribe-events-cal-title">Featured Courses</h2>
  20. <?php include(tribe_get_current_template()); ?>
  21. <?php tribe_events_after_html(); ?>
  22. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment