bigfabb5
Member
Posted 2 years ago #
Hello,
With Event Calendar 3.1.4 how is it possible with the fonction "ec3_get_events()" to add the end time and end date if they exists ?
Like that :
Standard date (DD/MM - HH:MM): 18/09 - 16:00 title of events
With end time (DD/MM - HH:MM-HH:MM): 18/09 - 16:00-18:00 title of events
With end date (DD/MM-DD/MM): 18/09-19/09 title of events
Thank you !
Fab
The simple answer is "you can't". The ec3_get_events() function does not pull the end time and end date in its mysql query.
moshxsoft
Member
Posted 2 years ago #
The simple answer is "you can't". The ec3_get_events() function does not pull the end time and end date in its mysql query.
same answer
hector.lorenzo
Member
Posted 1 year ago #
Hi!
I think you can. Try this:
http://wpcal-archive.firetree.net/2008-May/003147.html
Works like magic...
Hector
Mr_Incredible
Member
Posted 1 year ago #
Hi!
I think you can. Try this:
http://wpcal-archive.firetree.net/2008-May/003147.html
Works like magic...
Hector
I can confirm that the link does indeed work.
I'd also make one addition to the instruction to remove the ":" after the start date.
On line 384, remove the ":" from the end of the %DATE% variable.
You can see the Calendar widget with the from and to date here.