Download Demo

This plugin supports the highlighting of PHP, HTML, CSS and XML. The default tag-highlighter color scheme uses the same colors Adobe’s Dreamweaver is using. This makes it easy for your visitors to recognize what type of codes you wrote. These colors can be changed to your liking in the WPadmin section of your blog.

How to use this plugin?

1. Upload the folder `fv-code-highlighter` to the `/wp-content/plugins/` directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. Place in your pages to use the highlighter

eg: type=php

Examples

1. CSS Code (use type=css)

{code type=css}

.body{

font-family:Cambria;

color:blue;

font-size:21px;

}

{/code}

2. HTML Code (use type=html)

{code type=css}

<html>

<title>This theme is really good ! </title>

<body>

<div class=”someClass”>Hello ! My name is Yasser.</div>

</body>

</html>

{/code}

3.JavaScript Code (use type=javascript)

{code type=javascript}
function abc() {

alert(“Ting Tong !”);
}

{/code}

this plugin also support php, XHTML, XML and much more. The credit for such a beautiful plugin goes to Mr Frank Verhoeven. Do check out this link http://www.frank-verhoeven.com/wordpress-plugin-fv-code-highlighter/

Thanks