Forums
Forums / Plugin: The Events Calendar / meta Data
(@lanastudio)
11 years, 3 months ago
Hi, Is there any way to change the date and time display for an event? I use a meta data from your plugin to create a slider and the date/time doesn’t look very appealing: http://awesomescreenshot.com/0864elxrf6 I would prefer something like Day, Month Date, Year – time to Day, Month Date, Year I couldn’t find it how to do it using meta data:https://theeventscalendar.com/knowledgebase/wordpress-post-meta-data/ Thank you, Lana
https://ww.wp.xz.cn/plugins/the-events-calendar/
(@brook-tribe)
Howdy Lana,
You definitely can do that. Checkout these two functions, you can pass them a PHP date formatting specifier and thus get any format you want:
https://theeventscalendar.com/function/tribe_get_start_date/
https://theeventscalendar.com/function/tribe_get_start_time/
Cheers!
– Brook
The topic ‘meta Data’ is closed to new replies.