Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * This has been customized to load a different template for month views,
- * where we desire a full width layout.
- */
- // Don't load directly
- if ( !defined('ABSPATH') ) { die('-1'); }
- ?>
- <?php get_header(); ?>
- <?php
- if (tribe_is_month()):
- // You would need to change "full-width" (below) to the
- // name of your theme's actual full width template
- get_template_part('full-width');
- else:
- ?>
- <?php tribe_events_before_html(); ?>
- <h2 class="tribe-events-cal-title"><?php tribe_events_title(); ?></h2>
- <?php include(tribe_get_current_template()); ?>
- <?php tribe_events_after_html(); ?>
- <?php get_footer(); ?>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement