Tagged: 

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

    Hi,

    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

    #46072

    Hey,

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

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

    with:

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

    #46073

    Worked a treat – thanks for this!

    #46074

    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.