Last active
August 29, 2015 14:10
-
-
Save thecodepoetry/bf7758deab06ede0912e to your computer and use it in GitHub Desktop.
The7.2 event calender plugin fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 | |
* | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { | |
die( '-1' ); | |
} | |
$config = Presscore_Config::get_instance(); | |
presscore_config_base_init(); | |
get_header(); ?> | |
<div id="content" class="content" role="main"> | |
<div id="tribe-events-pg-template"> | |
<?php tribe_events_before_html(); ?> | |
<?php tribe_get_view(); ?> | |
<?php tribe_events_after_html(); ?> | |
</div> <!-- #tribe-events-pg-template --> | |
</div> | |
<?php do_action('presscore_after_content'); ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save this file as ../dt-the7/tribe-events/default-template.php