I’m trying to import 200 posts from an older wordpress, with a lot of visual composer shortcodes in the content.
Is there any way to delete all shortcodes and save the content?
I’m trying to import 200 posts from an older wordpress, with a lot of visual composer shortcodes in the content.
Is there any way to delete all shortcodes and save the content?
You must be logged in to post a comment.
Programmatically this can be done with visual composer activated and resaved content like this:
What I mean – all shortcodes need to be rendered to get it HTML and save it as new post content. This will allow to “strip” all shortcodes but save the markup generated with visual composer. But note that you will need to manually enqueue styles/css for visual composer elements.