Raw shortcode

Updated: January 10, 2017

Raw shortcode will allow you to insert unformatted code to any page inside visual editor. Raw shortcode prevents WordPress  autoformatting, for example automatic adding of br or p tags. You can insert raw shortcode by clicking on green button in visual editor:

shortcode list

There are no options for raw shortcode:

raw shortcode

By clicking on Insert shortcode button you’ll get the like like:

[raw raw=""]Test[/raw]

The code above will generate the following:

Test