Highlight currently happening event in the month view
-
Hi there,
I was wondering if anyone can help with the code to include in the template to add a specific class to an event that is currently happening in month view.
I feel that it should probably go into calendar-event.php template and be structured something like this:if ( ! empty( $event->is_now ) ) {
$classes[] = ‘happens-now’;
}but I’m not versed enough in php to figure it out.
Any help will be greatly appreciated!
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Highlight currently happening event in the month view’ is closed to new replies.