CodeHighlighter
This plugin is a syntax highlighter for source code. It uses GeSHi as fontifier engine.
Consider an alternative
CodeHighlighter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 14 years ago, and scores 23/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in 14 years
- Only tested up to WordPress 3.4 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where CodeHighlighter stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| code highlighter | >100 |
| formatting | >100 |
| post | >100 |
| syntax highlight | >100 |
Version adoption
Share of active sites per release.
About CodeHighlighter
From the official readme · v1.9Description
This plugin is a syntax highlighter for source code. It uses GeSHi as fontifier engine.
Usage
- Put the code snippet in a “` tag.
- Add the lang attribute to the code tag like the following.
<code lang="php"> - Add the lineno attribute to the
<code>tag after the lang tag if you wish to start at a line other than 1.<code lang="cpp" lineno="42"> - If you do not add lang attribute, the
<code>tag is handled normally. - If you want to have border, add the style like the following to your .css file.
code { border: 1px dotted #ccc; padding: 0.2em 0.5em; } - You can use following languages in lang.
abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp-qt, cpp, csharp, css-gen, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gml, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, latex, lisp, lua, m68k, matlab, mirc, mpasm, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle8, pascal, per, perl, php-brief, php, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, xpp, z80
Note: Version 1.9 adds support for <code> tags, however to ensure backwards compatibility support for the <pre> tag will not be removed.
Known issues
- Because this plugin uses regular expression to match string range from
<code lang="some">to “`, you can’t use</code>in your code snippet. If you must put the</code>tag, you can put a space between<and/code>like< /code>. The< /code>is converted to</code>automatically by plugin. - If you want to change the style, you should modify the plugin source file. 😛
Installation
- Unzip the plugin archive.
- Upload the directory to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Changelog
1.9
- Added plugin maintainer
- Removed outdated links
- Added support for the
<code>tag - Fixed several HTML entity display issues
- Line numbering now defaults to displaying line numbers starting at 1
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best CodeHighlighter alternatives
All code highlighter plugins →FAQ
CodeHighlighter: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is CodeHighlighter free?
Yes. CodeHighlighter is free to download and use from the official WordPress.org plugin directory.
Is CodeHighlighter safe to use in 2026?
CodeHighlighter shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 14 years ago, and scores 23/100 on our health check.
How many websites use CodeHighlighter?
CodeHighlighter is active on 10+ WordPress websites and has been downloaded 12,672 times since it launched in September 2007. It was downloaded 57 times in the last 30 days.
Does CodeHighlighter work with WordPress 7.1?
CodeHighlighter is officially tested up to WordPress 3.4.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was CodeHighlighter last updated?
The latest version, 1.9, was released on June 18, 2012 (14 years ago).
Who makes CodeHighlighter?
CodeHighlighter is developed and maintained by iwongu.
What are the best alternatives to CodeHighlighter?
The most popular alternatives to CodeHighlighter are HTML Editor Syntax Highligh… (60K+ installs), AH Code Highlighter (50+ installs) and iG:Syntax Hiliter (40+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
