>
Download This Plugin | |
Download Elegant Themes | |
Name | Quick WP htmlentities |
Version | 1.1 |
Author | Willy Richardson |
Rating | 0 |
Last updated | 2015-01-30 10:21:00 |
Downloads |
71
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Quick WP htmlentities plugin added 8 bytes of resources to the Home page and 7 bytes of resources to the sample Post page.
Quick WP htmlentities plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Quick WP htmlentities plugin ads no tables to your Wordpress blog database.This is a short plugin that emulates the PHP htmlentities function. With this plugin, HTML and other code can automatically be formatted into HTML entities using a shortcode in paragraphs within posts. In addition, customizable parameter options are available.
An outer optional HTML "tag" can be added to wrap the shortcode content along with parameters "style" and "class" to style the "tag" if "tag" is declared. You can define the "style" value inline and the "class" value should be previously defined, probably in the "style.css" file. An inner html tag "wrapper" without "class" or "style" can also be specified.
This plugin is intended to work when wpautop
is in the default state and does not alter the the_content
hook. If the the_content
hook has been altered this plugin may not work. You should leave one empty line above and below both beginning and ending shortcodes when invoking standard formatting.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
[quick-wp-htmlentities]
<span style="color:blue">Using a style.</span>
[/quick-wp-htmlentities]
Donec mauris metus, scelerisque id fermentum id, ornare at metus.
[quick-wp-htmlentities tag="code" style="white-space:pre-wrap;"]
function output_span()
{
echo "<span style=\"color:blue\">Use a class & a span.</span>";
}
[/quick-wp-htmlentities]
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
[quick-wp-htmlentities tag="div" style="margin:0 20px;" class="example" wrapper="code"]
<span style="color:blue" class="sample">This is how you use a style and a class called sample.</span>
[/quick-wp-htmlentities]
Donec mauris metus, scelerisque id fermentum id, ornare at metus.