Skip to content

Instantly share code, notes, and snippets.

@thecodepoetry
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thecodepoetry/bf7758deab06ede0912e to your computer and use it in GitHub Desktop.
Save thecodepoetry/bf7758deab06ede0912e to your computer and use it in GitHub Desktop.
The7.2 event calender plugin fix
<?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(); ?>
@thecodepoetry
Copy link
Author

Save this file as ../dt-the7/tribe-events/default-template.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment