WPBakery Shortcodes to Avada

There’s no easy way to migrate from one shortcode system to another, such as WPBakery to Avada, or using Divi and trying to move it over to Gutenberg. I wrote a simple script to take the basic WPBakery shortcodes and output them as plain text, hopefully saving you a bit of time in migrating old posts over to a new system. It covers the following three shortcodes.

  • vc_single_image
  • vc_column
  • vc_column_text
  • heading

It’s rough, but it works, and gives you some semblance of a working site. I used it in conjunction with another plugin, “Remove Orphan Shortcodes“, in order to completely move hundreds of posts from using the original WPBakery shortcode system over to Avada, without actually doing a large amount of heavy lifting. What it will do is process nested shortcodes (images within column as an example) and output columns with some margins. Much tweaking to this is possible.

Add this content to your functions.php and fix your WPBakery woes.

 

Leave a Reply

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