Raph
WordPress plugin that helps you to covert shortcodes to HTML., (*1)
Sorry?
Shortcodes may be useful, but rendering them "on the fly" can be a performance killer., (*2)
Moreover, shortcodes added by themes or by plugins, lock you in with those products, because you if you change
theme or uninstall plugins that add shortcodes, your content will be bungled when not lost., (*3)
Have you ever desired get rid of a plugin, but can't because of shorteds? Now you can., (*4)
How it Works
Raph adds a button in in post editor toolbar. When you click that button, (*5)
- if nothing is selected all the shortcodes in the post are converted to the same HTML they would output in frontend
- if something is selected, than only shortcodes in selection are converted
HTML is generated via AJAX and isn't saved until post is saved., (*6)
When post is saved, shortcodes are definitely converted to HTML, it means you can even disable the plugin (or switch the theme) that added the original shortcode., (*7)
After having rendered shortcodes there is the possibility to immediately restore shortcodes by clicking a link., (*8)
Demo
, (*9)
FAQ
-
How can I bulk convert shortcodes?, (*10)
At the moment that isn't possible. Maybe it will be in future versions., (*11)
-
I selected a shortcode and clicked render button, but nothing happen, is it broken?, (*12)
No. When you select some text, you have to keep the selection as is until rendering is complete. Otherwise Raph don't know where to put rendered HTML, and to avoid to mess up your post content it does nohing., (*13)
Requirements
Installation
The plugin is a Composer package and can be installed in plugin directory via:, (*14)
composer create-project gmazzap/raph
Alternatively, you can, (*15)
License
Raph is licensed under MIT., (*16)