If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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>";
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.
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. :)
The topic ‘remove hours and minutes from time posted in "Flash Light latest news" widget’ is closed to new replies.