Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #218700

    Hi!

    How can I remove the time from the Recent News sidebar widget? I only want the date to be displayed.

    Thank you,

    Best regards,
    Poirot

    #218825

    Hi Poirot!

    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' );

    Best regards,
    Yigit

    #219041

    Hi Yigit!

    I didn’t find that exact code in the file you mentioned. Can I send you the file for you to check?

    Best regards,
    Poirot

    #219096

    Hey!

    Please replace class-framework-widgets.php file with http://pastebin.com/27FGPjjd
    Do not forget to backup the file prior to changes

    Cheers!
    Yigit

    #219891

    Hi Yigit,

    It works, thank you for the file! :)

    Regards,
    Poirot

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Remove time for recent news’ is closed to new replies.