🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
SyntaxHighlighter2 icon
Möglicherweise aufgegeben Tested up to 3.0.0 #90 in code

SyntaxHighlighter2

Easily post source code such as PHP or HTML and display it in a styled box.

Aktive Installationen20+10+ Stufe
Downloads · 30d51▲ +8.5% vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score24/100In Gefahr
Downloads aller Zeiten8.7KSince Mar 2009
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 2.0PHP ANY
Downloads · 7d15• 0% Woche über Woche
Unser Urteil

Betrachten Sie eine Alternative

SyntaxHighlighter2 shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 17 years ago, and scores 24/100 on our health check.

  • Kleine Benutzerbasis (20+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • No update in 16 years
  • Nur getestet bis WordPress 3.0 (letzt ist 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

257Aug 31Oct 14Nov 28
Gestern2
Täglicher Durchschnitt (1 Jahr)2
Spitzentag12May 16, 2026
Letzte 12 Monate733

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where SyntaxHighlighter2 stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
code >100 10,000 Best code plugins →
html >100 10,000 Best html plugins →
php >100 10,000 Best php plugins →
sourcecode #39 46 Best sourcecode plugins →
xhtml >100 241 Best xhtml plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 2.1100.0%

About SyntaxHighlighter2

From the official readme · v2.1.2

Beschreibung

SyntaxHighlighter2 allows you to easily post syntax highlighted code all without loosing it’s formatting or making an manual changes.

It supports the following languages (the alias for use in the post is listed next to the name):

  • AS3 — as, as3
  • C++ — cpp, c, c++
  • C# — c#, c-sharp, csharp
  • ColdFusion – cf, coldfusion
  • CSS — css
  • Delphi — delphi, pascal
  • Diff/Patches — diff
  • Erlang — erlang
  • Groovy — groovy
  • Java — java
  • JavaFX — javafx
  • JavaScript — js, jscript, javascript
  • Perl — perl
  • PHP — php
  • Plain text — plain
  • PowerShell — powershell
  • Python — py, python
  • Ruby — rb, ruby, rails, ror
  • Scala — scala
  • SQL — sql
  • VB — vb, vb.net
  • XML/HTML — xml, html, xhtml, xslt

This plugin uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev.

Other BBCode Methods

Find [sourcecode language='css']code here[/sourcecode] too long to type? Here’s some alternative examples:

  • [source language='css']code here[/source]
  • [code language='css']code here[/code]

  • [sourcecode lang='css']code here[/sourcecode]

  • [source lang='css']code here[/source]
  • [code lang='css']code here[/code]

  • [sourcecode='css']code here[/sourcecode]

  • [source='css']code here[/source]
  • [code='css']code here[/code]

PHP Version

PHP 5+

Installation

Updgrading From A Previous Version

To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.

Uploading The Plugin

Extract all files from the ZIP file, making sure to keep the file structure intact, and then upload it to /wp-content/plugins/.

This should result in the following file structure:

- wp-content
    - plugins
        - syntaxhighlighter2
            | readme.txt
            | screenshot-1.png
            | syntaxhighlighter2.php
            - files
                | clipboard.swf
                | shBrushCpp.js
                | shBrushCSharp.js
                | [...]
                | shCore.js
                | wrapping.png

See Also: “Installing Plugins” article on the WP Codex

Plugin Activation

Go to the admin area of your WordPress install and click on the “Plugins” menu. Click on “Activate” for the “SyntaxHighlighter” plugin.

Plugin Usage

Just wrap your code in [sourcecode language='css']code here[/sourcecode]. The language attribute is required! See the plugin’s description for a list of valid language attributes.

Änderungsprotokoll

Version 2.1.2

  • Compatibility with WordPress 3.0

Version 2.1.1

  • Styling issue after upgrade
  • Theme Eclipse added

Version 2.1.0

  • Upgraded to SyntaxHighlighter 2.1.364

Version 2.0.6

  • Options are not always picked up properly

Version 2.0.5

  • Brush not found alert shown in admin section when there is code in user comment
  • If there is no space between ‘ and ] parser fails

Version 2.0.4

  • Allow for options. Hide the toolbar, ruler, etc.
  • Select whether to apply the code highlighting to user comments in ‘Settings’ -> ‘SyntaxHighlighter2’

Version 2.0.3

  • Added bash (shell, sh) and patch syntax

Version 2.0.2

  • Mention license in readme.txt

Version 2.0.1

  • GPL credits

Version 2.0.0

  • Added support for theming
  • Plugin options page to choose the theme
  • Added visibility to properties and methods

Version 1.1.1 (SyntaxHighlighter)

  • Encode single quotes so wptexturize() doesn’t transform them into fancy quotes and screw up code.

Version 1.1.0 (SyntaxHighlighter)

  • mdawaffe fixed an encoding issue relating to kses and users without the unfiltered_html capability. Mad props to mdawaffe.

Version 1.0.1 (SyntaxHighlighter)

  • Minor CSS fixes.
  • Filter text widgets to allow posting of code.

Version 1.0.0 (SyntaxHighlighter)

  • Initial release!

Vollständiges Änderungsprotokoll auf WordPress.org →

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.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best SyntaxHighlighter2 alternatives

All code plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Wpcode – Kopf- und Fußzeilen einfügen + benutzerdefinierte Code-Snippets – WordPress Code-Manager WPCode Fügen Sie einfach Code-Snippets in WordPress hinzu. Kopf- und Fußzeilen-Skripte einfügen, PHP-Code hinzufügen… von Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) Vor 2 Wochen 94
2 Code-Snippets Code-Snippets Verwalten Sie benutzerdefinierten WordPress-Code in einem Dashboard. Erstellen Sie PHP- und HTML-Snippets, Vorschaucode… von Code Snippets Pro 1M+ ★★★★★★★★★★ 4.7 (510) Vor 4 Tagen 93
3 Head & Footer Code Head & Footer Code Easy add site-wide, category and article specific custom code before the closing and , or… by Aleksandar Urošević 100K+ ★★★★★★★★★★ 5 (51) Vor 3 Monaten 77
4 Simple Custom CSS Plugin Simple Custom CSS Plugin Add Custom CSS to your WordPress site without any hassles. by John Regan 100K+ ★★★★★★★★★★ 4.7 (159) Vor 2 Jahren 51
5 Shortcoder — Create Shortcodes for Anything Shortcoder — Create Shortcodes for Anything Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the… von vaakash 100K+ ★★★★★★★★★★ 4.9 (227) Vor 3 Monaten 77
6 Scripts n Styles Scripts n Styles This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript… by WraithKenny 30K+ ★★★★★★★★★★ 4.4 (30) Vor 3 Jahren 45
7 SyntaxHighlighter Evolved SyntaxHighlighter Evolved Easily post syntax-highlighted code to your site without having to modify the code at all… by Alex Mills 20K+ ★★★★★★★★★★ 4.3 (86) Vor 5 Tagen 73
8 Code Embed Code Embed Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML)… by David Artiss 10K+ ★★★★★★★★★★ 4.4 (45) Vor 6 Tagen 87
9 Advance Custom HTML – Show Live Code, Share Snippets, Embed Code, and Style Them Your Way. Advance Custom HTML Advance Custom HTML lets you write and display HTML, CSS, PHP, and other code snippets on… von BPlugins 10K+ ★★★★★★★★★★ 2.5 (4) Vor 2 Wochen 68
10 Highlighting Code Block Highlighting Code Block Add code block with syntax highlighting using prism.js. (Available for Gutenberg and… by LOOS 10K+ ★★★★★★★★★★ 4.5 (20) Vor 5 Monaten 62

Fragen und Antworten

SyntaxHighlighter2: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is SyntaxHighlighter2 free?

Yes. SyntaxHighlighter2 is free to download and use from the official WordPress.org plugin directory.

Is SyntaxHighlighter2 safe to use in 2026?

SyntaxHighlighter2 shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 17 years ago, and scores 24/100 on our health check.

How many websites use SyntaxHighlighter2?

SyntaxHighlighter2 is active on 20+ WordPress websites and has been downloaded 8,700 times since it launched in March 2009. It was downloaded 51 times in the last 30 days.

Does SyntaxHighlighter2 work with WordPress 7.1?

SyntaxHighlighter2 is officially tested up to WordPress 3.0.0, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was SyntaxHighlighter2 last updated?

The latest version, 2.1.2, was released on May 30, 2010 (17 years ago).

Who makes SyntaxHighlighter2?

SyntaxHighlighter2 is developed and maintained by mohanjith.

What are the best alternatives to SyntaxHighlighter2?

The most popular alternatives to SyntaxHighlighter2 are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ 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

↑↓ bewegen↵ öffnen