This guide will walk you through how to change your website from the Divi Theme to the WordPress Block Editor, Gutenberg.
Divi is one of the popular WordPress Themes in the World, and is now use on over 750,000. One of the key reasons that Divi is so popular is because it comes with it’s very own page builder, called the Divi Builder.
The Divi Builder is a drag and drop page builder that makes it easy to create great looking websites.
However because the Divi Builder is built into the Divi Theme, if you change your Theme all your content will be wrapped in Divi code.
Divi Shortcodes left behind after switching to a new Theme
These codes are called Shortcodes, and these are what the Divi Builder uses to create it’s page layouts.
Normally when you switch WordPress Themes your content will flow into the new Theme and inherit the styles of that new Theme.
However the way Divi Builder works is to wrap all your content in Divi Shortcodes, and if you activate another WordPress Theme on your website, your content will show all the Divi Shortcodes, and be largely unreadable.
This is called ‘content lock in‘ and it’s a major problem with Divi.
Why move from Divi to the Block Editor?
There’s four important reasons why you should think about moving your site away from using the Divi Theme.
1) The Divi Theme fails the Google Core Web Vitals test
In May 2021, Google is releasing a big update to their ranking algorithm where page experience and page speed are going to become a very important ranking factor.
Unfortunately for Divi Themes users, the Google Core web vitals update is bad news. This is because the Divi Theme will slow down your website and your page speed scores quite a bit.
Divi Page Speed scores are very poor
I tested the page speed scores of Divi and you can see the results in the screenshot below. This test was run on a site using the Divi Theme with no plugins installed. You can test the page speed scores for your own website by going to the Google Page Speed website.
As you can see Divi fails the Google Core Web Vitals test.
Divi scored 28 out of 100 on the mobile test, and 72 out of 100 on the desktop test.
Divi is slow because of the way it’s been written, and because it contains so much functionality that should normally be added via plugins.
If you would like more information on the change that Google is making, then check out my Google Core Web Vitals Webinar.
So in summary, page speed is increasingly important to your Google Ranking, and the Divi Theme performs very poorly, so your best option is likely to be to look for a new faster Theme.
Here are four great Themes that you might consider. These are all built with great Block Editor support and are lightweight and fast.
2) Block Based Themes are here – great alternatives to Divi
Over the past year, forward looking Theme companies have really embraced the Block Editor. Here’s four great Themes that you might consider as replacements for Divi. These all have free versions so you can test them out.
- Kadence
- Storefront great for ecommerce sites
- Blocksy
- Astra
- 18tags this is our Theme π
3) Divi is no longer better at page design than the WordPress Block Editor
First a little history.
When Divi was first released, the WordPress editor was just a simple word processor, with very limited page layout options.
The old WordPress Editor, now known as the Classic Editor, was fine for simple text and image layouts, but very limited if you wanted to achieve proper page design.
However the default WordPress Block Editor can match Divi in most page designs now.
Here’s a video where I cover the core Divi Modules and show you how to re-create them using the Block Editor.
Further on in this post I chart the existing Divi Builder Modules to their Block Editor equivalents.
In addition, the WordPress Editor is now true drag and drop, making it very intuitive to use.
4) You can now use the WordPress Block Editor to customize WooCommerce Pages
One of the real advantages of using Divi are it’s WooCommerce Modules. These allow you to edit and style WooCommerce elements using the Divi Builder. This allows you to use Divi to create custom WooCommerce Shop and Product pages.
However It’s now possible to customize the WooCommerce Product Page using the WooBuilder Blocks plugin and the WooCommerce Shop Pages using the Storefront Blocks plugin.
WooBuilder Blocks and Storefront Blocks contain all the WooCommerce Modules – currently available within Divi Builder – that you need to construct unique WooCommerce Pages. In addition, WooBuilder Blocks also contains sales boosting Blocks such as a Sales Countdown Block, and Stock Countdown Block.
Divi to Gutenberg, practical migration tips
There’s a few practical things to consider before you start rebuilding your Divi Pages into the Block Editor, such as what is going to happen to your existing pages and/or website.
There are two general approaches you might consider when migrating from Divi to the WordPress Block Editor
- Build new website from scratch
- Migrate pages one at a time
Let’s go into a little detail on each one starting with building your new website from Scratch
This is sometimes the cleanest approach, but obviously requires quite a bit of work.
If you go this route then you have a number of options.
Some hosting companies provide you with a staging website, where you can build a new version of your website and then push it to live once completed on the staging site.
If your hosting company doesnβt provide you with a staging server then you could use a staging server plugin like the WP Staging plugin.
Alternatively you could build your website on a new install of WordPress under a temporary domain name. Once you have finished your new website under the temporary domain name, then you re-point your domain name at your new server IP address. Your hosting company will help you with this process if you get stuck, but itβs quite simple.
The other alternative is to migrate your Divi pages one by one.
If you go down this route then itβs important to make sure that your page titles are the same as your old pages, and also the permalinks are identical to the old pages. So you might need to rename these once youβve finished the replacement pages.
Here’s a few extra tips that will help you migrate Divi Pages into the Block Editor.
- Use a staging server to rebuild the Divi Pages – A staging server is essentially a copy of your website. If your hosting company provides you with a staging server – quite a few hosting companies offer this now, so it’s worth asking you existing host – then you can migrate your Divi Pages across the Block Editor one at a time. Once you are finished you can push the staging site to the live site.
- Re-build the site on a temporary domain – You could re build the entire site from scratch. This is sometimes the easiest solution. Here’s a tutorial on how to build a new site whilst the old site is live. Remember to keep the same page titles, and permalinks.
- Strip out Divi Shortcodes automatically – The Shortcode Cleaner plugin is a really useful plugin that will automatically strip out Divi Short Codes from your pages. You’ll be left with clean text, but remember that when you run this plugin you will lose all existing Divi page formatting.
- Important Note! Remember to keep the same Permalinks – If you are re-creating pages from scratch they will be given a new url. To preserve your SEO ranking you will need to keep the same URL as your original Divi page. The way to do this is to rename the URL of your old Divi page, and then give your new page that old URL.
Comparison table – Charting Divi Modules to Block Editor Blocks
In this section I’m going to go through the Divi Modules and show you which Block Editor Blocks you could use to re-create them using the WordPress Block Editor. Divi Modules are the equivalent of the WordPress Block Editor Blocks.
In most cases we’ll be able to recreate Divi Modules just using the core Block Editor Blocks, but in some cases we’ll be using additional plugins. You might be sat there thinking ‘why should I need to install additional plugins when I could just use Divi?’.
But that really highlights the major problem with Divi.
Divi requires a huge amount of code for all the Divi Modules. But in my experience most users, and most sites only use about 15-20% of the functionality built into Divi.
So imagine you’re running a website, but you don’t need testimonials, or sliders, or accordions, or portfolios or video. Even though you don’t need these Divi Modules, your website, because it’s using Divi, still has to carry all that Divi code.
Also remember the big advantage of moving away from Divi is that your content will no longer be locked into one Theme, so even if you need to use additional plugins, you’ll still be able to switch Themes without losing any content.
Divi modules mapped to their Block Editor equivalent
Here’s a table that lists the Divi Modules in the left column, with the equivalent Gutenberg Block and/or plugin required in the right column.
Divi Module | Block Editor Recommended Blocks |
---|---|
The Divi Container Module | The Columns Block and Gutenberg Pro |
The Divi Testimonials Module | The Columns Block and Gutenberg Pro Plugin or the Testimonials Block in Ultimate Add ons for Gutenberg |
The Divi Accordion Module | The Accordion Block in CoBlocks |
The Divi Text Module | The Paragraph Block |
The Divi Toggle Module | The Accordion Block in CoBlocks |
The Divi Slider Module | The Gutenslider plugin |
The Divid Social Media Module | The Social Icons block |
The Divi Tabs Block | The Editor Plus plugin Tabs Block |
The Divi Video Module | The Video Block |
The Divi Search Module | The Search Block |
The Divi Pricing Tables Module | The Columns Block and Gutenberg Pro (tutorial here) |
The Divi Post Slider Module | The Gutenslider plugin |
The Divi Post Navigation Module | This is built into 99% of WordPress Themes |
The Divi Portfolio Module | The Visual Portfolio plugin |
The Divi Person Module | The Columns Block + Heading Block + Social Icons Block |
The Divi Number Countdown Module | The Sales Countdown Block in Storefront Blocks |
The Divi Map Module | The HTML Block or use the Maps Block plugin |
The Divi Login Module | The Advanced Gutenberg Blocks plugin login Block |
The Divi Image Module | The Image Block |
The Divi Gallery Module | The Gallery Block |
The Divi Full Width Slider Module | The Gutenslider plugin |
The Divi Menu Module | The Navigation Block |
The Divi Filterable Portfolio Module (inc full width) | The Visual Portfolio plugin |
The Divi Email Optin | The Atomic Blocks plugin Email Optin Block |
The Divi Divider Module | The Separater Block |
The Divi Contact Form Module | The Ninja Forms Plugin |
The Divi Code Module | The HTML Block |
The Divi Call to Action Module | The Cover Block + The Buttons Block |
The Divi Buttons Module | The Buttons Block |
The Divi Blurb Module | Columns Block + Heading Block + Image Block |
The Divi Blog Module | The Latest Posts |
The Divi Bar Counters Module | The Getwid Gutenberg Blocks plugin Counter Block |
The Divi Audio Module | The Audio Block |
The Divi Video Slider Module | The Gutenslider plugin |
Divi WooCommerce Modules | |
The Divi Product Page Module | The WooBuilder Blocks plugin |
The Divi Shop Module | WooCommerce Blocks & Storefront Blocks plugin |
Divi to Gutenberg Cheat Sheet
Conclusion
Now is the time to seriously consider moving from Divi to the Block Editor.
Divi will slow down your website and most likely your Google ranking will suffer because of the upcoming Google Core Web Vitals ranking update. In addition the Gutenberg Block Editor has made huge improvements and with a few additional plugins – that I’ve listed in the post – can now match Divi for page layout functionality. If you use the Block Editor instead of Divi you’ll still be able to produce beautiful looking websites that load quickly and rank high in Google.
I hope you found this guide useful, if you have any comments or questions, I would love to hear from you in the comments below.
Jamie, your point that Divi’s performance is poor because it contains so much functionality that should be left to plugins, and can be matched by Gutenberg…when you add a bunch of plugins. Not the most logical point I’ve read.
The shortcode argument is valid, but in my opinion, not a critical issue. Changing themes is not a common real world issue within a single organization, when the web site is competently implemented in the first place. And when it does happen, it is by no means insurmountable.
Hi Rich,
My point is that with a normal theme you have the choice to add the plugins you need for that particular site. With Divi you have no choice. You carry the code regardless of whether you require the functionality. Changing Themes is a really big issue for many of our customers so our experience is different to yours. But thanks for your thoughts π
jamie
Pardon my ignorance, but doesnβt the code for these unused functionality youβre talking about only affects the backend?
If my frontend is not using an accordion for example, I donβt see why there is any html code related to accordion on my page.
Are you running the latest version of Divi? When I run the tests on a new installation, I get 73 and 92. Much slower than some other themes though, the Twenty Twenty One and Kadence both score 99 for mobile and desktop.
Hi Paul, yup running the latest version – I tested on shared hosting.
Is that what you tested on?
jamie
Yes, shared on Hostinger.
Jamie,
You make great plugins but there are a couple of other factors that make Divi appealing. One is that you have a choice of a lifetime unlimited license. This is great for small companies and freelancers to able to use it on many client and personal sites.
Second is the ability for Divi to export and import settings and layouts. This speeds things up when designing site elements for many different sites.
I also agree with Rich. While installing only the plugins you need can make sense, having that functionality built in without having to rely on whether or not a plugin actually works with the theme seemlessly saves time and aggravation.
Hey Shane,
Thanks for the reply and your thoughts – agree 100% with your point about ease of use of Divi and not having to worry about plugin compatibility.
However, my prediction, I might be wrong but I don’t think I am π is that on balance many Divi users will now start looking for how they can make the move to use WordPress core features i.e the Block Editor. I’m already seeing this.
I should also say that I’m a big Elegant Themes fan, and have been using Nick’s themes right from the beginning. But with Full Site Editing on the horizon, and the incredible innovation happening in the Gutenberg space, the pressures on Divi are only going to increase.
It’s going to be an interesting space to watch for sure,
jamie
Hi Jamie, i use Divi daily and yes, have started to become aware of it’s slow speed compared to Gutenberg (no comparison, Gutenberg wins hands down), but maybe you would answer a question? I’ve been looking into using a theme where Gutenberg is used to build the site, like Kadence for example, so you get some design elements to help you build like with Divi, but as Gutenberg is being used, it’s a lot faster than Divi, so as long as i was happy to compromise on the ease of Divi and the amount of design modules it has, does Gutenberg themes like Kadence enable us small web designers to build good looking sites (like Divi does), but obviously benefitting a lot by the speed improvements a Gutenberg used theme like Kadence for example gives us?
Hi Stephen,
Many thanks for the reply π
I think you’ve answered your own question – there’s no doubt you can create beautiful websites with themes like kadence, astra, storefront with Gutenberg. If there are additional requirements e.g to customize the woocommerce product page, there are plugins like woobuilder blocks you can use. Or if you need an accordian there are some great gutenberg alternatives.
The other big benefit of moving to gutenberg that my article doesn’t really mention is that you can tap into the wordpress ecosystem of blocks – whereas when you are using divi you’re limited to the divi ecosystem, which although big, is much much smaller than wordpress.
Are you singling out Divi because it is a theme & builder? In your opinion, other builders, like Beaver Builder or Elementor, are still fine to use on top of the right theme?
Iβll certainly be looking into this with our sites, but Iβll admit Iβm a little skeptical right now.
Hi Scott,
Good question – Hopefully I’m not singling out Divi, it’s just the focus of this particular post.
You make a good point about the difference between Divi and sites using a page builder and a fast theme.
However, my prediction is that there will be a general drift away from Elementor and Beaver Builder as the WordPress Block Editor matures and Full Site Editing is implemented.
If you have a few hours to spare I ran a few webinars where I cover this in more detail
– introduction to the block editor https://youtu.be/g35USaZWltI
– taking the block editor to the next level https://youtu.be/NRxYDD5tUDY
Great idea. So you are suggesting to replace one all-in-one theme/builder with 1 theme + 13 different plugins. Those plugins will cost $180 a year in their cheapest version (1 website only), + whatever premium theme you choose.
I wanted, how fast will be that website with those 13 new plugins, will it “fail the Google Core Web Vitals test”, as Divi?
Should I calculate further how long would it take to configure all those themes and plugins?
Elegant Themes team should work on Divi’s speed, but I will still use one or 2 more plugins to optimize it, than 13+plugins.
Hi Mio,
Not quite – I’m suggesting that most websites don’t need all the functionality built into Divi, and most website won’t need 13 plugins, but will only need the plugins that their websites require (possibly no extra plugins depending on the website). The problem with Divi is that you have no choice, your website has to carry all that technical overhead regardless of what functionality you need.
Make sense?
Jamie
In a way, yes. I would agree one doesn’t need all divi functionalities/modules. Although there are some cases I would use Block editors, I do find Divi better than Block editors for the most (in my case, at least). Unless you use some caching plugin, image compression plugin (or tool – like tinyjpg) etc, I don’t think any other theme will pass Google Core Web Vitals test.
I must say, I have Permium versions of (almost) all major theme builders and plugins, Divi is in most cases still no1 option for complex websites, especially if more functionalities are required.
Thanks Mio π
Part of Divi’s speed issues is caused by people insistent on using the cheapest hosting possible. When you use cheap shared hosting you’re going to run into speed issues pretty much no matter what builder you’re using.
I’ve attained all 100’s in Lighthouse with Divi on a reasonably sized website with good (but not outrageously priced) web hosting.
I agree that any builder that has a bunch of functionality will cause bloat which causes speed issues.
I’m not a spokesperson for this company but I’ve switched over to Live Canvas for my more basic website creation needs. It’s fast out of the box because pages are saved in the database as html so there’s no back end rendering on page load.
One of the main things I like with DIVI is that I can make my own theme header and footers with the same ease as I make pages.
DIVI gives me full control and I can do what I want without coding, I never have to change theme as I just make it look like I want with the same theme. no limits π
Hi Johan,
With Full Site Editing coming into WordPress you are going to be able to create the whole site using Blocks, including the Header and Footer π
jamie
Thanks, Jamie, that is suuuuch an eye-opener. IMHO Divi got brutally overburdened with ambition from version 3 on, so to me it’s almost unusable. The Β«visualΒ» builder is anything but(t), and all is sluggish as heck. Now I will try relieving some (or most π of these pain-points according to your extremely detailed instructions. Thank you for that!
Hi Olaf,
I tend to agree – i certainly preferred Divi before the visual editor days too.
jamie
I’ve been working with Kadence because so many people are excited about it. It’s very good. Gutenberg is getting better all the time.
It is a shame that you suggest so many plugins to compensate for Divi features (13 according to the comments?). I actually find the free Kadence blocks plugin helps remedy where Gutenberg fails. So Kadence blocks plus Gutenberg is pretty much all I need right now.
I still have a few projects where I’ve used Divi because it can create really complex and beautiful pages. It’s amazing for micro sites.
You didn’t address the comment someone made about the accordion. I think they’re absolutely right – the extra code is not rendered on the front end if, for example, you are not using those features. It’s at the backend.
Regardless I am with you about the excitement going forward with full site editing on the horizon and I’ll keep using Divi less and less I imagine.
Thanks for the great post.
Thanks Mike – agree with all that π
Late to the party here..
But worth mentioning.. It seems that ET has since incorporated stripping all the divi shortcodes when switching from Divi Builder via the ‘return to default editor’ in /edit.php.
Great. Now.. if only I can find a means to do all the posts en masse..