Tagged: date format, post date, post meta
I used the code and shortcodes provided in the link below to display the title and date of a post. However, is it possible to show the date as ‘March 17, 2020’
instead of ‘2020-03-17’?
Thanks!
Hey NicomIT,
Please change this line:
return get_the_date('Y-m-d', $post->ID);
to
return get_the_date('F j, Y', $post->ID);
Best regards,
Victoria
That worked. Thanks Victoria.
Hi NicomIT,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria