Easily post source code such as PHP or HTML and display it in a styled box.
To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.
Extract all files from the ZIP file, making sure to keep the file structure intact, and then upload it to
This should result in the following file structure:
- wp-content - plugins - syntaxhighlighter2 | readme.txt | screenshot-1.png | syntaxhighlighter2.php - files | clipboard.swf | shBrushCpp.js | shBrushCSharp.js | [...] | shCore.js | wrapping.png
Go to the admin area of your WordPress install and click on the "Plugins" menu. Click on "Activate" for the "SyntaxHighlighter" plugin.
Just wrap your code in
[sourcecode language='css']code here[/sourcecode]. The language attribute is required! See the plugin's description for a list of valid language attributes.
Requires: 2.0 or higher
Compatible up to: 3.0.0
Last Updated: 2010-5-30
Active Installs: 200+
Got something to say? Need help?