Simple Star Rating Block

Beskrivelse

Simple Star Rating Block is a versatile and user-friendly WordPress plugin designed to integrate seamlessly with the Gutenberg editor. Whether you need to display star ratings for products, services, or content, this block makes it easy and efficient.

Development Version can be found on: https://github.com/martinjankov/simple-star-rating-block

Features:

  • Manual Entry: Add star ratings manually.
  • Custom Field Integration: Pull star ratings from custom fields for dynamic content.
  • ACF Integration: To use ACF Custom Fields for pulling rating number from, your ACF Group for the Field needs to have enabled «Show in REST» (see image 4 below).
  • Customization: Adjust star sizes, colors, and styles to match your site’s design.
  • Responsive Design: Ensures star ratings look great on all devices.
  • Ease of Use: Intuitive interface for quick setup and integration.

Arbitrary section

Additional Information:

For more advanced usage, you can hook into the block’s filters and actions to extend its functionality. This is particularly useful for developers who want to integrate the star ratings with other plugins or custom code.

Support:

If you encounter any issues or have questions, please contact us directly at martin@martincv.com.

Skjermbilder

  • Star Rating Block in Action: Demonstrates the star rating block as displayed on a post or page.
  • Block Settings Panel: Shows the settings available for customizing the star rating block.
  • Star Rating Block in Action In Post Context: Demonstrates the star rating block as displayed on a post or page.
  • Enable Option for ACF Group to pull rating from ACF Field : Enable «Show in REST» so that the ACF Group can show in the Fields list on the Simple Star Rating Block

Blokker

Denne utvidelsen gir 1 blokk.

  • Simple Star Rating Block Star Rating Block allows you to display star ratings with manually entered value or pulled from a custom field.

Installasjon

To install the Simple Star Rating Block plugin, follow these steps:

  1. Upload: Upload the plugin files to the /wp-content/plugins/simple-star-rating-block directory.
  2. Activate: Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Configuration: Configure the settings to suit your needs via the Gutenberg block settings.

Ofte stilte spørsmål

How do I add a star rating to a post, page or custom post type?

Simply add the «Star Rating Block» from the Gutenberg block inserter, then set your desired rating or link it to a custom field.

Can I customize the appearance of the star ratings?

Yes, you can customize the size, color, and style of the stars through the block settings in the Gutenberg editor.

I don’t see ACF fields in the Custom Field Key List?

To see the ACF fields in the list you need to enable the ACF Group where the field is to show in the REST API. See screenshot 4 on how to do that.

Vurderinger

Det er ingen omtaler av denne utvidelsen.

Bidragsytere og utviklere

«Simple Star Rating Block» er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen:

Bidragsytere

“Simple Star Rating Block” har blitt oversatt til 1 språk. Takk til oversetterne for deres bidrag.

Oversett “Simple Star Rating Block” til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.

Endringslogg

0.2

  • Bug fix where default custom fields were not showing in the list
    Release Date – 03 January 2025

0.1.1

  • Enabled to successfully pull custom fields from Custom Post Types
    Release Date – 11 August 2024

0.1.0

  • Initial release
    Release Date – 07 July 2024