Hide Reviews if no review is available in listing and home page

This topic contains 12 replies, has 4 voices, and was last updated by  Stiofan O’Connor 5 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #435856

    piyush jaiswal
    Free User
    Post count: 224

    Hi,

    We have put in the below text code through Snippet and in CSS of geodirectory but still 0 reviews with empty star is visible.

    Pls. help to remove from listing pages if no reviews are avaliable.

    Code:

    function _gd_custom_hide_no_review_text( $class ) {
    global $post;
    if ( empty( $post->rating_count ) ) {
    $class .= ‘gd-custom-no-review’;
    }
    return $class;
    }
    add_filter( ‘geodir_post_view_article_extra_class’, ‘_gd_custom_hide_no_review_text’, 10, 1 );

    //Anded this in GD CSS
    .gd-custom-no-review .geodir-entry-meta a.geodir-pcomments {
    display: none !important;
    }

    #435858

    Kor
    Moderator
    Post count: 16516

    Hi Piyush,

    I believe you are referring to this post https://wpgeodirectory.com/support/topic/for-no-review-listings-how-can-we-hide-the-no-reviews-link/#post-401318

    Could you share your WP admin access here in private reply so that we could check on it?

    Thanks!

    #435928

    piyush jaiswal
    Free User
    Post count: 224
    This reply has been marked as private.
    #435955

    Kor
    Moderator
    Post count: 16516

    Hi Piyush,

    Thanks for your reply. The login credentials you’ve provided are invalid. Also, please login to the account that you purchased our membership/product so that we could assist you further with this.

    #435962

    piyush jaiswal
    Free User
    Post count: 224
    This reply has been marked as private.
    #435973

    Kor
    Moderator
    Post count: 16516

    Hi Piyush,

    Thanks for your reply. From your account information, it states that you’ve not subscribed to a membership. Kindly purchase/renew our products here using this link https://wpgeodirectory.com/downloads/membership/

    #435983

    piyush jaiswal
    Free User
    Post count: 224
    This reply has been marked as private.
    #436003

    piyush jaiswal
    Free User
    Post count: 224

    Hi Any feedback??

    #436015

    Kor
    Moderator
    Post count: 16516

    Hi Piyush,

    I will check with my colleague to see why your account is displaying “Free User” status when you’ve installed all of our premium addons.

    Thanks!

    #436031

    piyush jaiswal
    Free User
    Post count: 224
    This reply has been marked as private.
    #436070

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    we are only able to provide premium support for active members.

    You can sign up again here: https://wpgeodirectory.com/downloads/membership/

    #436071

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #436073

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
Viewing 13 posts - 1 through 13 (of 13 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket