WordPress.org

Ready to get started?Download WordPress

Plugin Directory

PureHTML

Pure HTML allows you to add standard HTML markup that is normally removed by the visual editor using a bbcode format or code snippets

Pure HTML is a plugin for WordPress which allows you to easily insert HTML markup which is normally removed by the TinyMCE visual editor.

The plugin allows for your markup to be saved as code snippets, which can be re-used on multiple pages and updated in one place.

Your markup can be inserted in 2 ways;

  1. As a code snippet which can be reused on multiple pages and updated in one place
  2. As inline BBCode which is then converted on page load to standard HTML

The end result is an easy solution to insert Google Maps, Youtube Videos and other rich content which may normally be removed by the TinyMCE editor when switching between WYSIWYG and Text modes.

Your markup is added via a shortcode [purehtml][/purehtml] which supports 2 attributes

  • debug=[0/1] - When set to 1, the content is appended with a pre tag showing exactly what is being outputted, to allow you to pin point the cause of an error
  • id=[int] - When set, it will use the corresponding snippet id from the database, if the snippet is not found in the database then a default fallback snippet is shown.

You can customize the Snippet Not Found message in the plugins options page.

Requires: 2.5 or higher
Compatible up to: 3.5.2
Last Updated: 2013-1-22
Downloads: 5,044

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,1,1
100,1,1