Hi, I have the Enfold Latest Portfolio Widget in the footer of my website and would like it to show just the Month and Year instead of the Month, Day, Year and Time. Can I edit a file or change that using CSS.
My site is here and it is in the Footer. I thought it would look better just showing recent project month and year.
Thanks so much for your help as always!
Hey Eleina,
Thank you for the inquiry.
You can add this filter in the functions.php file to adjust the date format in your Recent Projects widget.
add_filter('avia_widget_time', 'change_avia_date_format', 10, 2);
function change_avia_date_format($date, $function) {
return get_option('date_format');
}
Best regards,
Ismael