Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( !defined('ABSPATH') ) die('-1');
- $args = tribe_events_get_mini_calendar_args();
- ?>
- <div class="tribe-mini-calendar-wrapper">
- <!-- Grid -->
- <?php
- tribe_show_month( array(
- 'tax_query' => $args['tax_query'],
- 'eventDate' => $args['eventDate'],
- ), 'pro/widgets/mini-calendar/grid' ); ?>
- <!-- List -->
- <?php if ( 0 < $args['count'] ) tribe_get_template_part( 'pro/widgets/mini-calendar/list' ) ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement