Want more features on Pastebin? Sign Up, it's FREE!
Guest

Robusta ecp-page-template.php (ECP/TEC)

By: BakerMan on Nov 27th, 2012  |  syntax: PHP  |  size: 0.55 KB  |  views: 88  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * Modified Events page template to play nicely with Robusta 2.1 by
  4.  * newwpthemes.com - full page, no sidebars.
  5.  */
  6.  
  7. // Don't load directly
  8. if ( !defined('ABSPATH') ) { die('-1'); }
  9.  
  10. get_header();
  11. ?>
  12. <div class="span-24" id="contentwrap">
  13.  
  14.         <div class="span-24">
  15.                 <div id="content">
  16.  
  17.                         <?php tribe_events_before_html(); ?>
  18.                         <h2 class="tribe-events-cal-title"><?php tribe_events_title(); ?></h2>
  19.                         <?php
  20.                         include(tribe_get_current_template());
  21.                         tribe_events_after_html();
  22.                         ?>
  23.  
  24.                 </div>
  25.         </div>
  26.  
  27. <?php get_footer(); ?>
clone this paste RAW Paste Data