Learn to create custom star rating fields in WordPress. Display average and total ratings for books, boosting reader trust and engagement on your author website.
In this lesson, we’ll walk through creating custom rating fields to add star reviews to your book posts, a proven method to engage readers and boost credibility. By setting up both ‘Average Rating’ and ‘Total Ratings’ fields you’ll make it easy for visitors to quickly assess reader feedback and decide on making this book their next read. This practical, step-by-step guide is designed for authors looking to elevate their website’s professional appeal and functionality.
Amazon and other online retailers have educated readers to look for star ratings when they are browsing books. Star ratings are a fast and easy way for potential customers to decide if this book is worth their time and money.
This Average Rating custom field is how we will set the star rating for our books.
There are over 40 field types in ACF. We are only going to use a few of the fields types in this course. Click on the link in the lesson notes if you’d like to discover more about ACF field types.
I’m going to give this AVERAGE RATING field a description. Again this is optional but it does help if you’re coming back to admin the site weeks or months later or if you have another person acting as an admin on your website.
This description is only shown on the editing page. Website visitors do not see these descriptions.
That’s all the configuration needed for this custom field so I’ll click SAVE CHANGES
I’ll go back to the Books Field Group in ACF to add our next custom field, ‘Total Ratings’.
I’ll add an instruction as an aid to completing the field.
I don’t have any further settings for this custom field.
Let’s update these new fields in the Adventure Danger bookpost with extra information.
This lesson covered creating and configuring the ‘Average Rating’ and ‘Total Ratings’ custom fields for your book posts using ACF. By integrating these fields, you can display star ratings directly on your author website, providing readers with valuable insights into your books’ reviews and popularity. These enhancements improve user engagement, help potential readers make informed decisions, and elevate the professional appeal of your website.