WPygments
Server side syntax highlighter based on Pygments highlighter software.
Betrachten Sie eine Alternative
WPygments shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 13 years ago, and scores 30/100 on our health check.
- Kleine Benutzerbasis (10+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 12 Jahren
- Nur getestet bis WordPress 3.7 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where WPygments stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| syntax highlight | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 3 reviews
About WPygments
From the official readme · v1.1.2Beschreibung
Server side syntax highlighter based on Pygments highlighter software.
Installation:
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.
Verwendung
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.
Parameters
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 very nice, but maybe you like other styles. see “Color styles” section.
If you set “linenumbers” to inline or table, the line numbers will be added as independent table column or as part of the line.
Beispiele
`
[javascript]
//comment line
var foo = “foo”;
var bar = function(){
var baz;
}
[/javascript]
`
Outputs highlighted js with default style, and no line numbers.
`
[javascript style=”monokai” linenumbers=”inline”]
//comment line
var foo = “foo”;
var bar = function(){
var baz;
}
[/javascript]
`
Outputs highlighted js with monokai style with line numbers (as part of the line).
`
[javascript style=”monokai” linenumbers=”table”]
//comment line
var foo = “foo”;
var bar = function(){
var baz;
}
[/javascript]
`
Outputs highlighted js with monokai style with line numbers (as new column).
Color styles
These are supported color styles:
monokaimannirrtperldocborlandcolorfuldefaultmurphyvstractangofruityautumnbwemacsvimpastiefriendlynative
Languages and filetypes supported
Pygments not only highlights languages. also highlights filetypes like .conf Nginx configuration file, Apache (filenames .htaccess, apache.conf, apache2.conf), etc.
NOTE: to use see “Usage” section
important sdsd;
General
apacheconf: (.htaccess, apache.conf, apache2.conf)bash,sh,ksh:
(*.sh, *.ksh, *.bash, *.ebuild, *.eclass, .bashrc, bashrc)ini,cfg: (*.ini, *.cfg)makefile:
(.mak, Makefile, makefile, Makefile., GNUmakefile)nginx:
Nginx configuration fileyaml:
(*.yaml, *.yml)perl:
Perl (*.pl, *.pm)vb.net:
VB.net (*.vb, *.bas)console:
Bash Session (*.sh-session)
Javascript
javascript: Pure Javascriptcoffeescript: Pure CoffeeScriptjson: Pure JSON
PHP
cssphp: PHP embedded in CSShtmlphp: PHP embedded in HTMLjsphp: PHP embedded in JSphp: Pure PHPxmlphp: PHP embedded in XML
Ruby
ruby,duby: Ruby (*.rb, *.rbw, *.rake, *.gemspec, *.rbx, *.duby)csserb,cssruby: Ruby embedded in CSSxmlerb,xmlruby: Ruby embedded in XML
CSS and CSS compilers
css:
CSS (*.css)sass:
Sass (*.sass)scss:
SCSS (*.scss)
HTML and HTML template systems
html:
HTML (*.html, *.htm, *.xhtml, *.xslt)haml:
Haml (*.haml)jade:
Jade (*.jade)
SQL
sql:
SQL (*.sql)sqlite3:
sqlite3con (*.sqlite3-console)mysql:
MySQL
Python, jinja & Django
python: Pure Pythonpython3: Pure Python 3xmldjango,xmljinja: Django/Jinja embedded in XMLcssdjango,cssjinja: Django/Jinja embedded in CSSdjango,jinja: Pure Django/Jinjahtmldjango,htmljinja: Django/Jinja embedded in HTMLjsdjango,jsjinja: Django/Jinja embedded in Javascript
Java && family
java:
Java (*.java)clojure:
clojure (*.clj)groovy:
Groovy (*.groovy)jsp:
Java Server Page (*.jsp)
C, C++, Objetive-c, C Sharp
cobjdump: c-objdump (*.c-objdump)c: C (*.c, *.h, *.idc)cpp: C++ (*.cpp, *.hpp, *.c++, *.h++, *.cc, *.hh, *.cxx, *.hxx)csharp: C# (*.cs)objectivec: (*.m)
XML
xml: (*.xml, *.xsl, *.rss, *.xslt, *.xsd, *.wsdl)xslt: (*.xsl, *.xslt)
Installation
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.
- Upload the plugin to the
/wp-content/plugins/directory - Aktivieren Sie das Plugin über das „Plugins“-Menü in 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]
Änderungsprotokoll
1.1.3
- Added clojure support.
- Fix: Line numbers not showing up.
- Updated readme.txt
1.1.2
- readme.txt fix
1.1.1
- readme.txt fix
1.1
- readme.txt fix
1.0
- First stable release
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best WPygments alternatives
All syntax highlight plugins →Fragen und Antworten
WPygments: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is WPygments free?
Yes. WPygments is free to download and use from the official WordPress.org plugin directory.
Is WPygments safe to use in 2026?
WPygments shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 13 years ago, and scores 30/100 on our health check.
How many websites use WPygments?
WPygments is active on 10+ WordPress websites and has been downloaded 3,686 times since it launched in May 2013. It was downloaded 149 times in the last 30 days.
Does WPygments work with WordPress 7.1?
WPygments is officially tested up to WordPress 3.7.41, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was WPygments last updated?
The latest version, 1.1.2, was released on March 27, 2014 (13 years ago).
Who makes WPygments?
WPygments is developed and maintained by capynet.
What are the best alternatives to WPygments?
The most popular alternatives to WPygments are Syntax-highlighting Code Bl… (1K+ installs), Code Block Syntax Highlight… (500+ installs) and Syntax Highlight (200+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte


