...

ACF Star Rating Field Extended – Free Open-Source WordPress Plugin with Elementor Support

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:

  1. Download the latest release from GitHub Releases
  2. Upload the acf-star-rating-field-extended folder to your /wp-content/plugins/ directory
  3. Activate the plugin through the Plugins menu in WordPress
  4. 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:

  1. Open the Elementor editor on any page or template
  2. Search for the “ACF Star Rating” widget and drag it onto your layout
  3. Enter your ACF Field Name (e.g., rating) in the Content tab
  4. 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:

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

Yes! The plugin is 100% free and open source under the MIT license. There are no premium tiers, paywalls, or hidden feature locks. You can use it on unlimited sites for personal and commercial projects.
Absolutely. ACF Star Rating Field Extended is fully compatible with both the free version of ACF and ACF PRO. It registers a custom field type that integrates seamlessly into the ACF field group editor.
No. The plugin works perfectly without Elementor. You can use the shortcode [acf_star_rating field=”field_name”] or the PHP rendering method to display ratings in any theme. Elementor is optional — but if you have it, you get a bonus visual widget.
Yes, the plugin is compatible with WordPress multisite installations. You can network-activate it or activate it on individual sites within your network.
No. The plugin has zero external CDN dependencies. All icon assets (Font Awesome 4.2.0) are served locally from your server. The footprint is minimal, and it follows WordPress performance best practices.
If you’re using Elementor, you can change star color, size, gap, and alignment directly in the widget’s Style tab. For theme developers, you can also override the CSS classes using the acf_star_rating_field_admin_star_classes filter hook.
Security is a core priority. The plugin uses strict output escaping throughout (wp_kses_post, esc_html, esc_attr) and follows WordPress.org plugin review security standards. It has been audited for XSS, SQL injection, and CSRF vulnerabilities.

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.

Let's discuss your project

We are committed to understanding your requirements and crafting a tailored solution that aligns with your goals.

Enter your details and someone from our team will reach out to find a time to connect with you.

Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.