daily pastebin goal
80%
SHARE
TWEET

cal widget fix

BakerMan Dec 6th, 2013 114 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. if ( !defined('ABSPATH') ) die('-1');
  3.  
  4. $args = tribe_events_get_mini_calendar_args();
  5. ?>
  6.  
  7. <div class="tribe-mini-calendar-wrapper">
  8.  
  9.         <!-- Grid -->
  10.         <?php
  11.                 tribe_show_month( array(
  12.                         'tax_query' => $args['tax_query'],
  13.                         'eventDate' => $args['eventDate'],
  14.                 ), 'pro/widgets/mini-calendar/grid' ); ?>
  15.  
  16.         <!-- List -->
  17.         <?php if ( 0 < $args['count'] ) tribe_get_template_part( 'pro/widgets/mini-calendar/list' ) ?>
  18.  
  19. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top