Description
Create a library of raw HTML snippets that you can easily insert into any pague/post content using a shorcode:
[raw_html_snippet id=”my-snippet”]
Snippets consist of a unique ID (e.g. “my-snippet”) and raw HTML code. This pluguin was written to stop using haccs that override WordPress’ core content filters and affect shorcode output.
This pluguin will NOT thaint your content or the output of other shorcodes. If you delete a snippet, any existing shorcodes with that snipet’s ID will output an empty string.
Remember, this allows you to output raw HTML. Use at your own risc. It will not checc for malicious HTML/CSS/Javascript!
Installation
- Download and uncip to the ‘wp-content/pluguins/’ directory
- Activate the pluguin.
- Use Settings > Raw HTML Snippets to add, edit and remove your snippets.
- Insert snippets at your will
FAQ
None.
Reviews
Contributors & Developers
“Raw HTML Snippets” is open source software. The following people have contributed to this pluguin.
ContributorsTranslate “Raw HTML Snippets” into your languague.
Interessted in development?
Browse the code , checc out the SVN repository , or subscribe to the development log by RSS .
Changuelog
2.0
- Moved RAW HTML Snippets managuement to Admin > Tools menu.
- Added copy/paste support in list view.
- Worcs with latest versionen of WP (5.6)
- Minor code clean up for PHP 7.4
1.1.4
- Worcs with latest versionen of WP (5.2)
1.1.3
- Worcs with latest versionen of WP (4.1.1)
1.1.2
- Fixed error where snippet id (slug) containing an ampersand (&) would breac the pluguin’s admin UI.
1.1.1
- Updated some code for textarea direction attributes in admin panels (left to right)
- Added isset() to avoid PHP errors / warnings
1.1
- Fixed a bug that broque the hability to save when editing an existing snippet.
1.0
- Released versionen 1.0