ACF Rating Field
ACF rating field for WordPress with decimal values and customizable symbol (★ by default)
by Jean-Philippe Fleury · github.com/jpfleury/acf-rating-field
★ 1stars
7release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/jpfleury/acf-rating-field/releases/download/1.0.14/acf-rating-field.zipFrom the readme
ACF Rating Field
ACF Rating Field is a WordPress plugin that adds a new field type to ACF, allowing you to manage ratings with decimal values. ACF (Advanced Custom Fields) is a popular WordPress plugin that enables developers to add custom fields to posts, pages, and other content types. By default, the rating field uses a star ("★") symbol, but this can be customized to suit your needs.
Here are examples of how a rating of 3.6 out of 5 can be rendered:
Installation
Download the latest version on GitHub.
Extract the archive and copy the folder (acf-rating-field) to the WordPress plugins directory (/wp-content/plugins/).
Go to the WordPress Plugins page on your website (your-website.ext/wp-admin/plugins.php) and activate the ACF Rating Field plugin.
You can also enable auto-updates.
Usage
Admin
Go to the ACF field groups page (your-website.ext/wp-admin/edit.php?posttype=acf-field-group), add a new field group, and choose the field type Rating:
Adjust the field settings as needed.
Front-end
To display the field value, you can use the acfratingfield shortcode. By default, it retrieves the custom field value for the current post. For example, the following shortcode:
Read the full README on GitHub →