Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Don't load directly
- if ( !defined('ABSPATH') ) { die('-1'); }
- // Load your theme's standard header
- get_header();
- // Show any additional HTML specified in the settings
- tribe_events_before_html();
- // Create the title: we cannot use the tribe_events_title() tag
- // as it will assume we are viewing the upcoming events list rather
- // than the month view
- echo '<h2 class="tribe-events-cal-title"> Calendar </h2>';
- // Load the gridview
- include(TribeEventsTemplates::getTemplateHierarchy('gridview'));
- // Show any additional HTML specified in the settings
- tribe_events_after_html();
- // Close out with the theme's regular footer
- get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement