Home » WordPress Tutorials » Basics » How to Insert Gutenberg Blocks in WordPress

How to Insert Gutenberg Blocks in WordPress

One of the ways you can create a fully featured website with WordPress is by using the built-in Gutenberg Block Editor. This is a handy suite of tools that allows you to manage your website’s content and style via various blocks, regardless of whether you want to create a new page or publish a new blog post.

In a previous article, we talked about what is the Gutenberg Editor and how it functions.

In this article, we will focus more on how to insert Gutenberg blocks while editing your content, so you craft a layout that perfectly fits your preferences.

 

How to Insert Gutenberg Blocks in WordPress

One of the most important characteristics of a successful website is the constant addition of fresh content. When using Gutenberg, you can keep everything on your site up to date by including blocks with text, media, and widgets, and even insert code blocks and many other elements into your pages and posts.

In the following paragraphs, you will read how to insert blocks in three main ways, while crafting a simple blog post at the same time.

Follow these steps (also keep in mind that the process is similar for both blog pieces and webpages):

The first thing to do is to enter your WordPress admin panel.

Then make sure that you have selected Gutenberg as your default editor. To activate it, simply go to Settings->Writing:

WodPress Gutenberg Block Editor Settings

 

Then, select Block Editor from the Default editor for all users option menu and save the changes:

WodPress Gutenberg Block Editor select options

 

Now that you have activated Gutenberg, you can head to the page or post-creation section and begin crafting your content with various blocks.

For this demonstration, we will create a sample post (Posts->Add New), but keep in mind that the process is the same, should you wish to create a new WordPress page and design its layout and content (Pages->Add New).

However, if you wish to see some more comprehensive work with Gutenberg, have a look at how to create posts via the Block Editor.

Once on the creation page, have a look at the Gutenberg interface:

WodPress Gutenberg Block Editor Interface

 

There are three ways of adding a block:

  1. By clicking the black Plus button that will open a list with the most common blocks.
  2. By clicking on the blue Block Inserter button open the full library of available blocks.
  3. By hovering your mouse cursor between two already placed blocks will give you the option to insert a new item between them.

Now, let’s see how all these options work in detail.

For this demonstration, we will add several paragraphs, a subheading, and a media block for an image we would use for our blog post.

 

Add a New Block via the Black Plus Button

Using the Plus button is by far the most common way of inserting Gutenberg blocks in your posts and pages. It is always visible and once you click it, you can choose among the types of blocks you use the most.

If you wish to add something more specific, you can always click on the Browse All button which would open the entire library of available blocks.

To see how it all works, simply click on the black Plus button:

WodPress Gutenberg Block Editor add block

 

A new menu with suggested options will appear. Select the one that you wish to add to your content. In our example, we will add a paragraph block:

WodPress Gutenberg Block Editor choose from options

 

Once you select an option, a new box with dedicated settings will appear right under the title:

WodPress Gutenberg Block Editor paragraph block

 

Depending on the type of block you selected, the options will vary:

WodPress Gutenberg Block Editor paragraph options

 

Since we selected a paragraph box, we will start typing our content:

WodPress Gutenberg Block Editor add text

 

Also, notice the Browse All option when clicking on the black Plus button:

WodPress Gutenberg Block Editor browse library

 

This option allows you to quickly open the library of available Gutenberg blocks and select the one that you search for:

WodPress Gutenberg Block Editor full list of blocks

 

For our purposes, we will add two Paragraph boxes:

WodPress Gutenberg Block Editor add paragraphs

 

In the following section, we will add an image block with the second available option.

 

Add a New Gutenberg Block via the Blue Block Inserter

The second way you can add blocks to your post or page is by accessing the full library of available Gutenberg blocks.

Do so by clicking on the blue Block Inserter button, located at the top left of the screen:

WodPress Gutenberg Block Editor open library

 

Once you do, you will open a wide list of available options. Choose the one that you wish to include in your page or post.

Also, notice how an informative box with details appears next to each block you point with your mouse cursor:

WodPress Gutenberg Block Editor browse blocks

 

Once you select the block, it will appear right below the ones you are already using:

WodPress Gutenberg Block Editor insert image

 

Notice that it looks a bit different than the previous two – this is due to the fact that each block provides some functionality and therefore comes with specific options that allow you to customize this functionality.

In our case, we can include some images, via an Image block right below our content.

Now, via this box, we will access the WordPress Media Library and select an image we want to include in our page/post:

WodPress Gutenberg Block Editor image blocks

 

Now that we have tried out the second way of inserting content with Gutenberg, it is time to proceed with the third option and insert something in between the two paragraphs – for example, a subheading.

 

Insert a new Gutenberg Block Between Two Others

The third way of adding a block to your content is by simply hovering your mouse cursor between two already-inserted blocks.

By doing so, a new button will automatically appear:

WodPress Gutenberg Block Editor insert new

 

Click it and select the type of content you wish to insert. If you don’t see it in the suggestions, simply click on the Browse all button, so you open the full Blocks directory and select from there:

WodPress Gutenberg Block Editor suggested blocks

 

We will insert a sample subheading:

WodPress Gutenberg Block Editor select subheading

 

Once we click it, a new block with dedicated options appears:

WodPress Gutenberg Block Editor options

 

Now, we can type down the subheading and customize it a bit.

For our sample post, we will choose that this is an H2 heading. There are numerous formatting options we can instantly use to tweak the content box, but for now, we will keep it simple and minimalistic:

WodPress Gutenberg Block Editor layout

 

Now that we have tried out all the ways we can add blocks to our pages and posts, it is time to publish our content.

To do so, click on the blue Publish button at the top right corner of the screen:

WodPress Gutenberg Block Editor publish content

 

You have now successfully managed to craft a page or a post via the Gutenberg Block Editor and add some content to it.

 

Use the Reusable Gutenberg Blocks

If you are using Gutenberg for crafting similar types of content on your website, then you will love the Reusable Blocks function. It allows you to save any block with precise settings and use it on various pages and blog posts.

Read about how to use WordPress Reusable blocks and save time and effort when working on your website.

 

Conclusion

Working with the Gutenberg editor means working with various blocks with specific functionality. Each block contains a certain type of settings and when stacked together, these blocks determine the layout of your web page or blog post.

There are three main ways of adding Gutenberg blocks and in this article, we have managed to use all of them to craft and publish a simple WordPress post.

Related:

Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

How to Copy a Page with WordPress Gutenberg Editor

Looking for ways to copy your WordPress web pages? The Gutenberg block editor got you covered. In this article, you will read about 3 different methods you can instantly apply when crafting your WordPress website.   How to Copy a Page with WordPress Gutenberg...

How to Add Tabs to Your WordPress Site with Gutenberg

Tabs are quite useful in numerous situations and can be a fresh addition to your WordPress websites. Massively used to showcase content categories, news, and various other types of posts in a very structured manner, tabs contribute to making your site content more...

How to Create Tables in WordPress Using Gutenberg Editor

Creating a table in WordPress with the Gutenberg Block Editor is a straightforward task. Should you need to add one or several tables to your pages, the following paragraphs explain how to do so.   How to Create Tables in WordPress using Gutenberg Editor  ...

5 Best WordPress Slider Plugins for Gutenberg

When crafting your WordPress website, it is not only important to publish informative and well-structured content, but it is also crucial to make your web pages as aesthetically appealing as possible. An effective way of making your site more beautiful is by inserting...

How to Use the Navigation Block in Gutenberg

With the Gutenberg Navigation block, you can add various types of navigation on any page or within any blog post on your website. Similar to the classic WordPress menu, the Navigation block can be modified in numerous ways and become a handy tool in many situations....

Ready to Create Your Website?