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

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • 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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Simple Star Rating Block〉的開發相關工作。

參與者

將〈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