Hi Support,
Is it possible to change the date that shows above each news item.
At the moment, the date shown is the date when the page is created.
How can I change this?
Thanks in advance.
Hi Wils1234!
Thank you for using Enfold.
Would you like to change it to the modified date? Or what? You can edit config-templatebuilder > avia-shortcodes > magazine.php then look for this code:
$time = get_the_time(get_option('date_format'), $entry->ID);
And this one:
$output .= "<time class='av-magazine-time updated' {$markupTime}>".$time."</time>";
Regards,
Ismael
Hi Ismael,
I am transferring all news articles (pages) manually from an old website onto a new website using wordpress/enfold.
I add an old news article as a page today. This event happened on the 2nd February 2014. However, the magainze element shows the date created today. I would like to change the date to when the event actually happened.
This only applies to previous news articles. Any new articles that happen from now on will have the correct date.
Look forward to your reply.
Hi!
You can manually edit the published date of the posts. Look for Published > Published on: setting. Click edit.
Regards,
Ismael
Thnak you, simple… but if you don´t know.. thank you.