From this quick and simple tutorial, you will learn what are Gutenberg blocks and what is the main difference between blocks for Gutenberg. You will also learn how to apply nested and reusable blocks in the Gutenberg editor.
It’s not a secret, that the Gutenberg editor blocks provide a new wide approach to website building and allows you to create your own unique site structure. The main advantage is about building a custom WordPress page with Gutenberg blocks. You don’t need a line of code to do it. You become completely able to power-up your pages even if you have a bare-bones simple WordPress installation.
Check this video to quickly go through the functionality of Gutenberg blocks, and the ways to use block groups and reusable blocks.
How do the blocks for Gutenberg work under the hood?
First and foremost, let’s demystify the Gutenberg editor blocks. Basically, they are chunks of content, with the help of which you can create any website, from a contemporary blog page to a multipurpose online store. Blocks for Gutenberg were created to expand the functionality and let us work with the structure.
Let’s jump into the editor and explore how the Gutenberg blocks compose the page. There are a few ways of accessing Gutenberg blocks in WordPress:
- The most simple way is to press “Enter” on the keyboard and make a new paragraph. You will be automatically offered to add a Gutenberg block. All you need to do is just press the “+” icon.
- Click on the “+” icon, which is located at the upper left corner of the editor field.
- You also can add a block above the chosen one. Hover above any block and press the “+” icon.
Each Gutenberg block gives you a few various possibilities, let’s take a quick look at them.
- You are able to transform your block to some other blocks, such as heading, quote and a lot more.
- Also, you can set the alignment of the block in one click.
- Make your text bold or italic.
- Add a link, inline image, code or strikethrough.
Create a website structure in no time with Gutenberg editor blocks
You may wonder, how else can you speed-up the process of website building and make it an enjoyable journey. Check out the list of the default Gutenberg blocks:
|Paragraph block||Gallery block||Heading block|
|Quote block||List block||Cover block|
|Image block||Audio bock||Video block|
|File block||Columns block||Button block|
|Spacer block||Media and text block||Page break block|
- Each Gutenberg block has a set of options above, where all the basic settings are gathered to take the hassle out of your work. Add a link, work with text elements, add an inline image – it’s up to you!
The ability to transform each block into at least three other ones comes in one click
- By clicking on the three-dotted icon you face the list of additional opportunities according to your Gutenberg editor blocks, from inserting blocks to editing as HTML.
- One more block-specific option is adding a custom CSS class for your Gutenberg block
What are the nested blocks for Gutenberg and how to make your blocks reusable?
Sometimes you need to move a block around the page or add the block, which already contains a bunch of content, to another page. This process is super easy. Let’s imagine you have an encouraging heading, which stimulates people to subscribe, and a call-to-action button with the related text.
Agree, it’s quite tedious to move the blocks separately. What we need to do is to move a few blocks into more than 5 sections on more than 5 pages. The nested blocks for Gutenberg will solve this annoying problem!
- To add a Group, simply click on the “+” icon and type the “Group” text into the search field.
- Add the group and drag and drop the needed Gutenberg blocks inside it.
Congratulations, now you can move the related blocks together! Although, you still need to add the group on various pages. It’s time for the reusable Gutenberg editor blocks! Creating a reusable block is easy as pie.
- Select the group of blocks and click on it. The additional panel will appear above it.
Click in the three-dote icon and find the “Add to Reusable Blocks” tab
- Give a name to the newly created reusable block and click on the “Save” button. Now you can use it all over the website! You can always find it at the bottom of the blocks dropdown.
Now you know what are the Gutenberg blocks and how to use Gutenberg blocks on the WordPress website. Stay with us to see more useful tutorials and instructions!