Downside is that this prevents the whole filter functionality. Most likely messing with the layout. For example <p>, <br /> tags are no longer added to content.
Alternatively one could disable TinyMCE all together. There is an option “Disable the visual editor when writing” in profile settings.
Then installed the “Code Embed” plugin for WordPress.
There will be a new set of options, change the shortcode: “%CODE%” used within the content to enable the code snippet or just leave the settings as they are.
To start using the plugin, you must enable the “Custom Fields” setting in the screen options of an old or new post/page.
So if the keyword is CODE and you want the name to be 1EBAY. Then you must enter “CODE1EBAY” to the input box. Then just hit the Add Custom Field button.
Now by directly using the visual editor, we may add the shortcode “%CODE1EBAY%” to anywhere within the content and it will show that piece of code.
The above post will result to this.
Working nicely. A huge thanks to dartiss for this amazing & free plugin.