ACF Star Rating Field Extended
Table of Contents
Toggle- ACF Star Rating Field Extended
- What Is ACF Star Rating Field Extended?
- ✨ Key Features at a Glance
- How to Install ACF Star Rating Field Extended
- Using the Plugin with Elementor
- Developer-Friendly: Shortcodes, Hooks & Programmatic Rendering
- Why Choose ACF Star Rating Field Extended Over Alternatives?
- Real-World Use Cases
- Frequently Asked Questions
- Ready to Add Star Ratings to Your WordPress Site?
The free, open-source WordPress plugin that brings beautiful, customizable star ratings to Advanced Custom Fields — with native Elementor integration built right in.
If you’ve ever needed to add star ratings to your WordPress posts, pages, or custom post types using Advanced Custom Fields (ACF), you’ve probably noticed the gap: ACF doesn’t ship with a native rating field type. And while there are solutions out there, most are outdated, insecure, or lack support for modern page builders like Elementor.
That’s exactly why we built ACF Star Rating Field Extended — a free, production-ready, PSR-compatible WordPress plugin that solves this problem once and for all.
What Is ACF Star Rating Field Extended?
ACF Star Rating Field Extended is an open-source WordPress plugin that adds a fully customizable “Star Rating” field type to Advanced Custom Fields. Whether you’re building a review site, a product catalog, a portfolio, or any content that needs user-facing ratings, this plugin gives you everything you need — right out of the box.
Originally forked from Kevin Ruscoe’s foundational ACF Star Rating Field, this extended version is a complete rewrite featuring:
- Native Elementor widget with real-time preview
- WordPress.org security compliance with strict output escaping
- PSR-compatible PHP namespacing for zero plugin conflicts
- Zero external CDN dependencies — all assets served locally
- Shortcode support for easy theme integration
✨ Key Features at a Glance
Customizable Star Ratings (1–10)
Add fully customizable star ratings to any post type, taxonomy, or ACF options page. Configure between 1 to 10 stars per field for maximum flexibility.
Native Elementor Widget
A dedicated 'ACF Star Rating' widget for Elementor. Style star color, size, gap, and alignment directly in the visual editor — no code required.
Real-Time Preview
See exactly how your star rating output will look inside the Elementor builder, even before you've saved any ACF data. No guesswork needed.
Security First
100% compliant with WordPress.org security standards. Uses strict output escaping (wp_kses_post, esc_html, esc_attr) throughout the entire codebase.
Zero External Dependencies
All assets including Font Awesome 4.2.0 are bundled locally. No external CDN calls means faster page loads, better privacy, and full GDPR compliance.
PSR-Compatible Architecture
Modern, namespaced PHP structure (ACF_Star_Rating_Extended) ensures zero conflicts with other plugins and easy maintenance for developers.
How to Install ACF Star Rating Field Extended
Getting started takes under 2 minutes:
- Download the latest release from GitHub Releases
- Upload the
acf-star-rating-field-extendedfolder to your/wp-content/plugins/directory - Activate the plugin through the Plugins menu in WordPress
- Create a field — add a new field of type “Star Rating” in any ACF Field Group
Requirements:
- WordPress 5.0 or higher
- Advanced Custom Fields (ACF) 5.x or ACF PRO
- PHP 7.4 or higher
- Elementor (optional — for the visual widget)
Using the Plugin with Elementor
One of the most powerful features of this plugin is its native Elementor widget. Here’s how to use it:
- Open the Elementor editor on any page or template
- Search for the “ACF Star Rating” widget and drag it onto your layout
- Enter your ACF Field Name (e.g.,
rating) in the Content tab - Customize the Star Color, Size, Gap, and Alignment in the Style tab
The real-time preview means you can see your changes live — no need to save and refresh the page.
Developer-Friendly: Shortcodes, Hooks & Programmatic Rendering
Whether you’re a theme developer, plugin builder, or site administrator, ACF Star Rating Field Extended gives you multiple ways to render ratings:
Shortcode
Drop this shortcode anywhere in your content editor, text widget, or page builder to display a rating:
[acf_star_rating field="your_field_name"]Programmatic PHP Rendering
Need to render a rating directly in your theme files? Use the static method:
echo \ACF_Star_Rating_Extended\Field_Type::static_render_rating('my_field_name', $post_id);Custom Filters & Hooks
Customize the Font Awesome classes used for star icons in the admin panel:
add_filter('acf_star_rating_field_admin_star_classes', function($classes) {
// [Empty, Half, Full]
return ['fa fa-star-o', 'fa fa-star-half-o', 'fa fa-star'];
});This level of extensibility makes the plugin ideal for agencies and developers who need fine-grained control over their star rating implementation.
Why Choose ACF Star Rating Field Extended Over Alternatives?
There are other ACF rating plugins out there, so why choose this one? Here’s what sets ACF Star Rating Field Extended apart:
- Elementor Native — Not just "compatible." It ships with a dedicated Elementor widget with visual controls.
- Security Audited — Built with WordPress.org plugin review standards. Every output is properly escaped.
- Zero CDN Dependencies — All icon fonts are bundled locally. No external requests, better GDPR compliance.
- Modern PHP Architecture — PSR-compatible namespacing prevents conflicts with other plugins.
- Actively Maintained — Regular updates, bug fixes, and new feature development on GitHub.
- 100% Free & Open Source — MIT licensed, no premium tiers, no paywalls, no feature locks.
Real-World Use Cases
ACF Star Rating Field Extended is perfect for a wide range of WordPress projects:
- Product Review Sites — Display editorial ratings on product review posts and archive pages
- Restaurant & Hotel Directories — Add star ratings for cleanliness, service, food quality, etc.
- Portfolio Websites — Rate skill proficiency levels on team member profiles
- Online Course Platforms — Show course difficulty or student satisfaction ratings
- Real Estate Listings — Rate properties on location, amenities, and value
- Recipe Blogs — Display recipe difficulty and taste ratings
- WooCommerce Product Pages — Supplement native WooCommerce reviews with custom editorial ratings via ACF fields
Frequently Asked Questions
Is ACF Star Rating Field Extended free to use?
Does it work with ACF PRO?
Do I need Elementor to use this plugin?
Is it compatible with WordPress multisite?
Will it slow down my website?
How do I customize the star colors?
Is the plugin secure?
Ready to Add Star Ratings to Your WordPress Site?
Download ACF Star Rating Field Extended for free from GitHub. Star the repo, report issues, or contribute to make it even better.