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.

WP SyntaxHighlighter

This plugin is code syntax highlighter based on SyntaxHighlighter ver. 3.0.83 and 2.1.382.

Q. The highlighted code can not be displayed. The code is displayed as just raw.

A. This plugin requires placing <?php wp_head(); ?> and <?php wp_footer(); ?> in your theme files. You must place <?php wp_head(); ?> before the closing head tag in header.php and place <?php wp_footer(); ?> before the closing body tag in footer.php.

Q. Buttons are missing on my Visual editor.

A. This pluguin requires TinyMCE(default Visual editor). If you replaced default Visual editor with other(e.g. CKEditor etc.), Buttons can't be shown on your Visual editor.

Q. I want to change language and options of previously-markuped code with "pre" button. But I can't select whole my code.

A. You need not to select whole your code. It's enough to select first line of your code.

Q. After the update to new version, Buttons do not work correctly.

A. Old javascript files may be cached. Please clear your browser's cache or delete cached javascript files.

Q. How to stop translating my code with "Google Translate".

A. Go to setting panel and enter "notranslate" into "Class name". When another class has already been defined, add "notranslate" separated by space.

Q. I get a message saying "invalid" in a textarea on setting panel.

A. The value of textarea contains some character strings that are not allowed to use. Re-enter valid value and save it. It may occur after you upgraded to 1.5.6 or higher.

Q. "SH pre" button(Quicktag) or other buttons in the editor doesn't pop up a dialog box.

A. Go to setting panel and try to enable/disable "Load jQuery and jQuery UI" option in "HTML Editor Settings"(or "Comment Editor Settings") section.

Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 2012-2-29
Downloads: 41,698

Ratings

4 stars
4.9 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 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,2,2 100,2,2 100,3,3 100,1,1 100,4,4 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,2,2
100,1,1 100,2,2 100,1,1 100,4,4
100,2,2
100,1,1
83,6,5
100,1,1
100,1,1
100,2,2