WordPress plugin

Raw HTML Pro

Use Raw HTML Pro when a WordPress post or page contains custom HTML, JavaScript, or CSS that automatic formatting could change.

Raw HTML Pro

Use Raw HTML Pro when a WordPress post or page contains custom HTML, JavaScript, or CSS that automatic formatting could change.

Protect selected code across editor views

Wrap content in [raw]...[/raw] tags to keep WordPress from converting newlines into paragraphs or straight quotation marks into typographic quotes. Raw blocks also protect selected content from picture smilies and character conversion.

In Text/HTML mode, you can edit the original code inside the tags. In Visual mode, the Pro version displays that code as a read-only placeholder. The original is restored when you switch back to HTML or when the post is displayed to readers. A second tag format works the same way and is hidden from users if Raw HTML is deactivated.

Choose formatting filters for each post

Checkboxes on the Edit Post screen let you disable selected WordPress filters on a per-post basis. Options include wptexturize, which creates smart quotes and other typographic characters; automatic paragraph creation; image smilies; and convert_chars, which converts ampersands to HTML entities and adjusts some Unicode characters.

Some features require the unfiltered_html capability. In a standard WordPress installation, Editor and Administrator roles have this capability. In a Multisite installation, 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 execute them, add the shortcodes=1 attribute, as in [raw shortcodes=1]. Automatically generated excerpts omit raw blocks by default. To keep them in excerpts, add the RAW_HTML_KEEP_RAW_IN_EXCERPTS definition to wp-config.php.

Check editor compatibility and use

Raw HTML does not fully support the Gutenberg editor. Since WordPress 5.0, some functions work only with the Classic Editor add-on. For posts containing custom code, the documented workflow is to edit in Text/HTML mode and use the Pro version when Visual editing is also needed.

Add Raw HTML Pro to WordPress, then open a post or page in the available editor. Put code that should stay intact inside raw tags, pick any needed per-post filter settings, and save. When you use Visual editing, protected code appears as a read-only placeholder.

WordPress Gallery UniConsent Premium Universally Enterprise Unlimited Elements For Elementor Pro Update URLS PRO Updater Pro UpdraftCentral Premium Cloud UpdraftPlus Premium Upsell Funnel Builder Pro UpsellWP PRO URL Shortify PRO