WP Code Highlight provides clean syntax highlighting and it also provides a code button.
As of April 2026, WP Code Highlight is a WordPress wp code plugin with 200 active installations and a 3.9/5 rating from 14 reviews. It has been downloaded 55K+ times in total. Requires WordPress 2.7+ and PHP false+. Available on WordPress.org since 2011. Last updated 11 years ago — may have compatibility concerns. Top alternative: SmartAss Highlighter.
WP Code Highlight provides syntax highlighting of source code snippets and it is W3C valid.
Wrap code blocks with <pre> and </pre>
It provides a code button(HTML editor) to help you insert code in articles easily.
You don’t need to specify the language since WP Code Highlight will guess, all languages are supported.
You can put line numbers in your code if you need.
There are 4 highlight themes, you can choose from them or display by random.
It can also load wp-code-highlight.css from current wordpress theme directory.
It can delete its own options, so it is also a green plugin !
wp-code-highlight.zip to wp-content/plugins/| WordPress | 2.7+ requiredTested up to 3.9.40 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.