Hey there,
first of all your theme is fantastic! It has lot of options and is incredibly flexible! Thank you!
But, to achieve the PERFECT website, we have small request – would like to remove:
1. Time only of “Latest News’-widget
2. Time AND date of “Latest Portfolio”-widget
Tried using sort of “.news-time {display: none; }”, but that removes time and date of both widgets. Can you help?
Thanks a lot in advance!
Pede
Hi Pede,
Can you post the link to your website please?
Regards,
Josue
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
#portfoliobox-2 span.news-time {
display: none;
}
Please go to wp-content\themes\enfold\framework\php folder and open class-framework-widgets.php file and find
get_the_time($time_format)
and change them to
get_the_date()
Cheers!
Yigit
Hey!
Try adding this code to the Quick CSS:
#portfoliobox-2 .news-time {
display: none;
}
And this to the theme functions.php:
function custom_widget_time($time_format, $location) {
$time_format = get_option('date_format');
return $time_format;
}
add_filter('avia_widget_time', 'custom_widget_time');
Cheers!
Josue
Dear all,
thank you so much. I added second code given by Josue and it works! That’s what I wanted to achieve!
Great – thank you, guys!
Cheers
Pede
You are welcome Pede, always glad to help :)
Regards,
Josue