WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Andy Stratton v2.0.4

Raw HTML Snippets

Create a library of raw HTML snippets that you can easily insert into any page/post content using a shortcode.

Raw HTML Snippets

The facts

Rating
4.7★ from 11
Active installs
2k+
Price
Free
Last updated
31 Jul 2023
Added
May 2011
Requires WP
2.6
Downloads
42,298

Our analysis

AI-assisted

Raw HTML Snippets is a WordPress plugin that allows you to create a library of raw HTML snippets for easy insertion into your page or post content using shortcodes. Each snippet is defined by a unique ID and can contain any raw HTML code.

This plugin is designed to avoid hacks that interfere with WordPress’ core content filters, ensuring that other shortcodes and content remain unaffected. However, it is important to use this plugin cautiously, as it does not validate the HTML, CSS, or JavaScript you insert.

Best for: This plugin is suitable for users who need to insert custom HTML snippets into their WordPress content.

What it does well

  • Free to use from the WordPress.org directory
  • Allows insertion of raw HTML via shortcodes
  • Does not interfere with other shortcodes or content

Where it falls short

  • No validation for malicious HTML, CSS, or JavaScript
  • Existing shortcodes will output an empty string if a snippet is deleted

Verdict

Raw HTML Snippets provides a straightforward way to manage HTML snippets, but users should be cautious about the content they insert.

From the developer

Andy Stratton's own description of Raw HTML Snippets, lightly tidied.

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!

Read the full description on the official page →

Tagged as

feature Shortcodes
topic Snippet Insert

Alternatives

Other plugins for libraries and archives.

Starter Templates

The growing library of 300+ ready-to-use templates that work with all WordPress themes including Astra, Hello,...

Free 1M+ installs 4.9★ (4,745)
SVG Support

Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling...

Free 1M+ installs 4.8★ (355)
Enable Media Replace

Easily replace any attached image/file by simply uploading a new file in the Media Library edit view - a real...

Free 600k+ installs 4.4★ (302)
Happy Addons for Elementor

HappyAddons packs Header Footer Builder, Megamenu, Single Post, Archive Page, & 500+ Ready Templates into...

Free 400k+ installs 4.8★ (487)
CMB2

CMB2

91

CMB2 is a metabox, custom fields, and forms library for WordPress that will blow your mind.

Free 300k+ installs 5★ (91)
Extendify

The best WordPress templates, pattern, and layout library with 1,000+ designs built for the Gutenberg block ed...

Free 500k+ installs 4.7★ (10)