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 :
The rating is added using custom fields like this :
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.
There’s 4 steps :
# Step 2 – upload the file named featured-post-reviews-widget.php to your child theme folder.
# 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 4 – Copy & paste the following CSS to the end of your child themes style sheet and clear caching.