Simple Star Rating Block

描述

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.

螢幕截圖

  • 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

Blocks

This plugin provides 1 block.

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

安裝

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.

常見問題

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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Simple Star Rating Block” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Simple Star Rating Block 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Simple Star Rating Block 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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