WordPress plugin

Raw HTML Pro

Raw HTML Pro protects selected HTML, JavaScript, and CSS from WordPress formatting that can change the code. Raw blocks prevent changes such as turning newlines into paragraphs, replacing straight quotation marks with typographic quotes, adding picture smilies, or converting characters.

Raw HTML Pro

Raw HTML Pro protects selected HTML, JavaScript, and CSS from WordPress formatting that can change the code. Raw blocks prevent changes such as turning newlines into paragraphs, replacing straight quotation marks with typographic quotes, adding picture smilies, or converting characters.

Switch between Text/HTML and Visual editing

Wrap content in [raw]...[/raw] tags to protect it. In Visual mode, Raw HTML Pro shows the protected section as a read-only placeholder. The original code returns when you switch back to Text/HTML or when the post is displayed to readers. A second tag format works in the same way; its content is not visible to visitors if Raw HTML is deactivated. Protected code can be edited in Text/HTML mode.

Choose formatting filters for each post

Checkboxes on the Edit Post screen let you disable selected WordPress filters for an individual post:

  • wptexturize makes smart quotes and other typographic characters.
  • Automatic paragraph creation converts newlines into paragraphs.
  • Image smilies converts text emoticons into pictures.
  • convert_chars converts ampersands to HTML entities and adjusts some Unicode characters.

Some functions require the unfiltered_html capability. In a standard WordPress installation, Editor and Administrator roles have this capability. In Multisite, it is available by default only to the Super Admin.

Set shortcode and excerpt behavior

Shortcodes inside raw blocks appear as plain text by default. To run them, add shortcodes=1 to the raw tag, as in [raw shortcodes=1]. Raw blocks are removed from automatically generated excerpts by default. To keep them in excerpts, add the RAW_HTML_KEEP_RAW_IN_EXCERPTS definition to wp-config.php.

Use the supported editor workflow

Raw HTML does not fully support Gutenberg. Since WordPress 5.0, some functions work only with the Classic Editor add-on. To use the documented workflow, add Raw HTML Pro, open a post or page in the available editor, place protected code inside raw tags, select any per-post filter settings, and save. Edit the original code in Text/HTML mode; use the Pro version when you also need Visual editing.

WordPress Repository Autoptimize Pro AutoSocial AutoSocial Availability Datepicker Pro Awesome Logo Carousel Block Pro AWSM Team Pro B2BKing Premium Backup For WP Cloudstorage BackupBliss – Backup Migration Staging Pro BackWPup Pro