Disable reviews

This topic contains 10 replies, has 3 voices, and was last updated by  anders 5 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #466644

    anders
    Full Member
    Post count: 121

    Hi,

    I´m trying to find the best way to disable reviews completely?
    I tried this but it did not have any effect (I´m using v2):
    https://wpgeodirectory.com/docs-v2/faq/common-examples/#ratings

    But from what I can tell the following css works:
    .geodir-post-rating {display: none;}
    Is that what I should use in V2?
    Is there really no way to instead remove reviews through settings or code?

    Thanks!

    #466646

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Did u set Places>Settings>General>Advanced>Disable ratings?

    Are you trying to remove comments also?

    Stiofan

    #466678

    anders
    Full Member
    Post count: 121

    Hi Stiofan

    Yes, I want to remove comments also.
    But If I check that box then “No Comments” appear instead of reviews.
    even though I have unchecked Settings > Discussion > “Allow people to post comments on new articles ” ?

    /Thanks!

    #466681

    Alex Rollin
    Moderator
    Post count: 27815

    Could you please share a link to the page?

    Thanks

    #466696

    anders
    Full Member
    Post count: 121
    This reply has been marked as private.
    #466741

    Alex Rollin
    Moderator
    Post count: 27815

    You can use this CSS to remove the rating/comment info from the archive item

    
    
    
    /*GD -  Remove Archive item rating from gd_place Archive pages*/
    li.gd_place .geodir-post-rating {
        display: none;
    }
    
    #466785

    anders
    Full Member
    Post count: 121

    Thank you Alex,

    Yes, I know how to hide this with CSS.

    But I don´t understand the logic behind only having the option “Disable review stars without disabling comments.”
    Why is it not possible to disable both reviews and comments from settings?
    I wanted to make sure this is not a bug and that I´m not missing something
    …and only use css to hide things when there is no other option.

    Thanks!

    #466874

    Alex Rollin
    Moderator
    Post count: 27815

    Comments are a wp feature.

    #467046

    anders
    Full Member
    Post count: 121

    Thank you Alex,

    Yes, and I have unchecked WP settings > Discussion > Allow people to post comments

    Before I use css to hide I just wanted to make sure this is not a v2 bug?
    Is it the intended behaviour to show “no comments” if reviews are disabled?
    “Disable review stars without disabling comments.”

    …I want to disable comments, reviews and favourites
    If it´s not possible without using css to hide things then I will use css, but I wanted to doublecheck first

    Thanks!

    #467051

    Alex Rollin
    Moderator
    Post count: 27815

    It shows no comments if there are no comments, otherwise it shows a comment count.
    Right now CSS is required.

    #467059

    anders
    Full Member
    Post count: 121

    Ok, thank you!

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

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

Open Support Ticket