> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yayreviews/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yayreviews/features/gutenberg-blocks.md).

# Gutenberg Blocks

<figure><img src="/files/M3zgc0gbOceKeCsDNz5V" alt=""><figcaption></figcaption></figure>

YayReviews Pro includes a collection of Gutenberg blocks that let you display reviews and review-related widgets directly in the WordPress Block Editor. Each block provides the same functionality as its corresponding shortcode while offering an easier visual editing experience.

### Add a YayReviews Block

To add a YayReviews block:

1. Open any page or post in the WordPress Block Editor.
2. Click the **+** button to add a new block.
3. Search for **YayReviews**.
4. Select the block you want to insert.
5. Configure the block using the settings panel on the right.
6. Publish or update the page.

#### Available Blocks

YayReviews provides the following Gutenberg blocks:

* All Reviews
* Product Rating
* Review Form
* Testimonials
* Review Gallery
* Review Overall
* Review Summary
* UGC Media
* Store Reviews
* Store Review Form

### Block Settings

Each Gutenberg block includes its own settings panel in the WordPress editor. Depending on the selected block, you can customize options such as:

* Number of reviews displayed
* Minimum rating
* Layout
* Default sorting
* Display filters
* Product selection
* Author and date visibility
* Media display
* Verified badge
* Review summary
* And other widget-specific settings

> **Note:** The available settings vary depending on the selected block.

### Publish the Page

After configuring the block, simply **Publish** or **Update** the page. The review widget will be displayed on your storefront without requiring any shortcode.

<figure><img src="/files/uqWK6aCDP904BSIgtnoZ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.yaycommerce.com/yayreviews/features/gutenberg-blocks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
