Create a library of raw HTML snippets that you can easily insert into any page/post content using a shortcode.
As of April 2026, Raw HTML Snippets is a WordPress html plugin with 2.0K+ active installations and a 4.7/5 rating from 11 reviews. It has been downloaded 41K+ times in total. Requires WordPress 2.6+ and PHP false+. Available on WordPress.org since 2011. Last updated 2 years ago — may have compatibility concerns. Download volume is stable this week. Top alternative: Shortcoder — Create Shortcodes for….
Create a library of raw HTML snippets that you can easily insert into any page/post content using a shortcode:
[raw_html_snippet id=”my-snippet”]
Snippets consist of a unique ID (e.g. “my-snippet”) and raw HTML code. This plugin was written to stop using hacks that override WordPress’ core content filters and affect shortcode output.
This plugin will NOT taint your content or the output of other shortcodes. If you delete a snippet, any existing shortcodes with that snipet’s ID will output an empty string.
Remember, this allows you to output raw HTML. Use at your own risk. It will not check for malicious HTML/CSS/Javascript!
HTML, Styles, Javascript… Code als ‘Snippet’ speichern, Namen mit Bindestrichen vergeben, speichern und auf jedder Seite ‘Snippet-Code’ einfügen. Wow! It works!
Ich musste eine Sicherheitswarnung von WP-Security oder Wordfence, nicht aufgepasst :)) als ‘false positive’ quittieren, Seite ein einziges mal neuladen, dann ist alles dauerhaft ok.
Aber Vorsicht, dass der Code auch funzt. Entwickeln unbedingt außerhalb WP!
10 Stars, if possible :))
It feels a little dangerous but sometimes you just want to do something quick and simple the html way without having to write a block or a plugin or a template and then frig around with ftp uploads. It’s so simple to use if you know html that if you’re not careful it could easily become a crutch to not do things the WordPress way but I think I can live with that.
This plugin is just great for table of content kind of snippets. I have been using it for some time and it’s great.
It does not prevent WP from “correcting” the code. Even in the snippet editor codes like < are replaced. The HTML gets executed in stead of shown.
This plugin does exactly what you think it does from the description.
That said … I went through about a dozen solutions to the problem and finally found this one. Would have saved me a couple hours had I found it first. 🙂
| WordPress | 2.6+ requiredTested up to false |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.