Is it possible to remove Divi shortcodes easily if you change your WordPress theme? This is a question that has been floating around on social media. I often see these topics of conversation where some people say that it's impossible to change your theme after using Divi... Or that you can't go back once you've used Divi!
Really? Since when is your WordPress site married to your Divi theme? Just know that you can remove Divi easily and without pulling your hair out 😉
In this article, I present you a plugin that will be very useful if you decide to switch from Divi to another WordPress theme. You'll see that it will only take you 10 seconds to clean up the mess Divi left behind.
Announcement: this article contains affiliate links that you will easily recognize. The classic links are in purple and the sponsored links are in pink.
What happens if we disable the Divi theme and enable another theme?
WordPress is great for this: you can change your theme in one click. Just go to the Appearance > Theme tab and activate the theme of your choice.
Only, there is a "BUT" ... When you change theme, it may be that the old one leaves traces. This is particularly true of themes that use page builders such as Visual Composer, for example.
So you know that if you activate a new theme that doesn't use the same page builder as the old one, you may be in for a surprise. This is the case with Divi, which uses the Divi Builder (the Divi page builder) natively.
If you need to understand the differences between Divi and the Divi Builder, I invite you to read this article.
In concrete terms, here is a picture of what will happen if you activate another theme after using Divi :
Version of a page built with the Divi Builder :
Version of a page built with the Divi Builder, after activation of another theme:
Ok, that's not reassuring and it may worry you...
However, you should know that I've never had to do a redesign to switch from a Divi theme to another theme. Most of my clients ask me the opposite, that is to say to from their current theme to Divi.
And most (if not all) Divi users don't consider switching themes after using Divi...
So you don't have to worry about it. But if one day you decide to change your theme, or if one of your customers asks you to, you can easily get rid of Divi!
Version of my page cleaned of Divi shortcodes:
Does that make you feel better?
It only took a few seconds to go from a page displaying all the Divi shortcodes to a clean page . I should mention that my content was not lost in the process.
I'll tell you how...
How to clean up your site and remove Divi shortcodes?
The Divi Builder builds your pages using shortcodes. These are invisible when the Divi theme is active but become visible when you activate another theme.
Want to see it in action? Learn how the Divi Builder works
If your site is composed of several dozen pages built with the Divi BuilderIt would be counterproductive to delete Divi shortcodes by hand. It would be tedious and it could drive you crazy!
Good news, there is a freemium plugin that will remove shortcodes from Divi . Moreover, you won't have to set anything: it's Shortcode Cleaner Lite.
Just go to the Extensions tab > Add and type its name in the search bar to find and install it.
Once activated, this plugin will detect all "broken" shortcodes, that is to say all unused shortcodes.
So this plugin is miraculous if you want to remove the Divi theme. But it will also clean up any unused shortcodes generated by other plugins.
I'm thinking of the time when I added a "click to tweet" shortcode in each post of one of my blogs. The day I decided to delete this plugin, I had a lot of fun cleaning all my articles... Shortcode Cleaner Lite would have saved me a lot of time!
Also, once the plugin has cleaned up your pages, you can go to its dashboard and check the work it has done:
- in the dashbord, you will find most of the essential information like :
- the number of "broken" shortcodes
- cleaning dates
- deleted shortcode types
I suggest you see Shortcode Cleaner in action in the following video:
Can we go back and reactivate the Divi theme?
It is likely that after activating another theme, you will miss your good old Divi theme 😂😂😂
In this case, it is possible to go back. Shortcode Cleaner removes broken shortcodes. This means that if you reactivate Divi, the shortcodes will no longer be "unused" and your layout will be restored to its original construction (if you haven't made any changes to your content).
Not even afraid to switch to the Divi theme! Find out what you can do with it...
I really wanted to write this article for several reasons:
- because Shortcode Cleaner can be very useful to remove all types of shortcodes that are no longer in use, not just the ones in Divi Builder,
- because I wanted to answer the people who say that Divi is "dirty" and that it leaves traces...
- because I wanted to prove that he is possible to switch from Divi to another theme without getting tired.
Feel free to leave a comment if you've ever had to clean up lots of shortcodes, maybe you have other solutions?