Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //set mini cal days as links
- if( function_exists('tribe_get_linked_day') ) {
- $date = tribe_get_start_date( '', false, 'Y-m-'.$day.'' );
- $return .= ( count($monthView[$day]) ) ? "<a href='" . tribe_get_day_link($date) . "' class='tribe-events-mini-has-event'>$day</a>" : $day;
- } else {
- $return .= ( count($monthView[$day]) ) ? "<a class='tribe-events-mini-has-event'>$day</a>" : $day;
- }
Add Comment
Please, Sign In to add comment