Methods to Bulk Convert Basic Blocks to Gutenberg in WordPress

How to convert classic blocks to Gutenberg in WordPress

A number of of our readers have requested easy methods to convert previous WordPress put up content material into the brand new Gutenberg (block) format in WordPress.

After you replace to any model above WordPress 5.0, your older put up and web page content material will present up inside a Basic block within the new WordPress content material editor.

To transform the content material into particular person blocks, you would wish to edit every put up and web page individually. In case you have dozens or a whole lot of posts, then this may take loads of time. Fortunately, there’s a bulk convert possibility.

On this article, we are going to present you easy methods to bulk convert traditional blocks to particular person Gutenberg blocks in WordPress.

Understanding the “Basic” Block

Should you put in WordPress earlier than model 5.Zero got here out, the posts and pages you created used the previous or Basic editor.

Once you improve WordPress to model 5.Zero or later, all of your previous posts and pages nonetheless have to be editable. Which means that WordPress mechanically locations the content material for these posts and pages inside a single “Basic” block:

A post that WordPress has automatically converted into a Classic block

This makes positive that your previous posts and pages are nonetheless editable, they usually look the identical on the front-end of your web site even in the event you don’t convert the content material into particular person blocks.

Nonetheless, if you’d like you may convert them from a single traditional block into the brand new multi-block format utilized by the WordPress block editor.

The Basic block accommodates all of the put up content material, comparable to photographs, embeds, textual content, and extra. You possibly can go to any of the previous posts in your web site to see how the Basic block seems.

If you choose the block by clicking on it, you may see the block kind. This seems simply above the block within the prime left-hand nook and in addition within the Block settings on the right-hand facet.

You possibly can edit the content material within the Basic block. Most customers, although, will need to replace their previous posts to the brand new block format for ease of modifying.

We coated this course of intimately in our article on easy methods to replace your previous WordPress posts with the Gutenberg block editor, however let’s shortly recap.

To transform a person Basic block into new Gutenberg blocks, you may click on the ‘Extra Choices’ button (three dots in a vertical line), after which click on ‘Convert to Blocks’.

Converting an individual post to the new blocks format

Your put up will then be transformed into separate blocks. As you may see, the textual content and pictures have been separated right here. The textual content is within the new ‘Paragraph’ block.

A paragraph block in the converted post

This course of is fast and easy for a single put up. Nonetheless, WordPress doesn’t have a built-in option to do it mechanically for each put up.

If you wish to swap loads of posts to the brand new Gutenberg block format directly, then you definitely’ll want a bulk converter plugin.

Bulk Convert Basic Block into Gutenberg Blocks

First, you should set up and activate the Bulk Block Converter plugin. For extra particulars, see our step-by-step information on easy methods to set up a WordPress plugin.

Upon activation, go to Instruments » Block Conversion in your WordPress dashboard. You’ll see the next display:

Viewing the Bulk Block Conversion page

Tip: Be sure to create an entire WordPress backup of your web site earlier than utilizing the majority block converter. You can not undo the conversion as soon as it’s taken place.

To begin, click on the ‘Scan Content material’ button and the converter will discover all of your content material that’s prepared for conversion.

List of scanned content ready for conversion

Be aware: Posts that use a mixture of Basic blocks and different blocks gained’t be picked up by the converter.

If you wish to convert all of the content material in your web site directly, merely click on the massive ‘Bulk Convert All’ button on the prime of the display.

The Bulk Convert All button

You’ll see a warning like this. Go forward and click on ‘OK’ to proceed.

The bulk conversion warning

Should you don’t need to convert all the things directly, that’s superb too. You possibly can filter the listing by ‘Put up Sort’ (posts or pages). It’s also possible to swap to the ‘Printed’ or ‘Drafts’ lists to see solely that set of posts.

You possibly can choose all the things in your listing by clicking the checkbox to the left of ‘Title’. We’ll filter our listing to point out pages, not posts, after which choose all of them:

A list of pages only, ready to convert

You possibly can even choose particular person posts and pages by clicking on the checkbox to the left of their title.

Be aware that in the event you use this technique, you gained’t see the warning earlier than the conversion takes place. As soon as every bit of content material is transformed, you’ll see ‘Transformed’ listed subsequent to it within the desk.

The pages have now been converted to the new block format

Vital Tip About Shortcodes

One snag you may run into is that the Bulk Block Conversion software doesn’t convert shortcodes. It’ll create a shortcode block for you, however you’ll must put the shortcode itself again in manually.

The converted contact page with a blank Shortcode block

Should you’re utilizing shortcodes, then be sure to observe them down earlier than operating the majority converter. In any other case, it may take some time to determine which shortcodes you should put again and the place to position them.

We hope this text helped you discover ways to bulk convert traditional blocks to Gutenberg in WordPress. You might also need to see our comparability of the most effective WordPress drag & drop web page builders and the most effective WordPress contact kind plugins.

Should you appreciated this text, then please subscribe to our YouTube Channel for WordPress video tutorials. It’s also possible to discover us on Twitter and Fb.

The put up Methods to Bulk Convert Basic Blocks to Gutenberg in WordPress appeared first on WPBeginner.

Leave a Reply

Your email address will not be published. Required fields are marked *