How can I remove the time from the Recent News sidebar widget? I only want the date to be displayed.
Please go to wp-content\themes\corona\framework\php folder and open class-framework-widgets.php file and find
$time_format = apply_filters( 'avia_widget_time', get_option('date_format')." - ".get_option('time_format'), 'avia_newsbox' );
and change it to
$time_format = apply_filters( 'avia_widget_time', get_option('date_format'), 'avia_newsbox' );
I didn’t find that exact code in the file you mentioned. Can I send you the file for you to check?
Please replace class-framework-widgets.php file with http://pastebin.com/27FGPjjd
Do not forget to backup the file prior to changes
The topic ‘Remove time for recent news’ is closed to new replies.