Hi @hellodracon,
Thanks for using our plugin.
Currently, we have not passed any class based on event time(past, future, all) but this is possible after the customization code.
Please follow the below-shared instruction:-
Go to plugin main folder template-events-calendar >> templates\list\list.php and add code in $time = $attribute['time']; Line No. 4 and after that Replace $events_html.='<div id="event-'.esc_attr($event_id).'" class="ect-list-post '.esc_attr($list_style).' '.esc_attr($event_type).' '.$time.'">'; code line No. 17,50,86.
2) Current version of our plugin does not support override templates using the theme.
Thanks & Regards
Hello @jyoti197 and thank you for your quick answer.
Yes I did a modification already on this file to compare the date of the event and the actual date, defined a class on that to differentiate events.
It was especially to know if there was an override possibility to make sure the next update wouldn’t erase my modifications, but I’ll edit my file after next update until then.
Thanks a lot, I think that would be a nice update to add this possibility.
Have a nice one !
Hi @hellodracon,
Don’t worry We will add the above-shared code in the next update.
Thanks & Regards
Oh sorry, I was thinking about the override possibility as an update ! But yes, still a good idea to add the passed event thing in it !
Thanks !
-
This reply was modified 4 years, 8 months ago by
conradude.