Bye Bye Divi!

December 19, 2017 | Divi, FREE!, PHP, Plugins, Plugins, Themes, Wordpress | 11 comments

No I’m not getting rid of Divi.. I love it! Sometimes though, for some reason, people want to move their sites to another platform or theme. The only issue with that though is that the Divi Builder uses shortcodes to format content into columns, rows and modules. Once you switch theme you end up with a LOT of shortcodes showing on what would be a live site which isn’t desirable at all.

You then have two options, use the Divi Builder plugin on the new theme OR sit and remove the shortcodes so your users eyes don’t bleed trying to find out what your site is saying 🙂

In the Divi Theme Users Facebook Group a few days ago there was a conversation whereby someone had the same issue and a simple PHP function was recommended. Someone else suggested that this should be made into a plugin. So I pounced and obliged!

Enter Bye Bye Divi!, the free plugin to remove Divi shortcodes. Simply install as normal, visit the settings page, prod the button and you’re done!

On installing the plugin you’ll see a new settings page below Settings in the admin area. You will see two buttons, one to test and one to action the request. Click test and it will process 5 rows but NOT change any data. You will see the output before and after and you can then decide if it’s what you want to do, Once you are happy to proceed you can press the blue button and it will remove all ET related shortcodes from your content with the exception of the Divi Library which will remain intact. This is because no other plugin uses that post type and it’s a handy place to store your layouts should you ever want to return to Divi or the Divi Builder.

Once you have processed the content then you can safely remove the plugin. I can’t stress enough how important a database backup is BEFORE processing this action. There is no easy way to go back in bulk although in theory you could use the WordPress revision system to revert each of your pages as necessary although the process would be time consuming.

Download


Bye Bye Divi! (11461 downloads)

A Donate Button!

11 Comments

  1. djplana

    Brilliant – Way to go Sean!

    Reply
  2. Pedro Suárez Berberana

    Many thanks Sean!

    I will give it a try and let you know in case I find some issues.

    I hope Elegant Themes will improve Divi Builder so that you can keep the content (text and images mainly) when you uninstall it instead of having those shortcodes as it happens with Elementor and other constructors…

    If they achieve that they will become even more popular!

    It is something I truly believe they are capable of doing but I don´t really know why they haven´t done it yet.

    Regards from Spain!

    Reply
  3. DEBBIE ROGERS

    Thanks so much, worked perfectly 🙂

    Reply
  4. siriusmw

    BLESS YOU! 🙂 Beautiful!

    Reply
  5. Six10

    This is amazing! I have spent days trying to figure out. Thank you so much!

    Reply
  6. jen

    note – i used the plugin but it took out all my images from posts. easier to add them back but still stinks!

    Reply
  7. SarahP

    You are my HERO! I just forked this to do the same for Avada Theme and it worked like a dream!

    Reply
    • Andy

      can you please share the Avada version ?

      Reply
  8. Clint Sanchez

    This thing is awesome!!!!! Swapping my site over now,

    Reply
  9. Demian zur Strassen

    Does this just hide the shortcodes or does it actually delete them? Even including from the database?

    Reply

Submit a Comment

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

CommentLuv badge

About this site and Sean Barton

Picture of Sean
Sean Barton is a Freelance Website Developer in Crewe, Cheshire. He is a Full Stack Developer but with extensive experience in Wordpress and other Frameworks. He is the Co-Founder of SitePresser, Layouts Cloud and Page Builder Cloud among other things..
This site was set up in 2008 as a tutorial and scripting resource for the PHP language and Wordpress.
Find out more about Sean on the About Me page or use the Hire Me page to get in touch. For more information about Sean's work take a look at the Portfolio

SitePresser is the plugin that packages child themes and layout packs for sale. Works with Divi and Elementor.