This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP-Syntax Colorizer


WP-Syntax is a fantastic WordPress plugin which automatically syntax-highlights source code in <pre> blocks for a large number of languages. Unfortunately, styling WP-Syntax’s output can be a bit of a headache.

I have put together WP-Syntax Colorizer, a WordPress plugin that gathers all of the functions required to set custom colors for your code snippets, and it is simply run alongside WP-Syntax.


  • WP-Syntax Colorizer in action.


This plugin, of course, requires WP-Syntax to be installed.

  1. Upload wp-syntax_colorizer.php to the /wp-content/plugins/ directory.
  2. Upload the modified wp-syntax.css into the root directory of your theme.
  3. Edit the colors in wp-syntax_colorizer.php to fit your needs.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress.


What do all the `set_keyword_group_style` lines correspond to?

The correspondence is language-dependent. For more information see the GeSHi documentation.

Contributors & Developers

“WP-Syntax Colorizer” is open source software. The following people have contributed to this plugin.


Translate “WP-Syntax Colorizer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.