Pure HTML allows you to add html markup that is normally removed by visual mode in the post editor.

Author:Hit Reach (profile at wordpress.org)
WordPress version required:2.5
WordPress version tested:3.5
Plugin version:2.0.1
Added to WordPress repository:03-03-2011
Last updated:22-01-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:2
Plugin URI:http://www.hitreach.co.uk/wordpress-plugins/p...
Total downloads:6 625
Active installs:600+
plugin download
Click to start download

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.