Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addingCalendarWrapper()
- {
- if(tribe_is_month())
- {
- echo '<div class="calendarwrapper">';
- }
- }
- add_action('tribe_events_before_the_grid', 'addingCalendarWrapper');
- function closingCalendarWrapper()
- {
- if(tribe_is_month())
- {
- echo '</div>';
- }
- }
- add_action('tribe_events_after_the_grid', 'closingCalendarWrapper', 500);
Advertisement
Add Comment
Please, Sign In to add comment