Syntax highlighting for code snippets in posts, comments, and RSS, with inline code, themes, and line numbers.
As of April 2026, CodeColorer is a WordPress code plugin with 1.0K+ active installations and a 4.9/5 rating from 11 reviews. It has been downloaded 125K+ times in total. Requires WordPress 4.0+ and PHP 7.0+. Available on WordPress.org since 2007. Actively maintained — updated within the last month. Downloads are up 11% this week. Top alternative: WPCode – Insert Headers and Footers +….
CodeColorer lets you insert syntax-highlighted code snippets into posts, comments, and feeds.
CodeColorer currently bundles GeSHi 1.0.9.0 from the upstream 1.0.x line, with a small set of project-local maintenance patches for current PHP and WordPress compatibility.
Plugin based on GeSHi library, which supports most languages. CodeColorer has various nice features:
This is a great plugin and despite some quirks, which I think are in WordPress, it works great, even in WordPress 5.5.3.
I use this plugin to display code snippets in service documentation and it looks great.
To maintain support with wordpress 5+ use this plugin alongside the classic editor plugin created by wordpress: https://en-gb.wordpress.org/plugins/classic-editor/
Hope the author continue to update this plugin. IS the best plugin for code style.
Work perfect on wordpress 4.9.2.
Very nice plugin, that makes my shitty code look great. 😀
Should replace the lang attribute with class or data-lang attributes.
Must importantly, should use <pre> instead of <code> elements.
| WordPress | 4.0+ requiredTested up to 6.9.4 |
| PHP | 7.0+ required |
[cc_php] and [cci_php].Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.