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

    Hello,

    When I Search something that it can not find in our site,
    it will go to a Search results page that there is a ‘Feel like browsing some posts instead?’ in the bottom.
    it shows Popular, Recent, and Comments.
    I do not like it to show Comments tab.
    How to disable the Comments tab.?

    Here is an image to show which I mean.

    #826786

    Hey Zeng,

    I can’t see that tab on your site, did you manage to remove it?

    Best regards,
    Rikard

    #828457

    Hello Rikard,

    Yes I have to remove it. but I was remove the code,

    Do you have some recommend way to remove it ?

    Best regards,

    #828612

    Hi,

    Ok, did you hide it with CSS or did you use some other method?

    Best regards,
    Rikard

    #829124

    Hello Rikard

    I was delete these code in class-framework-widgets.php

    //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>”;

    DO you have any other good ways ?

    Best regards,

    #830896

    Hi,

    Thank you for the update.

    Please remove the modification then add the following css codes in the Quick CSS field.

    .search .widget.avia_combo_widget, .search h3 {
        display: none !important;
    }

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.