Skip to main content
Agency Program 50% cashback. 10% commissions. Priority support. Built for growing agencies. 50% cashback for agencies Speak to the team Join free
Insert Html Snippet icon

Insert Html Snippet

v1.4
by f1logic · 4.9 (227 reviews)

Add HTML, CSS and javascript code to your pages and posts easily using shortcodes.

20K+ active installs Updated Feb 19, 2025 Tested to 6.7.2
Try Demo Download
Pre-installed Ready in ~10s No card

About Insert Html Snippet

Insert Html Snippet is a plugin that allows you to easily convert HTML, Javascript, and CSS code into shortcodes that can be used in your WordPress posts, pages, and widgets. The plugin also supports snippet shortcodes in widgets and provides a dropdown menu in the editor for easy selection of shortcodes. It is developed and maintained by XYZScripts and they provide support for any issues or questions you may have.

Screenshots

Insert Html Snippet screenshot
Insert Html Snippet screenshot
Insert Html Snippet screenshot

Frequently asked questions

What is Insert Html Snippet?
Insert Html Snippet is a WordPress plugin that allows you to add HTML, CSS, and JavaScript code to your pages and posts easily using shortcodes.
What kind of code can I convert to shortcodes?
You can convert HTML snippets, JavaScript codes, and CSS codes to shortcodes.
Where can I use the snippet shortcodes?
Snippet shortcodes can be used in posts, pages, and widgets. They are available as a dropdown in the standard WordPress content editor and widget settings.
What are the requirements for this plugin?
The plugin requires WordPress 5.0+ and PHP 7+.
Where can I find support or provide feedback?
You can find support and submit feedback at the developer's support desk. There is also a user guide and FAQ available.

Changelog

1.4

  • Added new Snippet Placement Methods: Automatic and Shortcode (Manual) for more flexible snippet placement options.
  • Added Snippet Placement filter on the Manage Snippets page
  • Improved compatibility with the latest WordPress versions
  • Fixed minor bugs and optimized performance.

1.3.8

  • Added “Execute shortcodes in editors” setting for Elementor and other editor compatibility
  • Updated about page with new premium feature details, including automatic placement locations

1.3.7

  • Updated nonce verification for bulk actions to prevent CSRF attacks
  • Compatibility with WordPress 6.6.1

1.3.6

  • Prevented shortcode execution in the admin area
  • Renamed menu from XYZ HTML to Insert HTML Snippet
  • Minor bugs fixed

1.3.5

  • Patch security vulnerability
  • Compatibility with latest version of WordPress

1.3.4

  • Minor bugs fixed
  • Compatibility with latest version of WordPress

1.3.3

  • Minor bugs fixed

1.3.2

  • Database collation issue fixed
  • Minor bugs fixed

1.3.1

  • Notice errors fixed

1.3

  • Snippet selection support in classic editor block of Gutenberg
  • Support for Search Snippet by name
  • Navigation Improvements

1.2.5

  • Support for Bulk Actions(activate,deactivate,delete)

1.2.4

  • Removed deprecated widget initializing function

1.2.3

  • Updated nonces and validations
  • Premium version details and comparison added

1.2.2

  • Unwanted output removed
  • Widget class updated

1.2.1

  • A few bug fixes

1.2

  • Compatibility with wordpress 4.3
  • Added options to sort snippets in admin area by id and title
  • Removed redirection after snippet edit

1.1.1

  • Compatibility with wordpress 3.9

1.1

  • Support for shortcodes in html content
  • Snippet chooser TinyMCE plugin modified
  • A few bug fixes

1.0.1

  • Support for network installation
  • Pagination bug fix

1.0

  • First official launch.

Try other plugins

Really Simple SSL icon

Really Simple SSL

4.9 · 4M+ installs

The easiest way to improve security! Leverage your SSL certificate and protect your website visitors.