Server side syntax highlighter based on Pygments highlighter software.
As of April 2026, WPygments is a WordPress syntax highlight plugin with 10 active installations and a 5/5 rating from 3 reviews. It has been downloaded 2.6K+ times in total. Requires WordPress 3.3+ and PHP false+. Available on WordPress.org since 2013. Last updated 12 years ago — may have compatibility concerns. Top alternative: Syntax-highlighting Code Block (with….
Server side syntax highlighter based on Pygments highlighter software.
To use this plugin you need pygments in your server:
sudo apt-get install python-setuptools
easy_install Pygments
That’s all. Now you can download the plugin and install it in your WordPress.
Once you get installed the plugin the usage is straightforward. just enclose your code between tokens named with the corresponding lang:
[javascript]....[/javascript]
[php]....[/php]
See “Languages and filetypes supported” section to know available languages.
Tokens support a few parameters (all optionals):
[php **style**="manni" **linenumbers**="table"]....[/php]
style="manni" defines code styling. Currently are 22 available styles.<br>
Default styling is default wich is…
| WordPress | 3.3+ requiredTested up to 3.7.41 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.