Skip to content

Instantly share code, notes, and snippets.

@afragen
Created August 18, 2013 01:35
Show Gist options
  • Save afragen/6259502 to your computer and use it in GitHub Desktop.
Save afragen/6259502 to your computer and use it in GitHub Desktop.
Template override for TEC 3.x and Desk Mess Mirrored theme. Place in THEME/tribe-events/ folder.
<?php
/**
* Default Events Template
* This file is the basic wrapper template for all the views if 'Default Events Template'
* is selected in Events -> Settings -> Template -> Events Template.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/default-template.php
*
* @package TribeEventsCalendar
* @since 3.0
* @author Modern Tribe Inc.
*
*/
if ( !defined('ABSPATH') ) { die('-1'); } ?>
<?php get_header(); ?>
<div id="tribe-events-pg-template">
<?php tribe_events_before_html(); ?>
<div id="maintop"></div>
<div id="wrapper">
<div id="content" >
<div id="main-blog" style="width:auto;padding-right:3em;">
<div class="clear">&nbsp;</div>
<?php tribe_get_view(); ?>
<?php tribe_events_after_html(); ?>
</div><!-- #main blog -->
<div class="clear"></div>
</div><!-- #content -->
</div><!-- #wrapper -->
</div> <!-- #tribe-events-pg-template -->
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment