Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #21880


    how can I hide the TIME (not the date!) in CORONA’s Widgets (latest news, combo widget)?

    Like here in the blog’s sidebar:


    I have checked the class-framework-widgets.php and replaced in line 391

    if(empty($avia_config) || 'display title and excerpt' != $excerpt) { echo "<strong class='news-headline'>".get_the_title()."<span class='news-time'>".get_the_date($date_format)."</span>"; }

    the part get_the_time($time_format) with this string: get_the_date($date_format)

    So far so good – now I have no TIME in the “latest news” widget:

    But I found nothing similar in this PHP file concerning the combo widget:

    echo $before_widget;

    echo "<div class='tabcontainer tab_initial_open tab_initial_open__1'>";

    echo '<div class="tab first_tab widget_tab_popular"><span>'.__('Popular', 'avia_framework').'</span></div>';

    echo "<div class='tab_content'>";


    echo "</div>";

    echo '<div class="tab widget_tab_recent"><span>'.__('New', 'avia_framework').'</span></div>';

    echo "<div class='tab_content'>";

    avia_get_post_list('showposts='. $posts .'&orderby=post_date&order=desc');

    echo "</div>";

    echo '<div class="tab widget_tab_comments"><span>'.__('Comments', 'avia_framework').'</span></div>';

    echo "<div class='tab_content'>";

    avia_get_comment_list( array('number' => $posts, 'status' => 'approve', 'order' => 'DESC') );

    echo "</div>";

    echo '<div class="tab widget_tab_tags"><span>'.__('Tags', 'avia_framework').'</span></div>';

    echo "<div class='tab_content tagcloud'>";


    echo "</div>";

    echo '<div class="tab last_tab widget_tab_categories"><span>'.__('Categories', 'avia_framework').'</span></div>';

    echo "<div class='tab_content'>";


    echo "</div>";

    echo "</div>";

    echo $after_widget;

    How can I hide in the combo widget the post’s TIME (not the date)?




    found in the same PHP file around line 959 in the section “get posts posts” the same strings and replaced them as mentioned above:

    echo "<span class='news-time'>".get_the_date($date_format)."</span>";



    Glad that you solved the problem :)

    Best regards,


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

The topic ‘How to hide the TIME in CORONA's combo widget (latest news)?’ is closed to new replies.