Free Directory, Listing & Classifieds WordPress Plugin Support Extensions Reviews Rating showing up on vendors list but not on listing page

Rating showing up on vendors list but not on listing page

  • Author
    Posts
  • nataliagzzh@gmail.com

    Hello,
    I am using the reviews extension, and ratings (stars) appear on the vendor page
    https://huntingmx.com/vendor/
    but not on the listings page
    https://huntingmx.com/cacerias/
    how can I enable ratings to be displayed like attributes on the main or secondary block?

    ihordeveloper

    This is strange, please make sure that there were no code changes that may cause this issue, also you can try refreshing the site cache and reject/approve one of the reviews in WordPress/Comments section, this should trigger the rating calculation.

    nataliagzzh@gmail.com

    I have two approved comments on different listings, I refreshed the cache and the only code I added is CSS and I tried taking it all away to see if something was overlapping or hiding the rating but it’s not that. I checked and the plugin is updated, what else could it be?

    ihordeveloper

    Please try to unapprove/approve one of the reviews and check the listing page, if this issue persists and there are no caching plugins that may cause this please send temporary WP access to support@hivepress.io and I’ll check it.

    JorgeIII

    Hello,
    I’ve looked further into the Extension code and it appears that the function get_rating() is returning false, hence the reviews cannot be shown in the listings page. I don’t quite understand the function get_rating from class-review.php. It receives $listing_ids as a parameter and then validates that these listing_ids are valid, but I’m not sure how is it trying to get the id from the listing in listing-ratings.php.

    ihordeveloper

    Seems like this occurs with WordPress 5.5+ only, I guess they changed something in the “wp_comments” table schema. Will update this extension as soon as possible.

    JorgeIII

    Thanks a lot! I can roll back to a previous WP version until then, there seems to be no issue with those. Until then, we’ll wait for the update.

    BrownC

    Hi ihor,

    Wanted to find out if there is an update on this thread? I’m having the same issue of reviews not showing on the listings page only on vendors page. I’m on WordPress 5.5.1

    secondly, is it possible to allow reviews to posted by posting stars alone (as an option) rather than requiring followup text and having it as an option rather

    ihordeveloper

    I still can’t reproduce this locally, this issue seems to be specific to caching settings or hosting providers. You can send temporary WP access via email to support@hivepress.io to help to detect this issue, if there’s a bug it will be fixed.

    It’s possible to make the review text optional, but this requires a custom code snippet.

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

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.