0

I am using The Events Calendar (https://theeventscalendar.com/) I am running a custom WordPress loop, and looking to display the published date for each event. Inside the loop, I am using the_date();. However, this is displaying the event start date, not the published date. I've searched and searched and cannot find how to display the published date. Please help!

2
  • You will need to ask the plugin developers for support. Third party plugins are off topic here. Commented Aug 24, 2022 at 18:07
  • Sorry. I did ask the plugin developers, but no response. Commented Aug 25, 2022 at 20:42

1 Answer 1

0

Support answered and said they didn't know how to get the published date, but they would ask their team. For anyone else looking for this answer, I finally found that I can use this to get this published date:

$date = mysql2date('F d, Y', get_post_time('Y-m-d H:i:s', true), false); 

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.