Title: Simple Star Rating Block
Author: MartinCV
Published: <strong>11 agosto, 2024</strong>
Last modified: 30 julho, 2026

---

Pesquisar plugins

![](https://ps.w.org/simple-star-rating-block/assets/banner-772x250.png?rev=3133729)

![](https://ps.w.org/simple-star-rating-block/assets/icon-256-256.png?rev=3133729)

# Simple Star Rating Block

 Por [MartinCV](https://profiles.wordpress.org/martin7ba/)

[Baixar](https://downloads.wordpress.org/plugin/simple-star-rating-block.0.3.zip)

 * [Detalhes](https://br.wordpress.org/plugins/simple-star-rating-block/#description)
 * [Avaliações](https://br.wordpress.org/plugins/simple-star-rating-block/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/simple-star-rating-block/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/simple-star-rating-block/#developers)

 [Suporte](https://wordpress.org/support/plugin/simple-star-rating-block/)

## Descrição

**Show a star rating anywhere, in seconds.** Drop the Simple Star Rating Block into
any post, page, or custom post type, set a value from 0 to 5 (half and decimal values
render as partial stars), and style it to match your site. Ideal for product reviews,
recipe ratings, testimonials, and comparison posts.

Ratings can be typed in manually or **pulled dynamically from a custom field** —
including ACF fields — so a rating stored on the post updates the block automatically.
Inside a Query Loop, the block always shows the rating of the correct post.

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

### Features:

 * **Manual or dynamic:** Type a rating, or bind the block to a custom field on 
   the post — works with custom post types, including those using a custom REST 
   base.
 * **ACF Integration:** Pull the rating from an ACF field — just enable “Show in
   REST” on the ACF Field Group (see screenshot 4).
 * **Partial stars:** Decimal ratings like 4.3 render as precisely filled stars.
 * **Accessible:** Screen readers announce a clear “Rated 4.5 out of 5” label instead
   of empty markup.
 * **Your style:** Adjust star color and size per block; the stars scale with your
   typography.
 * **Featherweight:** A few hundred bytes of CSS, no external assets, no JavaScript
   on the front end.

### 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](https://br.wordpress.org/plugins/simple-star-rating-block/martin@martincv.com?output_format=md).

## Capturas de tela

[⌊Star Rating Block in Action: Demonstrates the star rating block as displayed on
a post or page.⌉⌊Star Rating Block in Action: Demonstrates the star rating block
as displayed on a post or page.⌉[

**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.⌉⌊Block Settings Panel: Shows the settings available for customizing the star
rating block.⌉[

**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.⌉⌊Star Rating Block in Action In Post Context: Demonstrates
the star rating block as displayed on a post or page.⌉[

**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⌉⌊
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⌉[

**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

## Blocos

Este plugin disponibiliza 1 bloco.

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

## Instalação

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.

## Perguntas frequentes

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

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“Simple Star Rating Block” é um programa de código aberto. As seguintes pessoas 
contribuíram para este plugin.

Colaboradores

 *   [ MartinCV ](https://profiles.wordpress.org/martin7ba/)

Simple Star Rating Block” foi traduzido para 1 localidade. Agradecemos aos [tradutores](https://translate.wordpress.org/projects/wp-plugins/simple-star-rating-block/contributors)
por suas contribuições.

[Traduzir o “Simple Star Rating Block” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/simple-star-rating-block)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/simple-star-rating-block/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/simple-star-rating-block/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/simple-star-rating-block/)
por [RSS](https://plugins.trac.wordpress.org/log/simple-star-rating-block/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 0.3

 * Accessibility: the block now renders with `role="img"` and a “Rated X out of 
   5” label; individual stars are hidden from screen readers
 * Fixed invalid HTML on the frontend (block-level elements inside an inline wrapper)
 * Ratings are now clamped to the 0–5 range, including values pulled from custom
   fields
 * Correct post is now used when the block renders inside a Query Loop
 * Custom fields now load correctly in the editor for custom post types with a custom
   REST base
 * Performance: removed ~13KB of unused CSS from the frontend stylesheet
 * Hardened inline style output
 * Compatibility: tested up to WordPress 7.1
    _Release Date – 30 July 2026_

#### 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_

## Meta

 *  Versão **0.3**
 *  Última atualização **2 meses atrás**
 *  Instalações ativas **60+**
 *  Versão do WordPress ** 6.1 ou superior **
 *  Testado até **7.1.3**
 *  Versão do PHP ** 8.0 ou superior **
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/simple-star-rating-block/) e [Japanese](https://ja.wordpress.org/plugins/simple-star-rating-block/).
 *  [Traduzir para seu idioma](https://translate.wordpress.org/projects/wp-plugins/simple-star-rating-block)
 * Tags
 * [block](https://br.wordpress.org/plugins/tags/block/)[custom fields](https://br.wordpress.org/plugins/tags/custom-fields/)
   [gutenberg](https://br.wordpress.org/plugins/tags/gutenberg/)[reviews](https://br.wordpress.org/plugins/tags/reviews/)
   [star rating](https://br.wordpress.org/plugins/tags/star-rating/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/simple-star-rating-block/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

[Sua avaliação](https://wordpress.org/support/plugin/simple-star-rating-block/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/simple-star-rating-block/reviews/)

## Colaboradores

 *   [ MartinCV ](https://profiles.wordpress.org/martin7ba/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/simple-star-rating-block/)