Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #21589

    Hi,

    how/where can I delete the date only from the “latest news” widget (posts should still show the date!)?

    thanks.

    #112356

    Hi colorit2,

    If you can provide a link to your site showing that widget we can target it directly with some css.

    Regards,

    Devin

    #112357

    My site is still offline, because it’s still not ready, but this widget looks like the widget on the demo.

    See here “latest news” in the footer:

    http://www.kriesi.at/themes/corona/

    <span class="news-time">31. März 2011 - 13:13</span>

    How can I

    a) hide the whole date + time

    b) hide only the time and keep the date

    thanks.

    #112358

    If you want to keep the date insert following code at the very bottom of functions.php

    add_filter('avia_widget_time', 'avia_date_change');
    function avia_date_change() {
    return get_option('date_format');
    }

    If you want to hide the date completely use following css code:

    .widget .news-time{
    display: none !important;
    }

    #112359

    great, thank you very much, Dude!

    #112360

    Glad we could help :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

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

The topic ‘How to delete the date from the "latest news widget"?’ is closed to new replies.