Make star rating in listing block clickable

Hi, I would like to make the star rating and number of reviews shown in brackets in the listing card on the services page clickable and allow the user to therefore navigate to that listing’s review page.

Hi,

Thank you for your feedback. The average rating and review count area is currently clickable and redirects users to the reviews section. However, we’ll work on improving this UX in the future.

If you need more specific functionality, this would require custom development.

If you’re comfortable with coding, you can override the template and make the necessary code changes using the collection of code snippets found here: Search · user:hivepress · GitHub as well as other developer resources: Getting started | Developer Docs.

Alternatively, you may want to consider hiring a professional for custom development: Customize your website | HivePress.

I am unable to currently click on the review and rating, it does not redirect to the reviews section. Are there setting I may need to change to make this work?

Hi,

Thank you for your feedback. We plan to add clickable reviews in future versions of the themes. As a workaround, if you are familiar with coding or have a developer, we can provide general guidance. Let us know if that works for you.

Hi,

yes familiar with coding, using WP Code snippets for custom changes. Is there a way to achieve this via a php snippet?

The easiest way to fix this before the official release is overriding this template file via a child theme Loom | Free Screen & Video Recording Software | Loom and changing lines 7 and 13 to:

<a href="<?php echo get_permalink(); ?>" class="hp-listing__rating hp-rating">
...
</a>

Hope this helps