Add Star Rating To Genesis Featured Posts Widget

The code in this download folder adds an extra setting to the Genesis Featured Posts widget to Show Star Rating for each post.

You can then add a rating from 1 – 5 for each post assigned to the reviews category.

Here’s what it looks like on the front end :

Rating Stars Genesis Featured Posts Widget

The rating is added using custom fields like this :

Custom Fields For Star Rating

You can also add the rating and review system using ACF or gravity forms which enables front end users to submit a rating for review by a administrator.

Demo Video #

Shows a star rating system with Schema added to the Genesis Featured Posts widget enabling users to rate posts assigned to the reviews category.

Tested using the Magazine Pro child theme by StudioPress however will work in any Genesis child theme.

Installation Steps

There’s 4 steps :

# Step 1 – Create a new category named Reviews and assign posts to this category which can be star rated as seen in the demo video.

Step 1 - Create Reviews Category

# Step 2 – upload the file named featured-post-reviews-widget.php to your child theme folder.

Step 2 Upload widget file

# Step 3 – Copy ( without the opening PHP tag ) & paste the PHP code from functions.php file to the end of your child themes functions file.

Step 3 Add code to functions file

# Step 4 – Copy & paste the following CSS to the end of your child themes style sheet and clear caching.

Step 4 paste CSS to style sheet

Related Tutorials

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.