Genesis Review & Star Rating System For Single Post Types

Genesis Review & Star Rating System For Single Post Types

Author: WP Sites

Date: July 6, 2020 

Category: Theme development, Tips and tricks, Tutorials

(advertorial)

wprssaggregator Genesis Review & Star Rating System For Single Post Types

In this case, the template named single-listing.php enables comment authors to add a review and star rating from 1 to 5 simply by clicking the stars. This template loads on the single listings for AgentPress Pro users however can easily be used in any other theme with any other post type or standard single posts.

Reviews are then displayed before the single entry content with a average rating added before the reviews loop like this :

<img data-attachment-id="73226" data-permalink="https://wpsites.net/web-design/genesis-review-star-rating-system-for-single-post-types/attachment/73225-single-post-review-rating-stars/" data-orig-file="https://wpsites.net/wp-content/uploads/2020/07/73225-single-post-review-rating-stars.png" data-orig-size="918,686" data-comments-opened="1" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="73225-single-post-review-rating-stars" data-image-description data-medium-file="https://wpsites.net/wp-content/uploads/2020/07/73225-single-post-review-rating-stars-800×598.png" data-large-file="https://wpsites.net/wp-content/uploads/2020/07/73225-single-post-review-rating-stars-401×300.png" src="https://wpsites.net/wp-content/uploads/2020/07/73225-single-post-review-rating-stars.png" alt="Add Review Star Ratings To Single Listings" width="918" height="686" class="alignnone size-full wp-image-73226"

This is the first part of the original article by WP Sites.
Click here to read the full article in a new tab!

(advertorial)

toolset logo tag line white Genesis Review & Star Rating System For Single Post Types

Genesis Review & Star Rating System For Single Post Types

World of WordPress is hosted by:

Servebolt: next level high performance hosting.

While others try to add more components to their hosting to make it go faster, we decided to build our hosting cloud fast from the ground up. We did so by stripping out everything we knew was deadweight.