# 🚀 Getting Started

Let's create your first block within a second

TLDR;

1. Create a Bricks template and set the type as  `GutenBricks – Block`
2. The template will be available as a block
3. View it if it’s rendered. (If you want to render blocks in full page-width follow [this method.](https://youtu.be/keFz6mVEIao?feature=shared))

Ask us questions at <support@gutenbricks.com> or join our [Slack](https://wiredwp.com/join-our-slack-group) and [Facebook Group!](https://www.facebook.com/groups/wiredwp)

## Create your first block

{% embed url="<https://www.youtube.com/embed/bUfzn5c8x3o?si=BbzsWirL2d-MNJBR>" %}

1. First, create a template and set its type to `GutenBricks - Block` (If not, it will not show up as a Block)
2. (optional) You can additionally assign the template to a specific bundle. If this is not done, it will by default be included in the "default" bundle.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2Fiootmklqg4YgrNQS2Zxn%2FCreate-your-first-bundle-1024x323.jpg?alt=media&amp;token=150e7263-2146-4bcb-bf99-6dae7921c702" alt=""><figcaption></figcaption></figure>

3. Use the block in the Gutenberg editor.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2F8SzTNkKhGEb93a0HjXKZ%2Fgutenbricks-quickstart-my-first-template-1024x613.jpg?alt=media&amp;token=42bcbae8-a27a-45d9-8adb-42a4aaed25ff" alt=""><figcaption></figcaption></figure>

If you cannot find the block inside the Gutenberg editor, please check:

1. If the template type was set to `GutenBricks – Block`
2. Suppose the template was assigned to a custom Template Bundle. In this case, you must activate the bundle in GutenBricks settings.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FFH1Pf9h9YHj7oZcmSMca%2FScreenshot%202024-06-30%20at%2012.55.36%E2%80%AFAM.png?alt=media&amp;token=cc8fce5f-1ad9-454b-a4d6-2f79d8a16135" alt=""><figcaption></figcaption></figure>

3. You can also configure which Post Types you want to enable the blocks for.

##


# Next: Common Troubleshooting Issues

You might come across these hiccups, so it's worth noting them.

### Issue: Not rendering on the frontend?&#x20;

#### Try to enable Renders with WordPress

If you see a blank page, try to enable Render With WordPress on the admin bar.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FdEH63QOLKsnqtTJwBpTl%2FScreenshot%202024-07-11%20at%2011.04.10%E2%80%AFAM.png?alt=media&amp;token=da203249-08f1-4f60-834d-a02fa56fb129" alt="" width="563"><figcaption><p>You can set this within the admin bar</p></figcaption></figure>

#### Make sure another template does not override the page template.&#x20;

One example is a page set to be a `posts page`. In this case, WordPress might force it to render using a predefined Posts Page template along with your blocks.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FhAqbSS64ifYnApEojix6%2FScreenshot%202024-07-11%20at%2011.08.02%E2%80%AFAM.png?alt=media&amp;token=4ecd52f7-00d0-4afd-a46b-a294d887d662" alt="" width="563"><figcaption></figcaption></figure>


# Next: Configure Page Template to render

After creating your first GutenBricks page, you may want to view it on the frontend. Did you notice the blocks are not rendered in full-width?

{% embed url="<https://youtu.be/31RnLzJ9trc>" %}

After the block is created from the template, you need to choose the right template to render it on the front-end. There are four different methods:

* **GutenBricks' Built-in Template** - GutenBricks comes with a default page template that renders blocks in full page width. You can also change the name of the template on the settings page.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FgSxpa0xGkQOKGPYeV3Yx%2FScreenshot%202024-06-30%20at%201.56.22%E2%80%AFAM.png?alt=media&amp;token=ec6ce347-2ab3-4611-9c47-b3bfad75e029" alt="" width="375"><figcaption></figcaption></figure>

* **GutenBricks - Page Template** - Create a template and set its type to 'GutenBricks - Page Template.' This can be particularly useful if clients want to choose their own page template for rendering a page.
* **The good old Single Template** - Create a 'Single' type template, add a Post Content element, and set its data source to 'WordPress.' This way, the WordPress content will be rendered within the Post Content element.
* **Child Theme** - Choose 'Render with WordPress,' and it will be rendered using the Bricks Builder default template-parts/posts.php. For this option, you will need to create a child theme.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FV8cnfXvBfmDcqupsOQ5f%2FScreenshot%202024-06-30%20at%201.48.28%E2%80%AFAM.png?alt=media&amp;token=19f1dffd-8241-413f-a56b-e2e9a89e8559" alt=""><figcaption><p>This is what you might see after viewing your first GutenBricks page. This is because WordPress is using Bricks Builder's default post template to render the page.</p></figcaption></figure>

### **Setting up GutenBricks - Page Template**

You can let your clients select different templates by creating a 'GutenBricks - Page Template.' If you watched [the tutorial by Paul from WPTuts](https://www.youtube.com/watch?v=keFz6mVEIao), you already know how to use Post Content to render WordPress content.

\
Here is how to set up GutenBricks - Page Template:

1. When you create a new Bricks template choose "GutenBricks - Page Template" as its type

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FXPpdPqD7KVMNPDY7OlV6%2FScreenshot%202024-04-29%20at%202.53.59%E2%80%AFPM.png?alt=media&amp;token=8c57cac5-00b3-4b61-9185-6f1c6c1eb313" alt="" width="315"><figcaption></figcaption></figure>

2. Inside the template, add a Post Content element and set its data source to WordPress.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2F5TyRQCAww6oE5J3M5XTm%2FScreenshot%202024-06-30%20at%201.53.55%E2%80%AFAM.png?alt=media&amp;token=b184a562-5f91-4ea0-9db1-1c3b5d1b5d3a" alt="" width="542"><figcaption></figcaption></figure>

3. The 'GutenBricks - Page Template' will be visible for your clients to choose from within the Gutenberg editor.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FIeAVvfeNVeYAqsdiDJpb%2FScreenshot%202024-06-30%20at%202.00.32%E2%80%AFAM.png?alt=media&amp;token=24addef9-94e4-460d-a03d-718f2a082ba2" alt="" width="375"><figcaption></figcaption></figure>


# Next: Manage Block using Template Bundles

You can manage which Bricks templates to be registered as Gutenberg blocks using template bundles.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FqY0haLqbNkgQ1dTKL5tV%2FScreen%20Shot%202024-02-08%20at%204.18.14%20PM.jpg?alt=media&amp;token=475e9252-95f8-4db9-8dd3-296d4bc54085" alt="" width="319"><figcaption><p>Tip: You can add bundles when you create a template</p></figcaption></figure>

Under the Bricks -> GutenBricks Submenu -> Blocks tab, you can view which bundles are enabled, either as blocks or patterns. The "default" bundles activate automatically upon plugin activation, ensuring immediate usability.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2Fros6fYLTTWBS00HmS52A%2FScreenshot%202024-06-30%20at%202.08.44%E2%80%AFAM.png?alt=media&amp;token=764e5d5c-1c43-4896-8c1f-c69d2bb43162" alt=""><figcaption></figcaption></figure>

For other bundles, you can control their visibilities inside the Gutenberg editor by toggling them either as Blocks or **Patterns.** You can also control which Post Types you want to enable the blocks for.&#x20;

{% hint style="info" %}
**Patterns:** Please note that as of v1.0, the patterns enabled here are not "true" Gutenberg patterns where clients can edit the layout freely, but rather a wrapper that wraps the original block as a pattern.&#x20;
{% endhint %}

The default bundle is identified by a "Default" label in the Gutenberg editor. You can also change the label through default bundle settings.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FVSCAUUT2mNg7kdmTlG2F%2FScreenshot%202024-06-30%20at%202.09.57%E2%80%AFAM.png?alt=media&amp;token=7c5718e4-4dcb-44f3-a4d2-d92073aa1bc3" alt=""><figcaption></figcaption></figure>


# Most common troubleshooting step

Here are the most frequent troubleshooting steps.

<details>

<summary>My ACF/Meta Box fields are not appearing or appearing everywhere</summary>

If you have an issue with where the ACF/Meta Box fields are appearing, it's most likely because their location rules are not set properly.

</details>

<details>

<summary>The CSS is not applied within the Gutenberg Editor</summary>

Please check if you have declared styles outside of Bricks Builder, such as in a code snippet. GutenBricks cannot currently detect these styles and apply them inside the editor.

</details>


# Working with Elements

Let’s briefly explore how we can work with Bricks Builder elements using GutenBricks.

### Enabling the editor field

If the element offers, "Enable Editor Field" toggle, it means you can toggle it to show an editing field on the righthand side panel inside Gutenberg editor.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FPpIRZmWExGKrkAtTtTG9%2FScreenshot%202025-05-07%20at%204.53.04%E2%80%AFPM.png?alt=media&amp;token=a8df9523-81ec-439e-b545-8b493df1cd77" alt=""><figcaption></figcaption></figure>

### Video Element

You can create a video block that allows users to change videos by enabling **"Enable Editor Field."**

{% embed url="<https://youtu.be/nR7VQCiwMQk>" %}


# Variants

With Variants, you can now have multiple layouts and styles within a single template, allowing block users to choose which variant to render.

{% hint style="info" %}
This article is about the WordPress plugin GutenBricks, which allows you to create Gutenberg blocks using the Bricks Builder page builder in a no-code approach. Visit [**GutenBricks.com**](https://gutenbricks.com) for more information.
{% endhint %}

### Watch how it works

{% embed url="<https://www.youtube.com/watch?v=jOrx7hX56u8>" %}

### Overview

A single block can have multiple variants, which users can choose within the Gutenberg editor, helping you to organize blocks without creating extra ones. Variants are also a great way to organize blocks by utility, business logic, and more.

The most common use case is to allow clients to select different layouts by choosing variants using text radio buttons, image radio buttons, or a dropdown select.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2F8mGgp02XWpu22lsZt2uv%2FUntitled%20(1080%20x%20540%20px).gif?alt=media&amp;token=b6d984b9-f5d9-4eb7-bd00-d1df4fd59f71" alt=""><figcaption><p>Using radio button to select different layouts. Templates from <a href="https://getframes.io/frames/">Frames</a>.</p></figcaption></figure>

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2F9YDa4uEM5aWUfMkQP4vN%2FScreenshot%202024-07-11%20at%202.32.46%E2%80%AFPM.png?alt=media&amp;token=ba376d7b-c584-431f-bfc5-0770d8f0f463" alt=""><figcaption><p>Image radio buttons. Templates from <a href="https://getframes.io/frames/">Frames</a> and <a href="https://brixies.co/">Brixie Templates</a></p></figcaption></figure>

### When To Use It

The user community recommends using variants to create different layouts that are otherwise very difficult to achieve with CSS. If you need to change colors, padding, or any CSS values, we highly recommend using [Dynamic Class](/features/dynamic-class), [Dynamic Data](/dynamic-data/gb-meta), or the [Style Editor](broken://pages/Lc31NpPzD3QG6SmYsKEM).

### Create Your First Variants

Creating variants is as easy as creating a [visibility toggle](broken://pages/j9MYBauaYVa57DhyPxlp). In fact, variants work just like a visibility toggle that simply behaves like a radio button that allows one value at a time whereas visibility toggles behave like checkboxes.&#x20;

#### Step 1. Select an element as a variant

Any element can be a variant. However, we recommend choosing a section or container as a variant rather than individual elements.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FXG5zEPOUlxynbwBiVkNT%2FScreenshot%202024-07-11%20at%204.04.29%E2%80%AFPM.png?alt=media&amp;token=f8ccd901-a78e-4cbd-8b10-857e01d07afb" alt=""><figcaption><p>Selecting entire section or a parent container is recommended.</p></figcaption></figure>

Please note that you can have only **one set of variants per block.** We have decided to stick to this one-set-per-block policy in order to make it manageable.

#### Step 2. Create variants as sibling elements

Once you select a target element, you can create its variants as sibling elements within the same parent. In the example below, we've copied and pasted the same `Inner Variant 1.` Then we named it `Inner Variant 2`and made some changes to it. In the image below, you can see that we switched between Content Wrapper and Media Column.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FfBc1QLBDFhgGpXdbtLNG%2FScreenshot%202024-07-11%20at%204.08.16%E2%80%AFPM.png?alt=media&amp;token=0d553279-6ac6-4742-9431-e3e9ec8c50c8" alt=""><figcaption><p>Inner Variant 2 here has Media Column on the right</p></figcaption></figure>

{% hint style="success" %}
It is recommended to assign [**Value Binding**](/features/advanced/value-binding-coming-soon) to each content field, such as text and images. This way, their content stays the same even when you change the variants. If you don't do this, each variant will have independent content. \
\
💡 **Pro Tip:** Set the Value Binding first and then copy and paste the variants so that you don't have to manually enter them again.&#x20;
{% endhint %}

#### Step 3: Enable Variants

Click the element you want to turn into a variant. Toggle "Enable this element as a variant." (Content -> GutenBricks Tab -> Variant section)&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FK4wrL2AFGabeyx7Wdl0r%2FScreenshot%202024-07-11%20at%204.33.43%E2%80%AFPM.png?alt=media&amp;token=2a447e64-bd09-4f80-b2fe-69757d84d2c3" alt=""><figcaption></figcaption></figure>

Here you can assign three values

* **Variant Name (required) -** Any unique text used to identify the variant. **This must be different from the other variants.**
* **Variant Label** - A label for the radio button which is visible to clients. You can omit it if you have a preview thumbnail
* **Variant Preview Thumbnail** - This adds an image to the radio button

Once you apply this to all the variant elements, you have officially created your first variants! 🎉 🎉 🎉

### Optional: Edit variant label, group and variant field type

Visit Settings -> TEMPLATE SETTINGS -> GUTTENBRICKS -> VARIANTS to configure the variant field. It has default values, so you don't need to do anything unless you want to change the wording. You can also change the field type from radio to dropdown.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FmaKMEXQdMc3GGrEsFnZH%2FScreenshot%202024-07-11%20at%204.42.14%E2%80%AFPM.png?alt=media&amp;token=7d18d056-2efe-44d1-944e-38f8b44fbe3c" alt=""><figcaption></figcaption></figure>

### Tip: Select Inner Content as Variants

You can also assign a certain area of blocks as variants; in that case, the outer frame remains unchanged while the inside contents can be switched as variants.

In the example below the photo columns are selected as variants where the parents remain the same.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2Ft4z9urLshz74kjDKEsuu%2FUntitled%20(1080%20x%20540%20px)%20(1).gif?alt=media&amp;token=3cd2fa86-c914-4fd6-a1af-cfc4b9c13bed" alt=""><figcaption><p>Credit to <a href="https://unsplash.com/">Unsplash</a> and <a href="https://getframes.io/frames/">Frames.</a></p></figcaption></figure>

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FvnAzZTr4uvdEJ4VO4Egc%2FScreenshot%202024-07-11%20at%203.55.49%E2%80%AFPM.png?alt=media&amp;token=1f0b4086-dfcf-43e5-afed-27b61e383448" alt=""><figcaption></figcaption></figure>

If you have questions, please join our [Facebook Group](https://www.facebook.com/groups/wiredwp) or email us at <support@gutenbricks.com>


# Value Binding

If you want to keep the value the same across different variants you can use `Value Binding.`&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2F38fYebobyrJKG0jWuYdj%2FScreenshot%202025-05-27%20at%2012.29.02%E2%80%AFAM.png?alt=media&amp;token=9e6ccda8-0d62-4cdc-808f-50e157c377cc" alt=""><figcaption><p>As long as the element has the same value binding name it will share the value across the variants</p></figcaption></figure>


# InnerBlock

Gutenberg Blocks can have an InnerBlock section where you can embed other blocks. You can add blocks of your choices inside a designated area of your choosing.

{% hint style="info" %}
InnerBlock is only available in 1.1-RC versions and may not be suitable for production.
{% endhint %}

{% hint style="info" %}
This article is about the WordPress plugin GutenBricks, which allows you to create Gutenberg blocks using the Bricks Builder page builder in a no-code approach. Visit [**GutenBricks.com**](https://gutenbricks.com) for more information.
{% endhint %}

### Watch How it Works

{% embed url="<https://www.youtube.com/watch?v=MT5p0gG_ry4>" %}

### Use Cases

The following are some examples of InnerBlocks using GutenBricks:

#### Example 1: Embedding text blocks to create a Rich Text area

You can create an InnerBlock area to add a Rich Text section using Gutenberg core text blocks.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FJKkBaM0sBRU9qrTWtwwd%2FScreenshot%202024-08-03%20at%204.34.43%E2%80%AFPM.png?alt=media&amp;token=e01a665c-a180-42e7-835d-af23df875302" alt=""><figcaption></figcaption></figure>

#### Example 2: Restrict specific Blocks to be added in an area

In the blocks below, the card block called 'Feature Item' is embedded inside a Container block. You can restrict which parent blocks certain blocks can be added to and which blocks are allowed in the InnerBlock. All these are configured within Bricks Builder.

For example, in the block below:

* The Feature Item can only added inside the Container block
* The Container block only allows the Feature Item block in its InnerBlock.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FmlJnjoiIZ4SFLmOwmeCg%2FScreenshot%202024-08-04%20at%208.26.33%E2%80%AFPM.png?alt=media&amp;token=98be7623-55e9-4629-b4c4-1d3c17eca258" alt=""><figcaption><p>Template credit: BricksMaven</p></figcaption></figure>

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FZdsDsDc0htrSqTlOjqqz%2FScreenshot%202024-08-04%20at%208.29.00%E2%80%AFPM.png?alt=media&amp;token=02b32638-6e82-419e-8ae1-ca11c821f559" alt="" width="375"><figcaption><p>Container block only allows one type of block; the Feature Item</p></figcaption></figure>

### How to set up InnerBlock in Bricks Builder

{% hint style="info" %}
For 1.1.0 RC1
{% endhint %}

GutenBricks provides a special element  `GutenBricks InnerBlock` which you can find in the left panel. You can add it in an area where you want to embed child blocks. `GutenBricks InnerBlock` itself is also a container. So you can configure the layout such as flex box or grids.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FFKWFVUmY6iXSXlc3L1ga%2FScreenshot%202024-08-04%20at%208.36.37%E2%80%AFPM.png?alt=media&amp;token=cb03a095-81b2-410c-90c2-012233d6ff58" alt="" width="288"><figcaption><p>You can search it using "Search elements.." </p></figcaption></figure>

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FOlZfvXFjj2BJCOR94tFM%2FScreenshot%202024-08-04%20at%208.38.49%E2%80%AFPM.png?alt=media&amp;token=29463c99-7ed3-4ba0-aec0-4ee2dbbe8bde" alt="" width="269"><figcaption><p>The InnerBlock area is inserted as an element</p></figcaption></figure>

{% hint style="warning" %}
**IMPORTANT: The Gutenberg editor only allows one InnerBlock per block. GutenBricks will ignore any additional InnerBlocks.**
{% endhint %}

### Allowing specific blocks

Select `GutenBricks InnerBlock` and scroll down the left panel. You will see the options fields below:

1. **Allowed Core/Non-GutenBricks Blocks**: You can select multiple Core Gutenberg blocks such as `Paragraph` or `Heading` and Non-GutenBricks blocks. You can leave it blank to allow all of them or you can also select `Disable All Core/Non-GutenBricks Blocks` to disable all the core blocks.
2. **Allowed GutenBricks Blocks:** You can select GutenBricks blocks allowed in the InnerBlock. This works the same as the `Allowed Core/Non-GutenBricks Blocks` field above. If the blocks are not enabled for the post type, they will not be visible even if you select them in this field.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2Fzg9QXwuOavqI8HP5gtT5%2FScreenshot%202024-08-04%20at%209.34.48%E2%80%AFPM.png?alt=media&amp;token=b2574373-e10b-46eb-9cc6-724dfe9444b4" alt="" width="289"><figcaption></figcaption></figure>

#### Default Blocks&#x20;

You can set `Default Blocks` for the InnerBlock. Otherwise, it will be empty. It is in a string template format. you can copy the blocks from the Gutenberg editor and paste them into the field.&#x20;

For example, in the screenshot below, we are copying a single card block and its string form is:

```
<!-- wp:default/gutenb-feature-item {"block_id":"lzfq0fct"} /-->
```

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FtkZ17OE0zCJ9fZQxZPe7%2FScreenshot%202024-08-04%20at%209.42.33%E2%80%AFPM.png?alt=media&amp;token=b5918185-8030-44de-ab6b-c29f20370909" alt="" width="563"><figcaption></figcaption></figure>

### Set Parent block

Some blocks are meant to be inside certain blocks only. In this case, you can set one or more parents to restrict where the block can be added.&#x20;

You can configure this in Settings -> Template Settings -> GutenBricks -> InnerBlock section.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FkRI966yvq6UH04U3PHWm%2FScreenshot%202024-08-04%20at%209.51.12%E2%80%AFPM.png?alt=media&amp;token=80139fea-c73b-4aa3-930a-44a65ff5c532" alt="" width="563"><figcaption></figcaption></figure>


# Fine-Tune Text Editing

{% embed url="<https://www.youtube.com/watch?v=sGx0g5eB7tk>" %}


# Dynamic Class

{% embed url="<https://www.youtube.com/watch?v=nYElw5Q-4j4>" %}


# Code Block with Dynamic Data

{% embed url="<https://youtu.be/4LJCa_3yQc4>" %}

Using dynamic data inside Bricks' Code Block is the most powerful and flexible way to control a block. You can allow users to control those dynamic data by exposing Dynamic Data as a form field in Gutenberg editor.&#x20;

### Use {gb\_block\_id} to scope block CSS properly

To have CSS to select a specific block, you can use {gb\_block\_id}. In the example below, the specific CSS is only applied to a block with class `.block-{gb_block_id}`

<pre class="language-css"><code class="lang-css">.block-{gb_block_id} .brxe-rating .full-color {
  color: {gbmeta_star_rating_color};
<strong>}
</strong></code></pre>

IMPORTANT: You MUST add `block-{gb_block_id}` to a parent element by using Dynamic Class.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2F2Tc6TrobxH97oWVdPZBa%2FScreenshot%202025-05-09%20at%203.07.08%E2%80%AFAM.png?alt=media&amp;token=523f713b-7906-4698-88ba-eaaf4157696c" alt=""><figcaption></figcaption></figure>


# Quick Tips

I'm creating quick tips per request. You can join our FaceBook group&#x20;


# Dynamic Short Code

Harness the power of dynamic value to allow users to control short code inside Gutenberg editor.

{% embed url="<https://www.youtube.com/watch?v=tHUKRVhfP48>" %}


# Accordion Block using InnerBlock

{% embed url="<https://www.youtube.com/watch?v=OY58r_fg0Rc>" %}


# Advanced

Coming Soon!


# Custom Block HTML ID

Allowing clients to set a custom ID on a block. It's useful when you create an anchor.

{% hint style="info" %}
This article is about the WordPress plugin GutenBricks, which allows you to create Gutenberg blocks using the Bricks Builder page builder in a no-code approach. Visit [**GutenBricks.com**](https://gutenbricks.com) for more information.
{% endhint %}

{% embed url="<https://youtu.be/JnREmjpIRCU>" %}

In case you want to add a custom unique ID to a block to create an anchor etc, you can enable `Block HTML ID,` this will bring up a field to enter a custom ID like the one below:

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FJKKk3WhkTerMuVFhJkDb%2FScreenshot%202024-07-11%20at%2010.10.19%E2%80%AFAM.png?alt=media&amp;token=37c70bb6-fc9a-4465-878a-42837c530832" alt="" width="297"><figcaption><p>This will add an ID <code>#about</code> to the block </p></figcaption></figure>

This will assign the ID to **`first element`** of the block. For eg, if you wrap the block in one parent element such as a section or container, the ID will be assigned to the parent.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FAlFlszou7pEsOtecgiWx%2FScreenshot%202024-07-11%20at%2010.14.23%E2%80%AFAM.png?alt=media&amp;token=2b08ffa0-8385-4b67-8df3-c9f3aa75ef9f" alt=""><figcaption></figcaption></figure>

### How to:

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FGchf4khgR5iNCYD8V4Cs%2FScreenshot%202024-07-11%20at%2010.06.17%E2%80%AFAM.png?alt=media&amp;token=ac7a5232-f5dd-40ae-a325-30df97d79cf3" alt="" width="375"><figcaption><p>Add <code>Block HTML ID</code> inside Block Setting Fields</p></figcaption></figure>

Inside Bricks Builder,

1. Open Settings ⚙️ (on the right top corner)&#x20;
2. Open Template Settings Tab
3. Open GUTENBRICKS:BLOCK Tab
4. Under EDITING section
5. Click Block Setting Fields to select **`Block HTML ID`**

If you have questions, please join our [Facebook Group](https://www.facebook.com/groups/wiredwp) or email us at <support@gutenbricks.com>


# Value Binding (coming soon)


# Creating "comments and docs" inside a template

You can add detailed documentation about a template inside a template. That is not rendered on the front-end or the Gutenberg editor.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FD9cXAjmYLEreQkH1AXjo%2FScreenshot%202024-03-02%20at%209.53.52%E2%80%AFPM.png?alt=media&amp;token=041eebbb-4941-4db7-a26b-8066d63f4d05" alt=""><figcaption><p>Example</p></figcaption></figure>

Just like what you'd normally do in a code.

```javascript
// This is a comment. It's not executed.
let a = 5;
```

## How do I do that?&#x20;

Select an `section`, `container`, `block` or `div` element and enable Turn Off Rendering.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FK1N9F8aZiSCXrxTmuK1C%2FScreenshot%202024-03-02%20at%209.43.38%E2%80%AFPM.png?alt=media&amp;token=09b7bf19-2090-4ba7-81a1-02242e241be2" alt=""><figcaption><p>Toggle the rendering of an element</p></figcaption></figure>

Note: This tiny toggle is a big symbolic feature showing our intention to use Block Builder as something more than mere page builder.


# Globally Updating Block Styles

TLDR; It's automatically updated globally. So you don't have to manually update them one by one.

## Globally updating blocks without affecting existing contents

After changing the colour or font size of the text, you might wonder if you have to update them on every page where the block is used. The short answer is NO.&#x20;

Here is the default behaviour.&#x20;

1. When you change the styles, it's applied globally without affecting the content.&#x20;
2. If you add a new DOM element, it will be added with its default value.&#x20;
3. When you delete a DOM element it will be removed globally along with its contents.

{% embed url="<https://www.youtube.com/watch?v=5PyJPBoBpQQ>" %}

#### Video Tutorial


# Block Wrapper Dynamic Class

The HTML structure inside the Block Editor may differ slightly from the one rendered on the frontend. Most notably, an extra wrapper \<div> around the actual block content.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FeVkGivfXbUxRwaTQSVZ6%2FScreenshot%202024-10-03%20at%203.56.37%E2%80%AFPM.png?alt=media&amp;token=90c7796f-6829-4eb4-996f-0d5847e41480" alt=""><figcaption><p>Inside Gutenberg editor, the &#x3C;div> in the red box is a wrapper wrapping &#x3C;section> which is the actual content. Of course the &#x3C;div> wrapper is only for Gutenberg Editor to keep tracking and managing the blocks and not rendered in the frontend.</p></figcaption></figure>

In this case, some CSS applied to the outermost element might not work. For eg, `grid-column` that requires the immediate parent to be a grid.&#x20;

To solve this issue, users can add dynamic classes to outermost block wrapper using Block Wrapper Dynamic Class (under template settings -> Gutenbricks:Block.)

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FRWWfI7X70BFlk9vKE07f%2FScreenshot%202024-10-03%20at%204.08.16%E2%80%AFPM.png?alt=media&amp;token=4fc7e280-cdd5-44de-a2ae-02cf1f7f10e4" alt=""><figcaption></figcaption></figure>

For example, you can declare something like `cold-span-{dynamic_variable}`  and the dynamic class will be applied to the block wrapper like this:&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FJb2n7cCnCsNRQzok3ofi%2FScreenshot%202024-10-03%20at%204.30.13%E2%80%AFPM.png?alt=media&amp;token=99e426f1-ff10-4f2b-99a9-e6a0709faf9e" alt=""><figcaption><p>col-span-5 has been applied to the block wrapper where "5" is from dynamic_variable.</p></figcaption></figure>

Now you can see `column-span` working because the block wrapper which is the grid's immediate child has `col-span-5` class.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FzlIFl65AgdMUpnvTZsyP%2FScreen%20Recording%202024-10-03%20at%204.28.58%E2%80%AFPM.gif?alt=media&amp;token=a9102d98-ceb8-4db1-9f3e-3fabc1127de1" alt=""><figcaption></figcaption></figure>


# Working with WPML or Polylang

Both WPML and Polylang are very popular translation plugins. There are two ways to create translated posts or pages:

1. Use the string translator.
2. Create separate pages, each with its own set of blocks.

In order for the string translator to function, you must enable **"Save block content in post"** under the Block tab in the settings.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2Fm9uwLxjPqemNIOzcXXh6%2FScreenshot%202024-12-13%20at%201.29.10%E2%80%AFAM.png?alt=media&amp;token=d55126ec-47f6-48d3-a143-c41ddb320b20" alt=""><figcaption></figcaption></figure>

If you are keeping templates in one language only, you must also enable **"Load blocks for all languages"** under the Integrations tab. For Polylang, it loads all the templates by default.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2F1vmTg0kutr7e2oyPkhbo%2FScreenshot%202024-12-13%20at%201.28.36%E2%80%AFAM.png?alt=media&amp;token=98373c36-4bcc-4825-8b09-a06fc79a0bec" alt=""><figcaption></figcaption></figure>


# Road Map

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FpRnskKig2SeXGvosPnoj%2F13808f46-06e6-404f-9aa7-7c5da8a68152.png?alt=media&amp;token=d0c3099d-3cf4-4352-ad6e-e8b526b46e67" alt=""><figcaption></figcaption></figure>

(coming soon)


# GB:Meta

{% embed url="<https://www.youtube.com/watch?v=CoRHqbY-pmw>" %}


# ACF

### Overview

You can use ACF fields to edit and apply values within blocks. In this case, the data only exists in a particular block. In the example below, you can see the ACF settings on the right-hand side where you can edit the fields. Once updated, the value will instantly update on the block.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FBNuETRoqvKqst41iUSrY%2FScreenshot%202024-08-02%20at%208.49.21%E2%80%AFPM.png?alt=media&amp;token=643f166e-d4be-490b-8ffc-edc68246bfaf" alt=""><figcaption><p>You can change group name "ACF Settings" in the settings</p></figcaption></figure>

### Change Default "ACF Settings"

You can change the default "ACF Settings" text in GutenBricks settings under the **Client Experience Tab.**

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2F8BRTWzwEnqwJJjHTwjts%2FScreenshot%202024-08-02%20at%209.03.50%E2%80%AFPM.png?alt=media&amp;token=fd2aa411-de82-4a8a-a518-131ca61f72c8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FW1vUuz3CV0wGXi7Guz8o%2Facf-setting-name-change.jpg?alt=media&amp;token=048a6401-0e99-4bdc-b49b-fa279449c320" alt="" width="563"><figcaption><p>"ACF Settings" is changed to "My Custom ACF Name"</p></figcaption></figure>

### Change the Pop-up Text

Users are not allowed to edit dynamic data on the canvas. This is due to technical limitations and to provide a better editing experience, as it is easier to edit most dynamic data using forms (e.g., Repeater).

GutenBricks displays a pop-up message informing users that they cannot edit the field directly on the canvas. You can change the default pop-up text here:[Custom Pop-up Text](/client-experience/custom-pop-up-text#override-the-dynamic-data-pop-up-text)

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FDaTZ0iySlo3a6Mc66XwN%2FScreenshot%202024-08-02%20at%209.18.54%E2%80%AFPM.png?alt=media&amp;token=c582df93-cb7d-4fcf-a2a0-5d777463b265" alt="" width="375"><figcaption><p>Users are not allowed to edit dynamic data,</p></figcaption></figure>

### Advanced: Understanding Post ACF Data VS Block ACF Data

You can still render ACF data saved within posts, pages, and CPTs. GutenBricks will first look for the data within the block and then move on to looking for data saved within posts, pages, and CPTs. You can programmatically access the values saved in blocks using [gb\_get\_field()](/resources/developer-api/gb_get_field)

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FV6YgXJczXrGFsw7wi5v9%2Facf_gutenbricks.svg?alt=media&amp;token=8e9cf991-ce72-4cda-a92e-ee52dd39b63a" alt="" width="375"><figcaption></figcaption></figure>


# Setting Up ACF

We will take a look at how to set up ACF to work with GutenBricks.

{% hint style="info" %}
This article is about the WordPress plugin GutenBricks, which allows you to create Gutenberg blocks using the Bricks Builder page builder in a no-code approach. Visit [**GutenBricks.com**](https://gutenbricks.com) for more information.
{% endhint %}

### TLDR;

Do what you normally do with ACF and Bricks, but make sure to set the location rule so that the field group is linked to the template. Read: [#most-important-step-set-location-rule](#most-important-step-set-location-rule "mention")

### Common Workflow

Step 1: Create a field group as usual

**Step 2: Set the location rule to Bricks Template or individual template post <- MOST IMPORTANT**

Step 3:  Apply the field values in the Bricks template

Step 4: Enter the ACF value in the Gutenberg editor

### Most Important Step: Set Location Rule&#x20;

Once you create a field group, all you have to do is set up a correct location rule to make the field group visible when users edit the block in the Gutenberg editor.

There are two common ways:

1. Assigning `Post` to a particular block as shown in the screenshot below.
2. Or less commonly, assigning `Post Type` to `Template.` In this case, the field group will be visible in every block. This can be handy if you have general fields used by every block.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FDrtCoJ8EQIzoRMvmtWpY%2FScreenshot%202024-08-02%20at%208.26.14%E2%80%AFPM.png?alt=media&amp;token=2170e212-c00f-4b6e-95f6-1dd1f74d683c" alt=""><figcaption><p>Here, we are assigning the field group to FAQ Bricks Template</p></figcaption></figure>


# Post Object Field (in-progress)

## ACF

{% embed url="<https://youtu.be/-K5VzESaKyc>" %}


# Meta Box


# Setting Up Meta Box (In-progress)


# Post Field (in-progress)

## Post Field

{% embed url="<https://youtu.be/-K5VzESaKyc?feature=shared&t=216>" %}

Due to a technical limitation, you must enter this code inside your Query Look section.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FAwuYVBF2DPsxzBoijuqS%2FScreenshot%202024-07-18%20at%208.03.27%E2%80%AFPM.png?alt=media&amp;token=ee5effa0-a6eb-4896-9e6e-5c7fcb22dc96" alt=""><figcaption></figcaption></figure>

Here is the entire code, you can copy and paste

```php
if (function_exists('gb_get_field')) {
  $ids = gb_get_field('mb_bricks_template_user_selected_ice_cream');
}

if (empty($ids)) {
  return [
    'post_type' => 'ice-cream',
    'post__in' => [null], // set as [null] so we don't display anything when no selections
  ];
}

return [
    'post_type' => 'ice-cream',  
    'post__in'  => $ids,  
];
```


# Built-in GutenBricks Dynamic Data

<table><thead><tr><th width="296.1015625">Data Key</th><th>What For</th></tr></thead><tbody><tr><td>{gb_block_id}</td><td>Unqiue ID for block.</td></tr><tr><td>{gb_element_id}</td><td>The element ID. Note: Sometimes element ID can be empty. </td></tr><tr><td>{gb_query_index}</td><td>(since 1.1.20) index of the query item. Important: This does not work in Dynamic Class.</td></tr><tr><td>{gb_event_block_load}</td><td>JavaScript Event when Block is loaded in Gutenberg editor. See<a data-mention href="/resources/developer-api/gutenbricks-events-for-gutenberg-editor">GutenBricks Events for Gutenberg Editor</a></td></tr><tr><td>{gb_event_block_remove}</td><td>JavaScript Event when Block is removed in Gutenberg editor. See<a data-mention href="/resources/developer-api/gutenbricks-events-for-gutenberg-editor">GutenBricks Events for Gutenberg Editor</a></td></tr><tr><td>{gb_event_block_prerender}</td><td>JavaScript Event when Block is pre-rendered in Gutenberg editor. See<a data-mention href="/resources/developer-api/gutenbricks-events-for-gutenberg-editor">GutenBricks Events for Gutenberg Editor</a></td></tr></tbody></table>


# Documenting Blocks

{% embed url="<https://www.youtube.com/watch?v=mZSd9AHygH4>" %}


# Custom Block Preview

{% embed url="<https://www.youtube.com/watch?v=CdSoOHPJ_ww>" %}


# Custom Pop-up Text

Add popup text to help users understand more about the individual elements within blocks.

{% hint style="info" %}
Available in >= 1.1.0
{% endhint %}

&#x20;

### Override the Dynamic Data pop-up text

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FDaTZ0iySlo3a6Mc66XwN%2FScreenshot%202024-08-02%20at%209.18.54%E2%80%AFPM.png?alt=media&amp;token=c582df93-cb7d-4fcf-a2a0-5d777463b265" alt="" width="375"><figcaption><p>Before</p></figcaption></figure>


# Default Page Template

You can set up a default page template. So when users create a new page, they can start with the default page template.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2F4NXYEuMTblSRpCjocYHP%2Fgutenbricks-set-default-page-template.png?alt=media&amp;token=813117c6-f8dc-4cb5-ad03-ebcdb82b8216" alt=""><figcaption><p>Set "GutenBricks Page Template" as default page template.</p></figcaption></figure>

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FWueGxcLriUyM8mFEAyBI%2Fgutenbricks-set-default-page-template-example.png?alt=media&amp;token=006b0bd4-cb8f-47a0-a605-5dc55244759b" alt="" width="265"><figcaption><p>Now when you create a page, the default page template is "GutenBricks Page Template."</p></figcaption></figure>


# Gutenberg Editor Custom CSS

@since 1.0.8

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FrahNejse3ST4QbS1naZF%2FScreenshot%202024-09-13%20at%2011.32.58%E2%80%AFAM.png?alt=media&amp;token=087663ae-b421-47c0-bee7-e66d8c507b9e" alt=""><figcaption><p>You can find it under GutenBricks Settings -> Gutenberg Tab</p></figcaption></figure>

With Gutenberg Editor Custom CSS, you can add your custom CSS for Gutenberg editor. There will be community snippets in the future for you to easily add frequently used CSS snippets. If you have a snippet to share, please email us at <support@gutenbricks.com>


# CSS Snippet: Make the block section not full height for ACSS

Some users don't like the full window height block section when Automatic CSS is enabled.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FBxwMHLFzPOHeNExDVnUe%2FScreenshot%202024-09-13%20at%2011.37.55%E2%80%AFAM.png?alt=media&amp;token=25fcd990-1629-480a-9b65-a981733b4eb9" alt=""><figcaption></figcaption></figure>

You can disable this by this CSS available in [Gutenberg Editor Custom CSS](/customizing-gutenberg/gutenberg-editor-custom-css)

Code:

```css
/* ACSS: Make the edtitor not full height */
body .is-root-container {
  min-block-size: unset !important;
}
body .editor-styles-wrapper.block-editor-writing-flow {
  min-block-size: unset !important;
}
```


# 👩‍💻 Developer API

We are trying to include many features for developers. If there are any features you need for development, please feel free to request them at <support@gutenbricks.com>.

When third-party add-ons work well in the Gutenberg Editor, they can create a better user experience. We plan to provide hooks and filters for add-on developers to facilitate better integration.


# echo:gb\_current\_element\_id returns unique ID

@since 1.0.8

{% hint style="warning" %}
You must use it within the Bricks Builder element as a code or {echo:gb\_current\_element\_id}
{% endhint %}

gb\_current\_element\_id() returns the unique element ID that is currently being rendered. &#x20;

You must explicitly allow `gb_current_element_id` using "bricks/code/echo\_function\_names" filter. For more details, please visit <https://academy.bricksbuilder.io/article/filter-bricks-code-echo_function_names/>

### Example for bricks/code/echo\_function\_names filter

```php
add_filter( 'bricks/code/echo_function_names', function() {
  return [
    'gb_current_element_id',
    // ... other function names
  ];
} );
```


# GutenBricks Events for Gutenberg Editor

Since v1.1

GutenBricks blocks triggers custom events when blocks are loaded. These events are useful if you want to run custom JavaScript within Gutenberg Editor.

{% hint style="info" %}
These events are only available in Gutenberg Editor and NOT frontend.
{% endhint %}

#### gb:block:init

This event is triggered when the block is rendered and initialized with all the editing features. This is when your custom JavaScripts should run.

```javascript
jQuery(document).on('load gb:block:init', function(event) {
    const { clientId, blockElement, block } = event.detail
    console.log('block is initiated and ready to go', block.blockId);
    
    // you can check if the event is triggered for the specific block
    if (block.blockId === {gb_block_id}) {
        console.log("I'm the block you're looking for!");
    }
});

// OR

// you can use the dynamic data built specifically for event
// you can check out the dynamic data for events below
jQuery(document).on('{gb_event_block_load}', function(event) {
    const { clientId, blockElement, block } = event.detail
    console.log('block is initiated and ready to go', block.blockId);
});
```

#### gb:block:removed

Triggered when the block is removed from the editor. You can use this to clean up.

```javascript
jQuery(document).on('load gb:block:removed', function(event) {
    const { clientId, blockElement, block } = event.detail
    console.log('block removed', block.blockId);
});
```

#### gb:block:prerendered

Triggered when the block content is rendered once in the editor. This content doesn't have editing features instantiated yet. Because it is prerender, the DOM elements are deleted after gb:block:init. It is useful, when you want to add custom loading animation.

```javascript
jQuery(document).on('load gb:block:removed', function(event) {
    const { clientId, blockElement, block } = event.detail
    console.log('block removed', block.blockId);
});
```

### Dynamic Data For Events

GutenBricks provides dynamic data built for events. These events are triggered when a specific block loads, removes and prerenders (meaning renders static block without editing features.) You can use these dynamic events to run JavaScript functions for any blocks inside the Gutenberg editor.

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FfEJNTJNbltwWaXEUPHsh%2Fgutenbricks%20dynamic%20data%20for%20events.png?alt=media&amp;token=a3ac6c84-2eca-4abc-ba45-92cb2b12b230" alt=""><figcaption><p>You can use these dynamic data for events</p></figcaption></figure>

#### GutenBricks Event: Block Load

Triggered when a block is fully loaded with editing features. In normal circumstances, this is the default event to use.

#### GutenBricks Event: Block Remove

Triggered when a block is removed from the document DOM. You can use this to clean up JavaScript instances to free up the memory and avoid side effects.

#### GutenBricks Event: Block Prerender

Triggered when the static block is rendered. The static DOM elements lasts very shortly. So we recommend you not to use this to modify element DOMs. Instead you can use it to pre-load any important functions for the block.

### What's inside event.detail

#### clientId

A unique ID for the block

#### domElement

The dom element of the block rendered

#### block

GutenBricks block object


# gb\_get\_field()

This method allows you to retrieve Block metadata programmatically.

**Experimental Feature @since v1.0.0-RC4.2.0**&#x20;

A GutenBricks block can store meta value. If you're using ACF or Metabox fields to create input fields, their values are saved within the block. The values are retrieve as dynamic data in Bricks (For eg. `{acf_example}`)

Sometimes, the code editor you're working on may not support dynamic data or has no access to meta data saved in Blocks. For example, the PHP editor inside Bricks Builder's Query Loop does not access Block meta data.&#x20;

**In this case, you can use `gb_get_field($key, $post_id, $args)` function to retrieve the value instead.**

* This method works for both ACF and Metabox. &#x20;
* The retrieving hierarchy:
  * First, it will look for data stored within the block
  * If not, it returns the value saved on other related sources such as page or template&#x20;

Example:

<pre class="language-php"><code class="lang-php">&#x3C;?php
<strong>// for ACF
</strong><strong>if (function_exists('gb_get_field')) {
</strong><strong>  $value = gb_get_field('acf_my_value');
</strong><strong>}
</strong>// for Metabox
if (function_exists('gb_get_field')) {
  $value = gb_get_field('mb_bricks_template_my_value');
}
</code></pre>

#### get\_gutenbricks\_meta($key, $post\_id, $args)

**$key (required):** key value that you would use inside Bricks builder to retrieve the dynamic data. You will need `acf_` and `mb_bricks_template_` prefixes for them

**$post\_id (optional)**:  Post, page or CPT where you want to retrieve the data from

**$args (optional):** $arg parameter for Metabox's rwmb\_get\_value(). Ignored when the dynamic data is from ACF.


# Unique IDs

Since RC 4, (tested under RC3.7.x) all the blocks generated by GutenBricks will have unique IDs. A unique ID is made of a combination of the Bricks Builder's original ID and a block ID generated when the user inserts a new block:

Example:

```
// Bricks Builder ID
brxe-8e9775

// GutenBricks ID with a block ID as a suffix to ensure uniqueness 
b-8e9775_ls8i5k7o 
```

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FfHBSArDDUPr41xgo8ehe%2FScreenshot%202024-02-28%20at%209.28.40%E2%80%AFPM.png?alt=media&amp;token=ef7d4237-fb57-4536-b00f-c6795f432ff3" alt=""><figcaption><p>Here a same template rendered 6 times.</p></figcaption></figure>

Note: the prefix "brxe" is replaced with "b-" to reduce the length of ID.


# Filter: gutenbricks\_bricks\_theme\_name

GutenBricks plugin is initiated only when the Bricks theme is activated under the folder name `bricks.` If your theme folder name is different, GutenBricks will not start. This filter allows users to override that theme name so that GutenBricks still works.

```php
add_filter('gutenbricks_bricks_theme_name', function ($original_folder_name) {
  // Here the original_folder_name is 'bricks'
  // But my bricks theme is under a folder name 'bricks-awesome'
  return 'bricks-awesome'
});
```


# 🔌 Third Party Integrations

We are working hard to provide integrations with third party libraries.

## Integration Request and Bug Reports

Please send us bug reports and integration requests at <support@gutenbricks.com> or join our [Slack](https://wiredwp.com/join-our-slack-group) and [Facebook Group!](https://www.facebook.com/groups/wiredwp)

## Compatibility

#### For 1.0.0 Release

|                        | Display in Gutenberg                                                     | Frontend Render                                 | Versions                  |
| ---------------------- | ------------------------------------------------------------------------ | ----------------------------------------------- | ------------------------- |
| Automatic.css          | <mark style="color:green;">**Integrated**</mark>                         | <mark style="color:green;">**It works!**</mark> | <p>2.7.3</p><p>2.8.0 </p> |
| Core Framework         | <mark style="color:green;">**Integrated**</mark>                         | <mark style="color:green;">**It works!**</mark> | 1.3.7                     |
| BricksExtra            | <mark style="color:green;">**Integrated**</mark>                         | <mark style="color:green;">**It works!**</mark> | 1.4.0                     |
| Advanced Themer        | <mark style="color:orange;">**Testing...**</mark>                        | <mark style="color:green;">**It works!**</mark> | 2.4                       |
| BricksCore             | <mark style="color:orange;">**Testing...**</mark>                        | <mark style="color:green;">**It works!**</mark> | 1.4                       |
| BricksForge - Pro Form | <mark style="color:orange;">**Testing...**</mark>                        | <mark style="color:green;">**It works!**</mark> | 2.1.6                     |
| Yabe Siul TailwindCSS  | [<mark style="color:purple;">**Planned**</mark>](#user-content-fn-1)[^1] | <mark style="color:green;">**It works!**</mark> |                           |
| Winden TailwindCSS     | [<mark style="color:purple;">**Planned**</mark>](#user-content-fn-1)[^1] | <mark style="color:green;">**It works!**</mark> |                           |
| Motion.page            | [<mark style="color:purple;">**Planned**</mark>](#user-content-fn-1)[^1] | <mark style="color:green;">**It works!**</mark> |                           |
| OxyProps               | <mark style="color:purple;">**Planned**</mark>                           | <mark style="color:green;">**It works!**</mark> |                           |
| FancyBricks            | <mark style="color:purple;">**Planned**</mark>                           | <mark style="color:green;">**It works!**</mark> |                           |

##

[^1]:


# ACSS integration with GutenBricks

At WiredWP, we use ACSS in-house. So ACSS integration is crucial for our clients.&#x20;

## Important Note for ACSS users

If you're facing CSS issues please check under GutenBricks settings -> Integration under ACSS sections, there will be options to help you solve those issues.&#x20;

<figure><img src="https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FoYSwLJd02CRNOmcHue1j%2FScreen%20Shot%202024-02-19%20at%2011.00.44%20PM.jpg?alt=media&amp;token=f083eda3-2ef1-4336-9d31-c994c50de030" alt=""><figcaption></figcaption></figure>

## ACSS 2.8.0

### \[RESOLVED] The issue with full-width Gutenberg Editing

GutenBricks is loading old ACSS's CSS file.&#x20;

###


# ACSS 2.8.0 Section padding missing

Reported by Dave Foy.

### \[RESOLVED] Issue with sections with no paddings

{% embed url="<https://youtu.be/rXji1GrUOyo>" %}

ACSS 2.8.0 introduced a new CSS rule that removes padding from a section nested in another section. This caused an issue when the user used the Post Content element to render WordPress content while wrapping the Post Content element with a section. This will remove all the padding within all the otherwise top-level sections. &#x20;

```css
:where(section:not(section section)) {
    padding-block: var(--section-space-m);
    padding-inline: var(--section-padding-x);
}
```

Since GutenBricks 1.0.0-rc2.6 we've decided to add the following CSS for ACSS > 2.8.0 to solve this issue:

```css
/* GutenBricks ACSS nested section patch */
:where(.brxe-post-content section:not(.brxe-post-content section section)) {
  padding-block: var(--section-space-m);
  padding-inline: var(--section-padding-x);
}
```

A special thanks to Dave Foy and Chad Botha for spotting and debugging this bug.


# ACF / Meta Box integration

Both ACF and Meta Box are developed and supported as a twin. There might be plugin-specific functions and fields in the future, then we will create separate content for them.

{% hint style="warning" %}
For CSS variables\
&#x20;When using ACF/Meta Box variables as CSS variables, please set the values with var() because var({acf\_some\_value}) format is not working properly at the moment. v1.0.0&#x20;
{% endhint %}

## Supported Fields for Inline Editing (v1.0.0-RC.3)

These fields are the ones that appear on the right panel of the Gutenberg editor and allow you to control the blocks.

| Field Name            | Supported?                                                                           |
| --------------------- | ------------------------------------------------------------------------------------ |
| Text                  | <mark style="color:blue;">**Yes**</mark>                                             |
| Text Area             | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Range                 | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Image                 | <mark style="color:blue;">**Suported with possible limitations**</mark>              |
| Select                | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Checbox List          | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Checkbox (True False) | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Radio                 | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Time Picker           | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Date Picker           | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Date Time Picker      | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Color                 | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Email                 | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Url                   | [<mark style="color:blue;">**Yes**</mark>](#user-content-fn-1)[^1]                   |
| Password              | <mark style="color:orange;">**Will not support due to security implications**</mark> |

[^1]:


# ❤️ Our Approach and Philosophy

## Our Approach

At GutenBricks, we use our own plugins in-house as well as many popular add-ons for our agency clients. So integration with these tools is not only crucial to our plugin users but also to us. When it comes to integration and building a product, we wanted to first define our position as another plugin and mindset being a crossroad of plugins.&#x20;

* We are an adapter. So we will adapt to any edge cases of integration.
* We are part of the Bricks ecosystem. We want to protect and grow this ecosystem together through open communication and collaboration.&#x20;
* We respect Bricks Builder as our mothership and will respect its product directions and philosophy as our foundation.&#x20;


# Known issues and bugs

1. You can only embed one block with filters per page (@since 1.1.15.1 )\
   This is due to a technical difficulty. This is the same with FacetWP.
2. (Resolved in 1.1.23) When using query loops, taxonomy controlled by ACF or Meta Box or GB:Meta might not behave properly when the same block is used multiple times on the same page. The workaround is to create a separate block.&#x20;
3. The pagination are not stable at the moment. We have a solution. Please stay tuned.


# Current Changelog

**v.1.1.25 (Jul, 29, 2025)**

* FIXED: Dynamic data not rendered properly within Gutenberg editor

**v.1.1.24 (June, 23, 2025)**

* FIXED: Block not showing in the editor
* FIXED: Block rendering too slow
* FIXED: GB:Meta images not showing alt text
* FIXED: Bricks query duplicates
* FIXED: Aria label not being applied properly

**v.1.1.21-RC1 (May, 27, 2025)**

* FIXED: Dynamic class doesn't work within loops
* ADD: CSS editor snippet to disable lightbox clicking

**v.1.1.20.2 (May 9, 2025)**

* ADD: Number and Range for GB:Meta
* ADD: Add {gb\_query\_index} dynamic data. See [Built-in GutenBricks Dynamic Data](/dynamic-data/built-in-gutenbricks-dynamic-data)
* FIXED: Performance issue loading the block

**v1.1.19.7 (May 8, 2025)**

* FIXED: When selecting video file using media, it also shows non-video files
* FIXED: Filter CSS is broken when a filter value is selected
* FIXED: WYSIWYGEditor not changing value properly

**v1.1.19.4**

* NEW: Custom CSS to enfource GutenBricks block width
* FIXED: Octal escape sequences in CSS breaking the Gutenberg editor For eg, \201E
* FIXED: When description has a new line it breaks the blocks
* FIXED: Blocks not loading because of the version is not properly applied

**v1.1.19**

* IMPROVED: User now can expand nested accordion items within InnerBlocks
* NEW: Opacity for color selector
* FIXED: Remove `_load_textdomain_just_in_time` error message
* FIXED: Blocks not loading in WordPress 6.8
* FIXED: Queried elements not loading
* FIXED: MetaBox AIO not being recognized&#x20;
* FIXED: non-ACF get\_field() function falsely marks ACF as active
* FIXED: Image not selectable in Gutenberg editor
* FIXED: Bricks' Rich Text element not displaying classes
* FIXED: Hide block templates if they are not in "publish" status.

<br>

**v1.1.18.1 - Beta (Mar 27, 2025)**

* FIXED: WPML issue where the template was not retrieved by languages&#x20;
* FIXED: WPML translated image becomes blank when it is wrapped in \<a>
* FIXED: WPML Button not translated when texts are wrapped in \<span>

**v1.1.18 - Beta (Mar 26, 2025)**

* FIXED: Only the InnerBlock restriction in the last variant is valid, overriding others&#x20;
* FIXED: The parent content is appears again before the content inside InnerBlock&#x20;
* FIXED: InnerBlock widget should not appear in Bricks Builder when it's not GutenBricks block template<br>

**v1.1.17.4 - Beta (Mar 16, 2025)**

* CHANGE: Remove the testing warning and add "tested up to..." message (Thanks to Matt Hias' advice) <br>

**v1.1.17.3 - Beta (Mar 5, 2025)**

* FIXED: Fixed ID not being applied properly.
* FIXED: Assets are not loading in GutenBricks settings page
* FIXED: When duplicate pages or posts, the text encoding breaks.
* FIXED: Link editing issue where parent takes over children's link data&#x20;
* FIXED: ACF/MetaBox data conflicting with GB:Meta
* FIXED:: Blocks with the same block id coming from different posts are not duplicating the contents anymore. <br>

**v1.1.17 - Beta1 (Feb 11, 2025)**

* CHANGED: Change the dev environment to prepare for v2.0
* IMPROVED: New post selector
* IMPROVED: Add max block number inside InnerBlock
* FEATURE: Option to disable a wrapper element wrapping around innerBlock (Special thanks to [David Kuhlmann](https://github.com/schrittweiter-gmbh))&#x20;
* FIXED: WSForm not being rendered inside Gutenberg editor
* FIXED: Link not editable when user selects a text inside

**v1.1.16  (Jan 23, 2025) MERGED INTO v1.1.17**

* FIXED: FacetWP filter doesn't work
* FIXED: Duplicated carousel contents sometimes
* FIXED: Polylang String/DeepL translations not being updated
* FIXED: Video and other form fields not saving
* FIXED: Post selector crashes when post title is empty
* FIXED: Style editor not rendering style properly
* ADD: if-so integrator
* ADD: Add nofollow to links
* UPDATED: Editor CSS now compatible with Bricks 1.12&#x20;

**v1.1.14 (Oct 29, 2024)**

* FIXED: CSS not rendered properly when elements are deeply nested.

**v1.1.12 (Oct 24, 2024)**

* FEATURE: Add a toggle for WPML to load blocks for all the languages\
  ![](https://115503993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRpgq7lelxP9PFleE0QT%2Fuploads%2FKHl5b8pCFsdfMWcBNQ7f%2FScreenshot%202024-10-24%20at%208.21.49%E2%80%AFPM.png?alt=media\&token=f11fb577-1024-4e79-9934-2a98e8d594f0)
* FIXED: Block document not loading
* FIXED: Removed width: 100% from the block wrapper to fix width issue in InnerBlock

**v1.1.11 (Oct 23, 2024)**

* FIXED: Text fields' allowed headings and styles are not correct when used in variants
* FIXED: CSS issues where ACSS applies unwanted CSS to children of data-souce="editor"
* FIXED: Querying post items duplicates

**v1.1.10 (Oct 18, 2024)**

* FIXED: Polylang activation was not properly detected by GutenBricks. (Thanks to Cees)

**v1.1.9 (Oct 18, 2024)**

* FIXED: InnerBlock text colors not applied correctly within CoreFramework
* FIXED: Remove warnings from bricks\_is\_builder() is not a function (thanks to Michael)
* FIXED: Hide settings tab from tabs when there is no tab
* FIXED: When ACSS is present, remove CSS for font-size within GutenBricks
* FIXED: Style Editor duplicates when there are more than one variant.

**v1.1.8.1 (Oct 16, 2024)**

* FIXED: ACF / ACF Pro error message when ACF Pro resides within Advanced Themer
* NEW: Add custom \<script> or \<style> in Gutenberg editor

**v1.1.7 (Oct 15, 2024)**

* FIXED: Native fields not loading correctly in a certain case
* FIXED: Code block not running when Polylang is activated (Thanks to Cees)
* IMPROVED: Polylang integration

**v.1.1.6 (Oct 14, 2024)**

* FIXED: More accurate font-size when it comes to ACSS
* FIXED: ACF/SCF not being detected properly
* FIXED: Table of Content element not working

**v.1.1.5 (Oct 12, 2024)**

* FIXED: Remove Rich Text Editor's wrapper
* FIXED: Blocks not loading in certain WordPress environment

**v.1.1.4 (Oct 11, 2024)**

* NEW: New Rich Text Editor
* FIXED: CSS issues in Gutenberg Editor
* FIXED: Dulicated carousel content when used with ACF gallery (Thanks to Philip Yong)

**v1.1.3 (Oct 10, 2024)**

* FIXED: Heading not showing in Rich Text (Thanks to Tim)
* FIXED: Absolute elements are not showing properly (Thanks to Malte)

**v1.1.2 (Oct 8, 2024)**

* NEW: Add Dynamic Class and Style Editor to InnerBlock Widget
* FIXED: WPML string translation didn't update properly

**v1.1.0 (Oct 7, 2024)**

* NEW: InnerBlock
* NEW: Custom Popup Message
* NEW: A link to template post within Gutenberg editor
* NEW: Icons for variant and toggle in Bricks Structure View
* NEW: JavaScript events when block is rendered within Gutenberg editor ([Learn More](https://docs.gutenbricks.com/resources/developer-api/gutenbricks-events-for-gutenberg-editor))
* NEW: Configure where the code blocks should run (frontend or Gutenberg editor)
* NEW: Dynamic class for Block wrapper
* NEW: When "Save block content in post" enabled
  * NEW: Now supports WPML String translation
  * IMPROVED: Blocks instantly loaded in Gutenberg Editor
  * IMPROVED: Fallback content when GutenBricks and Bricks are disabled
  * FIXED: RankMath works properly
* IMPROVED: Rendering Performance
* IMPROVED: Cleaner HTML structure for blocks without wrapper elements
* FIXED: Page template didn't work well with staging environment
* FIXED: Font too small when using rem in Gutenberg editor
* IMPROVED: Blocks reflect Bricks theme style
* FIXED: Text icon breaks
* FIXED: Internal Link not rendering properly
* REMOVED: JavaScript for editor

**v.1.0.8 (Sep 14, 2024)**

* FEATURE: Support for ACF gallery (MetaBox in-development)
* FEATURE: Editor for gallery element
* FEATURE: Custom CSS for Gutenberg Editor ([Read More](/customizing-gutenberg/gutenberg-editor-custom-css))
* FEATURE: Users can select a default page template ([Read More](/client-experience/default-page-template))
* FEATURE: Global themes are now reflected on Block Editor
* FEATURE: {echo:gb\_current\_element\_id} or gb\_current\_element\_id() returns the GutenBricks unique ID for an element if called within the element
* IMPROVEMENT: Allow media button to add all types of media
* BUGFIX: Text link icon breaks
* BUGFIX: Prevent button and link from being clicked inside block editor
* BUGFIX: Div links not being rendered properly after Bricks 1.10.0
* BUGFIX: Internal link not working properly
* BUGFIX: Remove warnings

**v.1.0.6 (Aug 1, 2024)**&#x20;

* More BricksExtra supports within the editor (Lightbox, Back to Top, Pro Accordion, Before After Image, Tabs, Pro Slider, Burger Trigger, Content Timeline, Content Timeline Horizontal, Copy to Clip Board, Copy to Clipboard Popover, Countdown, Cursor, Dynamic Table, Sticky Header, Header Search, Hide Header, Image Hotspots, Social Share, Reading Progress Bar)
* Taxonomy not loading properly (Thanks Riyad's report!)
* Remove version warning&#x20;
* Remove warning messages
* Button icon duplicates
* Button SVG not displaying in Gutenberg editor

**v1.0.5 (July, 16, 2024)**&#x20;

* BUGFIX: block class rendered even in the children elements
* BUGFIX: Fix the issue where the images set to index: -1 are not showing
* BUGFIX: WYSIWYG editor within repeater breaks when it has links
* BUGFIX: 2 or more sliders don't render properly at the same time
* BUGFIX: Visibility doesn't work properly on the root element
* BUGFIX: Separator breaks within Gutenberg editor when used with text

**v.1.0.3 (July, 8, 2024)**

* BUGFIX: Text editor not showing list and other tags properly in Gutenberg editor
* IMPROVEMENT: Native Gutenberg header displayed in right width and centered in Gutenberg editor

**v.1.0.2 (July 2, 2024)**

* BUGFIX: Block documentation not loading
* BUGFIX: Remove warning messages

**v.1.0.0 (July 1, 2024)**

* FEATURE: Delayed visibility to solve FOUC & CLS issue
* FEATURE: CSS Loading optimization
* FEATURE: New Get Started in Settings section
* FEATURE: Rich Text editor now supports shift + enter to add a new line (Thanks to Max Sankovich)
* FEATURE: Native video element editing
* FEATURE: Experimental native fields feature (text, true/false, radio, select, image)
* FEATURE: Adding file and number fields for ACF and Meta Box
* FEATURE: Add default page template
* FEATURE: Allow users to override Bricks' theme name using a filter gutenbricks\_bricks\_theme\_name (requested by Michael)
* FEATURE: Users can choose which post types to have certain block bundles
* FEATURE: WYSIWYG editor (works in repeater as well)
* FEATURE: Post Selector now can reorder
* FEATURE: Any elements such as cards wrapped in \<a> are no longer redirecting when clicked in the editor. You can also edit the links now.
* FEATURE: Repeater
* FEATURE: New text editing
* FEATURE: Style Editor to edit CSS such as colors and background-image
* FEATURE: Post object / relationship selector for ACF
* FEATURE: gb\_get\_field(). This function allows you to retrieve Block metadata programmatically
* FEATURE: Native Variant Builder
* FEATURE: Disabling editing for an element or entire template
* FEATURE: Inline editing form toggle inside Gutenberg editor
* FEATURE: Native editing form
* FEATURE: Value binding
* FEATURE: Dynamic Classes
* FEATURE: Customize block icons
* FEATURE: Customize Block Settings. In this version, there is only one field called HTML ID field
* FEATURE: Turn off rendering of container, block, section and div blocks
* FEATURE: Unique ID for elements
* FEATURE: Meta Box integration Beta features with limited input fields.
* FEATURE: ACF instructions are now visible (Requested by Stacey)
* FEATURE: Adding image using ACF field
* FEATURE: Compatibility test passed with Bricks 1.9.6. We will support the new filters and SVG features in the following releases.
* FEATURE: Edit URL for the Text Link element
* FEATURE: Changed from Checkbox to Toggle for True/False ACF field (Thanks Olli)
* FEATURE: A new template type "GutenBricks Block" has been added, you MUST use this block type for your templates.
* FEATURE: Added "default" bundle. If no bundle is assigned, the template will belong to the default bundle.
* FEATURE: Better rendering, preview and accuracy including a working responsive view.
* FEATURE: Edit button URL
* FEATURE: New ACF fields: URL, True/False and Email
* FEATURE: Customize "ACF Settings" label on Gutenberg editor
* FEATURE: New third-party integration: BricksExtra


# Past Changelog

These are the logs for RC releases.&#x20;


# v1.1-RC (Released as v1.1.0)

**v.1.1.0-RC3 (Oct 6, 2024)**

* NEW: Icons for variant and toggle in Bricks Structure View
* NEW: JavaScript events when block is rendered within Gutenberg editor ([Learn More](/resources/developer-api/gutenbricks-events-for-gutenberg-editor))
* NEW: Configure where the code blocks should run (frontend or Gutenberg editor)
* NEW: Dynamic class for Block wrapper&#x20;
* NEW: When "render content" is enabled, blocks render instantly within Gutenberg editor
* IMPROVED: Rendering Performance
* IMPROVED: Cleaner HTML structure for blocks without wrapper elements
* REMOVED: JavaScript for editor
* FIXED: Page template didn't work well with staging environment
* FIXED: Font too small when using rem in Gutenberg editor

**v.1.1.0-RC2.1 (Sep 14, 2024)**

* FEATURE: Save block data as block content which can be a fallback content when GutenBricks or Bricks Builder is deactivated
* BUGFIX: Remove warnings
* BUGFIX: Broken styles in Gutenberg Editor

**v.1.1.0-RC2 (Sep 4, 2024)**

* FEATURE: Blocks reflecting the Bricks Theme Style
* FEATURE: JavaScript block to run everytime the block is re-rendered within the editor
* BUGFIX: Some users reporting InnerBlock not working and blocks are not registered
* BUGFIX: Warnings
* IMPROVEMENT: Tested up to Bricks 1.10.1, warning notification removed
* BUGFIX: Text icon breaks
* BUGFIX: Internal Link not rendering properly

**v.1.1.0-RC1 (Aug 5, 2024)**&#x20;

* FEATURE: InnerBlock
* FEATURE: Custom Popup Message
* FEATURE: Add a button to go to template post


# v1.0-RC (Released as v1.0)

**v.1.0.0-rc.5.5.8 (Jun 28, 2024)**

* IMPROVEMENT: Delayed visibility to solve FOUC & CLS issue&#x20;

**v.1.0.0-rc-5.5.7 (Jun 27, 2024)**

* BUGFIX: Rendering optimization, including images and repeaters

**v.1.0.0-rc-5.5.5 (Jun 25, 2024)**

* IMPROVEMENT: CSS Loading optimization
* HOTFIX: JS not loading properly

**v.1.0.0-rc-5.5.4 (Jun 24, 2024)**

* HOTFIX: Inline CSS positioned in the wrong priority
* IMPROVEMENT: New Get Started in Settings section

**v.1.0.0-rc-5.5.2 (Jun 21, 2024)**

* IMPROVEMENT: Rich Text editor now supports shift + enter to add a new line (Thanks to Max Sankovich)
* BUGFIX: Google font not loading
* BUGFIX: Meta Box advanced location not working (Thanks to Cees)
* BUGFIX: Visibility Token invisible if the last variant is invisible
* BUGFIX: Text alignment not applied in the front-end (Thanks to Alan Blair)
* BUGFIX: Non-global class not being rendered in dynamic class
* BUGFIX: Custom HTML ID missing CSS

**v.1.0.0-rc-5.5.0 (Jun 19, 2024)**

* FEATURE: native video element editing
* FEATURE: experimental native fields feature (text, true/false, radio, select, image)
* BUGFIX: Dynamic data breaks inside text editors (Thanks Olli again for reporting it)
* BUGFIX: CSS being loaded in the footer area causing CLS issue (Thanks to Jan and Milen's report)
* BUGFIX: icons not being loaded in the frontend

**v.1.0.0-rc-5.4.2 (Jun 7, 2024)**

* HOTFIX: HTML breaking in some edge cases
* FEATURE: Adding file and number fields for ACF and Meta Box

**v.1.0.0-rc-5.4.1 (Jun 5, 2024)**

* HOTFIX: CSS loading error where it has duplicate CSS
* FEATURE: Add default page template
* FEATURE: Allow users to override Bricks' theme name using a filter `gutenbricks_bricks_theme_name` (requested by Michael)
* BUGFIX:  Image not loading when ACF image type is set to Array&#x20;
* BUGFIX: The style editor doesn't work with multiple blocks

**v.1.0.0-rc-5.3.0 (May 25, 2024)**

* FEATURE: Users can choose which post types to have certain block bundles

**v.1.0.0-rc-5.2.1 (May 21, 2024)**

* FEATURE: WYSIWYG editor (works in repeater as well)
* IMPROVEMENT: Post Selector now can reorder
* IMPROVEMENT: Any elements such as cards wrapped in \<a> are no longer redirecting when clicked in the editor. You can also edit the links now.
* BUGFIX: Text Editor \<li> \<ol> disappears in Gutenberg Editor (Thanks to Tom Grice's report)
* BUGFIX: Preview not working properly
* BUGFIX: Sometimes blocks are not loaded when the staging URL is redirected to the production website (thanks to Fabien's report)

**v.1.0.0-rc-5.0.2 (May 14, 2024)**

* FEATURE: Repeater

**v.1.0.0-rc-4.6.3 (May 6, 2024)**

* BUGFIX: Render \<ul> \<ol> properly and remove unnecessary HTML (Thanks to Tom Grice and Jarmo Sainio!)
* BUGFIX: Text Link doesn't have URL editor (Thanks to Cyrus Razavi)
* BUGFIX: Visibility toggle causes rendering error (Thanks to Nick's report!)&#x20;

**v.1.0.0-rc-4.6.2 (May 3, 2024)**

* BUGFIX: Unable to edit links in some cases
* BUGFIX: Variants not loading properly in editor&#x20;
* BUGFIX: Variant data not rendered (Thanks to Tom Grice's report!)
* BUGFIX: Rich Text editor CSS not following the original element

**v.1.0.0-rc-4.6.0 (May 1, 2024)**

* FEATURE: New text editing
* BUGFIX: The license page goes blank initially
* BUGFIX: Polylang not loading components properly
* BUGFIX: Polylang not working with BricksExtra condition
* BUGFIX: HTML ID field fails to work with variants

**v.1.0.0-rc-4.5.3 (Apr 18, 2024)**

* BUGFIX: Image and video block not centred in the editor.
* BUGFIX: ACSS classes not applied as dynamic class (Thanks to Cees)
* BUGFIX: Polylang loading issue (Thanks to Cees)
* BUGFIX: GutenBricks - Page template not available (Thanks to Malte)
* BUGFIX: Block preview height keeps increasing

**v.1.0.0-rc-4.5.1 (Apr 16, 2024)**

* FEATURE: Style Editor to edit CSS such as colors and background-image
* FEATURE: Post object / relationship selector for ACF

**v.1.0.0-rc-4.2.3 (Apr 8, 2024)**

* BUGFIX: The background image not being updated
* BUGFIX: Image not updating when not wrapped in other tags

**v.1.0.0-rc-4.2.0 (Apr 5, 2024)**

* FEATURE: `gb_get_field().` This function allows you to retrieve Block metadata programmatically\
  Please read the doc: <https://docs.gutenbricks.com/core-features/gb_get_field>
* BUGFIX: Image and Video block not centred within Gutenberg editor

**v.1.0.0-rc-4.1.11 (Apr 2, 2024)**

* Security patch
* Changed the name from `Block Page` to `Page Template`
* BUGFIX:  The licensing cache failure where every block rendering is triggering an HTTP call to the licensing API

**v.1.0.0-rc-4.1.8 (Mar 22, 2024)**

* Compatibility tested with Bricks 1.9.7.1
* BUGFIX: Button/Link not toggle not set properly after editing the button
* IMPROVEMENT: Making Bricks version warning dismissible

**v.1.0.0-rc-4.1.5 (Mar 8, 2024)**

* BUGFIX: Adding images as block preview (Shout out to Lee Matthew Jackson)
* TYPO: Fix misspelled words (Thanks to Chad Botha!)
* IMPROVEMENT: Minified assets to improve loading

**v.1.0.0-rc-4.1.2 (Mar 6, 2024)**

**New Features**

* Native Variant Builder
* BUGFIX: Remove n.Element is not a constructor bug
* BUGFIX: Attributes not updating properly in ACF and Meta Box fields

**v.1.0.0-rc-4.0.2 (Mar 4, 2024)**

* BUGFIX: Styles not applied correctly within query loops
* BUGFIX: ACF/MB boolean values are not behaving properly when default value was set true
* IMPROVEMENT: Making inline form optional and secondary (Thanks to John Difool's insight)

**v.1.0.0-rc-4 (Mar 3, 2024)**

**New Features**

* Disabling editing for an element or entire template
* Inline editing form toggle inside Gutenberg editor
* Native editing form
* Value binding
* Dynamic Classes
* Customize block icons
* Customize Block Settings. In this version, there is only one field called `HTML ID field`
* Turn off rendering of container, block, section and div blocks

**v.1.0.0-rc-3.7.4 (Mar 1, 2024)**

* BUGFIX: Unique ID style rendered twice in Style
* BUGFIX: Gutenberg crashes when an array value passed as a string
* IMPROVEMENT: Improving unique ID performance
* PATCH: Third-Party plugin integration - resolving Solving SimpleShop conflict

**v.1.0.0-rc-3.7 (Feb 28, 2024)**

* Includes breaking changes from RC4.0
* Unique ID for elements

**v.1.0.0-rc-3.6.8 (Feb 27, 2024)**

* BUGFIX: Image size not respecting Bricks builder's image size
* BUGFIX: Scoping addon and Bricks CSS within Gutenberg editor&#x20;

**v.1.0.0-rc-3.6.6 (Feb 26, 2024)**

* BUGFIX: Remove warnings
* BUGFIX: Global fonts not loading properly
* BUGFIX: Colour picker missing in ACF
* BUGFIX: Image not updating if wrapped in

**v.1.0.0-rc-3.6.5 (Feb 25, 2024)**

* BUGFIX: Bricks core CSS and add-ons styles not properly scoped within GutenBerg editor
* BUGFIX: Fatal error for Bricks older than 1.9.6
* BUGFIX: Elements (Buttons, Text Link) not being unfocused in Gutenberg editor
* BUGFIX: Dynamic URL not rendered properly for Text Link and Button

**v.1.0.0-rc-3.6.2 (Feb 22, 2024)**

* BUGFIX: BricksCore add-on JS not being loaded properly
* BUGFIX: Not being able to edit text in certain hosting, browser environemnt
* BUGFIX: Bricks slider element not showing in Gutenberg
* BUFGIX: Removing a few warnings

**v.1.0.0-rc-3.5 (Feb 21, 2024)**

* BUGFIX: ACF values not displaying properly&#x20;
* BUGFIX: addon Javascripts not loading on time

**v1.0.0-rc-3 (Feb 16, 2024)**

* NEW: Meta Box integration Beta features with limited input fields.

**v1.0.0-rc-2.16 (Feb 17, 2024)**

* BUGFIX: TypeError: l(...).sortable is not a function. (Reported by Vladimir and Malte.)
* BUGFIX: Unable to edit Blocks within CPTs (Reported by John Aperture)

**v1.0.0-rc-2.15 (Feb 14, 2024)**

* BUGFIX: Core Framework Gutenberg doesn't load (Thanks to Jan's report)
* BUGFIX: Switching between buttons within the same component does not update URL value when the field is empty (Thanks to Olli for reporting!)
* BUGFIX: Text inputs not being able to enter space

**v1.0.0-rc-2.14 (Feb 13, 2024)**

* BRICKS UPDATE: It's tested with Bricks 1.9.6.1
* BUGFIX: Resources not loading properly when WordPress' working directory is a subdirectory (Many thanks to John Garvin)&#x20;

**v1.0.0-rc-2.12 (Feb 12, 2024)**

* BUGFIX: ACSS improvement. Fix specificity (Thanks to Steve Baker) Please re-save the ACSS settings to generate new CSS!
* BUGFIX: Checkbox value not being loaded (Thanks to Olli Koskimäki)
* BUGFIX: Warnings removed (Thanks to Valentin Petlov and Peter Benard)

**v1.0.0-rc-2.10 (Feb 10, 2024)**

* NEW: ACF instructions are now visible (Requested by Stacey)
* NEW: Adding image using ACF field
* BUGFIX: ACSS issues where its CSS affects the Gutenberg editor (unwanted full-width, p and headings losing margin etc reported by Dave Foy)
* BUGFIX: Blocks loading duplicate style sheets causing styles to break in Gutenberg editor (Special thanks to Chad Botha)
* BUGFIX: Block Page was visible in Gutenberg editor as a block (Reported by Steve Baker)
* BUGFIX: Text Link is clickable inside Gutenberg, redirecting users (Reported by Nick)
* Some minor performance improvement

**v1.0.0-rc-2.8 (Feb 9, 2024)**

1. BUGFIX: Add an option to preserve section padding within the Post Content element that is again wrapped in another section for which ACSS recognizes it as section > section and removed padding. Reported by Dave Foy
2. BUGFIX: BricksBuilder loaded ACSS Gutenberg CSS even after the user turned off Gutenberg support, causing unwanted full-width editing within Gutenberg. Reported by Dave Foy

**v1.0.0-rc-2.7 (Feb 9, 2024)**

1. NEW: Compatibility test passed with Bricks 1.9.6. We will support the new filters and SVG features in the following releases.
2. NEW: Edit URL for the Text Link element
3. NEW: Changed from Checkbox to Toggle for True/False ACF field (Thanks Olli)&#x20;

**v1.0.0-rc-2.6 (Feb 8, 2024)**

1. BUG FIX: Remove dummy "default" and now the ACF default value behaves correctly
2. BUG FIX: Calling ACF using get\_field in code block doesn't retrieve value
3. BUG FIX: When the link is selected as internal, the href was missing from \<a> tag
4. BUG FIX: The ACF values from neighbouring siblings are being shared
5. BUG FIX: Bring back the tooltip over dynamic data and disable its editing (Olli)
6. BUG FIX: Offset ACSS's 2.8.0's CSS that removes padding for a section nested in another section

**v1.0.0-rc.2.2 HOT FIX update (Feb 5, 2024)**\
(You do not need to update to this version yet if you don’t experience the following issues)

1. Value does not load properly on certain hosting systems due to an unknown issue. (very likely hosting caching issue)
2. Warning message reported by @Val Petlov due to missing ‘style’ attribute in element’s setting object.

**1.0.0-rc.2.2 (Feb 4, 2024)**

RC.2 has been released and it was the last RC. Thank you for your feedback and bug reports. Now we understand more about the real use cases and what kind of product GutenBricks should become!

1. A new template type "GutenBricks Block" has been added, you MUST use this block type for your templates.
2. Added "default" bundle. If no bundle is assigned, the template will belong to the default bundle.
3. Better rendering, preview and accuracy including a working responsive view.
4. Edit button URL
5. New ACF fields: URL, True/False and Email
6. Customize "ACF Settings" label on Gutenberg editor
7. New third-party integration: BricksExtra


