Managing Widgets with Blocks in WordPress 5.8

Managing Widgets with Blocks in WordPress 5.8 - header image

One of the great new features of WordPress 5.8 is the option to add widgets through blocks.  Previously, widgets were managed through the WordPress administrator dashboard and also through the front end using the Customizer.  However, managing widgets can now also be accomplished through blocks in the page or post editor.  

This tutorial will walk you through the changed interface and explain how to add and edit widgets using the new WordPress 5.8 interface.

NOTE: The new interface for managing widgets with blocks is available starting in WordPress 5.8.

Widget Areas – Managing Widgets in the Administrator Dashboard

When you are managing widgets in WordPress, the original location for this was in the Administrator Dashboard under Appearance > Widgets. If you look there now you will see an interface that looks like this:

Widget areas - top

Remember that widgets are subject to the theme that is being used.  The theme being used in the screenshots throughout this tutorial is the Twenty Twenty-one theme from WordPress.

When you enter this section of the WordPress Administrator, the block setting column on the right is labeled as Widget Areas.  This section applies to the site globally like it did previously.  This means that changes here affect the entire WordPress site.

If you minimize the sections you will see the areas where you can add a widget per the theme.  The Twenty Twenty-one theme provides a footer area for widgets.  And like all themes, there is an inactive section.

Designated widget areas based on the theme

You will see the option to move the widget to a designated area or the inactive widgets area when editing a widget.

Moving widgets in the Widget Areas

Working with Widgets in the Front End

When you’re working with Widgets in the front end using the Customizer, then it will look like this when you first open it:

Welcome to Block Widgets - front end

Notice that there are options for documentation.  These links remain accessible through the vertical 3-dot menu at the top of the column on the left side listing all the widgets.

Front end- editing widgets

This is the link they provide to the official WordPress documentation.

When you are editing using the Customizer in the front end, note that you have edit icons on the main screen that you can click on.  When you click on a widget to edit it (specifically the edit icon), then it will automatically open in the column on the left-hand side like this:

Editing a widget block in the front end Customizer

Like blocks, you can change their position using the arrows in each block menu, or using the drag-and-drop options in the WordPress interface.

Remember that your changes in the front end affect the areas that you display and must be saved by using the Publish option in the Customizer interface.

Working with Widgets in a Post or Page

When you’re working on a Post or Page, since blocks can be added to the content areas, then you can also utilize Widgets in the content.  Like any post, simply click on the plus sign at the top of the page, or in the content area and then search for the Widget section.  You will then see the available blocks that you can use. 

The screenshot below shows an example of using the Calendar widget in the content for the post. Notice that the widget is appearing in the body of the content area. It does not appear in the footer or other designated areas where widgets were typically applied based on the theme.

Adding a widget using blocks in the page or post editor.

​​That completes our tutorial on managing widgets in WordPress 5.8.  I did encounter a possible conflict with a plugin when I was testing the new widget management options.  My recommendation is to make sure that all of your plugins and themes are updated in order to prevent conflicts or errors.

Secure and speed up your client's websites with high-performance WordPress VPS plans powered by UltraStack.

AC
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? Join the conversation!