Add-on to ACF plugin. Add the possibility to use "Star rating" field in ACF.
Plug-in provide three calculation method for voting:
- calculate by cookies (any visitor);
- by IP (any visitor);
- by user id (registered users only).
If "calculated by cookies" is selected, the only users which use browser with cookies enabled will be able to vote
In field settings you can also:
- open|close vote;
- tune the number of stars (1 to 20);
- specify the method of re-voting - possible(period)|never
Use the_field($field_key, $post_id) or get_field($field_key, $post_id) function in page template for field output (see ACF documentation).
In admin panel the rating is inactive.
Attention! Before removing the plugin files read uninstall.php
This ACF field type is compatible with:
- ACF 4
- Copy the
acf-starrating
folder into yourwp-content/plugins
folder - Activate the Star Rating Field plugin via the plugins admin page
- Create a new field via ACF and select the Star Rating type
- Add the_field ($field_key, $post->ID) function in the template of your theme. Please refer to the description and FAQ (readme.txt) for more info regarding the field type settings.
Please see readme.txt
for changelog