WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

SyntaxHighlighter2

Easily post source code such as PHP or HTML and display it in a styled box.

Updgrading From A Previous Version

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.

Uploading The Plugin

Extract all files from the ZIP file, making sure to keep the file structure intact, and then upload it to /wp-content/plugins/.

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

See Also: "Installing Plugins" article on the WP Codex

Plugin Activation

Go to the admin area of your WordPress install and click on the "Plugins" menu. Click on "Activate" for the "SyntaxHighlighter" plugin.

Plugin Usage

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
Downloads: 6,268

Ratings

4 stars
4.1 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.

100,1,1
0,1,0
100,1,1 50,2,1
100,1,1
100,1,1
100,1,1