Home › Forums › Calendar Products › Events Calendar PRO › _EventStartDate formatting
- This topic has 7 replies, 2 voices, and was last updated 10 years, 4 months ago by
George.
-
AuthorPosts
-
December 14, 2015 at 7:56 pm #1041269
Vince
ParticipantAny way I can change format here and is there a way to add am/pm?
December 14, 2015 at 9:59 pm #1041295George
ParticipantHey @Vince,
Thanks for reaching out!
The _EventStartDate meta field itself is never displayed anywhere in its raw format.
This format is a specific format that is then converted into various display formats elsewhere in the calendar – and so a significant amount of core functionality relies on the format of the _EventStartDate meta field.
In other words: no, you cannot change this field’s formatting. Not easily, at least. And for good reason – the meta field is for use inside the plugin code, it is never displayed in its “raw” format. But this “raw” format is very useful for other features of the code.
I hope this answer isn’t too vague – please let me know if it helps at all, and what your thoughts are in regards to all of this.
Thanks!
GeorgeDecember 15, 2015 at 8:25 am #1041729Vince
ParticipantDo you have any other alternatives to show date and time? I have am using revolution slider plugin that pulls my events and displays them in a front end slider. Would like to pull details from the event like date and time.
December 15, 2015 at 8:51 am #1041738George
ParticipantHey Vince,
Sure thing, you can use these functions to pull out date and time from an event:
tribe_get_start_date()
tribe_get_end_date()
Cheers!
GeorgeDecember 15, 2015 at 9:28 am #1041763Vince
ParticipantThanks would I have to code that into the Revolution Slider via PHP? Can it be called via META? Also do you know of another front-end plugin to display events that shows event information? Basically want something MORE than your little widget that shows upcoming events – something where I can includes a large slider or images.
Is there a shortcode for your Photo View? Can it be configured to only show image, title, date, time?
-
This reply was modified 10 years, 4 months ago by
Vince.
December 15, 2015 at 9:40 am #1041778George
ParticipantThere is not a shortcode for the Photo View, unfortunately.
As for your other questions,yes, you would have to code things into Revolution Slider if you want to modify Revolution Slider. Yes, you can call data directly from Meta fields. And no, I unfortunately do not know of another plugin at this time that does exactly what you are asking.
Thanks,
GeorgeDecember 15, 2015 at 10:07 am #1041799Vince
ParticipantThanks George!
December 15, 2015 at 10:54 am #1041836George
ParticipantNo problem! 😀
I’ll close up this thread for now – best of luck with your project.
Cheers,
George -
This reply was modified 10 years, 4 months ago by
-
AuthorPosts
- The topic ‘_EventStartDate formatting’ is closed to new replies.
