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


    I’m using posts to list future event dates (forward dating the date stamp) which works well except when using the Latest news widget as it also displays the post time (eg 12:01pm), could you let me know how I can delete the time from the datestamp?

    Thank you



    in broadscopeframeworkphpclass-framework-widgets.php replace following code line:

    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>";


    Worked a treat – thanks for this!


    Glad that I could help you.

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

The topic ‘Remove Time from date stamp – Broadscope latest news widget’ is closed to new replies.