Using the Group Block in WordPress

Since the integration of the Gutenberg editor into WordPress in version 5.0, blocks are the foundation of building posts and pages in the visual editor. To help save you time the Group block was provided which allows you to group several blocks together. This way you can keep related content in a group and move it together if needed. Follow the steps in the tutorial below to learn how to add and use the group block in a page or post.

New to WordPress? Check out InMotion’sWordPress Hosting solutions for secure, optimized servers configured for your budget needs.

Adding the Group Block

If your editing or creating a post or page in WordPress you will need to be logged into the Administrator Dashboard. Follow the steps below to locate and then add the group block.

  1. Create or edit an existing post or page.
  2. Click on the circled + sign to add a new block.
  3. If you don’t see the block in the Common Blocks area, then scroll down to the Layout Elements section and click on Group.

You will then see the group block added with a circled + sign in the center of the block. You can see an example in the screenshot below:

Blank Group block.  Click the circled + sign to add content.
Blank Group block. Click the circled + sign to add content.

Using the Group Block

As mentioned previously, the group block is used to organized related content together. This allows you to create groups of related content that you can move around without having to select each individual element that makes up that group. We’re first going to demonstrate adding content to a group, then we will show you how to navigate between several groups.

Adding Content to Group Blocks

  1. Once you see the group block appear, click on the circled + sign to add content.
  2. You will see the block list window pop up. Select the block that you wish to add to your group.
  3. Add your content.
  4. To add another block within the group click on the block that you just added then go to the vertical three-dot menu and click on it.
  5. You will see the options to Insert Before or Insert After.
  6. By default, the block will start off as a paragraph block. You can change it by clicking on the circled + sign at the right end of the block.
  7. Once you’ve selected the block that you want to use and added your content, make sure to click on the Save Draft, Publish, or Update button in the top right corner of the screen.
Insert Before or Insert After options to add content into the Group block
Insert Before or Insert After options to add content into the Group block

Selecting Blocks

After you have added a group block, you may find that it can be hard to select that block or any other group block. This may be an issue with the WordPress interface, but using your mouse directly on the block does not always give you the block pop-up menu. However, there are a few interface options in the editor that will help you select the blocks as needed.

If you are unable to select the block, look at the top of the editor. There you will see a few options that can help. You can click on Block navigation and then select the group box from the block structure listed in tree format. You can simply click on the word “Group” and then the group block would be selected.

Block navigation in the WordPress Editor can be used to choose the group
Block navigation in the WordPress Editor can be used to choose the group

If Block navigation doesn’t give you access to the group block, then you can use the option to the left of it called Document Outline. As in Block navigation, you can click on each item in the outline. This will enable you to choose the group should there multiple groups and Block navigation is not displaying them.

Document outline option in the WordPress Editor.  You can use this option to select a group block.
Document outline option in the WordPress Editor. Use this option to select a group block.

Tips for using the Group block

If you find yourself wondering what blocks are in a specific group block, you can simply change the background color after selecting the group block. You will then be able to see the blocks that are part of that group. You can also use the Block navigation or the Document Outline option to see what’s part of your group block.

Use the Group block option to color the background to see the content blocks added to the group.
Use the background color to easily see the blocks that make up the group

Congratulations! You now know how to use the group block in the WordPress Editor.

Learn more about the new WordPress editor, Gutenberg, and the capabilities of the separate Gutenberg plugin with our helpful Gutenberg tutorials.

Arnel Custodio Content Writer I

As a writer for InMotion Hosting, Arnel has always aimed to share helpful information and provide knowledge that will help solve problems and aid in achieving goals. He's also been active with WordPress local community groups and events since 2004.

More Articles by Arnel

Was this article helpful? Let us know!