Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #13190

    I like this recent posts widget, but I didn’t like showing the hours and minutes in addition to the dates listed.

    To do this I modified line 381 in class-framework-widgets.php, changing

    echo "<span class='news-time'>".get_the_time("F j, Y, g:i a")."</span>";


    echo "<span class='news-time'>".get_the_time("F j, Y")."</span>";


    Hi fitzpatrick51,

    I’d like to do the same but can you please tell where I find class-framework-widgets.php? I can’t find any file resembling it in the Themes Editor.

    Many thanks



    Hi Andrew,

    You can find it in: wp-contentthemesflashlightframeworkphpclass-framework-widgets.php.

    Thank you fitzpatrick51 for sharing this information, this would surely be a great help to anyone who wants to customize their flashlight theme. :)




    Many thanks Ismael.

    Outstanding speed of reply with clear concise information.



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

The topic ‘remove hours and minutes from time posted in "Flash Light latest news" widget’ is closed to new replies.