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

Prettify Code Syntax

The main reason for the development of this plugin was the lack of options supporting the HTML5 recommendation, where the code snippets should be tagged with pre followed by code, and optionally a class starting with…

Aktive Installationen70+10+ Stufe
Downloads · 30d227▲ +11.3% vs prev. 30d
Wertung4.2/512 Bewertungen
Gesundheits-Score34/100In Gefahr
Downloads aller Zeiten17KSince Feb 2013
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 3.0.1PHP ANY
Downloads · 7d48▼ -21.3% week over week
Unser Urteil

Betrachten Sie eine Alternative

Prettify Code Syntax shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites, is rated 4.2/5 and was last updated 14 years ago, and scores 34/100 on our health check.

  • Small user base (70+ active installs)
  • No update in 13 years
  • Only tested up to WordPress 3.5 (latest is 7.1)

Wie stapelt es sich?

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

Tägliche Downloads

51117Aug 31Oct 14Nov 28
Gestern6
Täglicher Durchschnitt (1 Jahr)5
Spitzentag23Sep 11, 2026
Letzte 12 Monate1.9K

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

Ranglisten

Where Prettify Code Syntax stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
code >100 10,000 Best code plugins →
highlighter >100 232 Best highlighter plugins →
markup >100 5,232 Best markup plugins →
prettify #22 39 Best prettify plugins →
syntax >100 2,336 Best syntax plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 1.2100.0%

Bewertungsaufschlüsselung

★★★★★★★★★★ 4.2 from 12 reviews

  • 5★50.0%
  • 4★33.3%
  • 3★8.3%
  • 2★0.00%
  • 1★8.3%

About Prettify Code Syntax

Aus der offiziellen Readme · V1.2.1

Beschreibung

The main reason for the development of this plugin was the lack of options supporting the HTML5 recommendation, where the code snippets should be tagged with pre followed by code, and optionally a class starting with language- and then our language.

You can use the plugin like this:

<pre class="prettyprint"><code class="language-php">
// my code
</code></pre>

Also very important is that although this plugin loads different files depending on your configuration, it fully supports caching scripts (W3 Total Cache) to concatenate and compress all the css and js, so the impact in performance will be minimum.

Sprachen

This syntax highlighter is based on Google Code Prettify and should work on a number of languages including C and friends, Java, Python, Bash, SQL, HTML, XML, Javascript, Makefiles, and Rust. It works passably on Ruby, PHP, VB, and Awk and a decent subset of Perl and Ruby, but, because of commenting conventions, doesn’t work on Smalltalk.

Other languages are supported via an extension (plugin options): CSS, SQL, YAML, Visual Basic, Clojure, Scala, Latek (TeX, LaTeX), WikiText, Erlang, Go, Haskell, Lua, OCAML, SML, F#, Nemerle, Protocol Buffers, CHDL (VHDL), XQ (XQuery), Lisp, Scheme, Dart, Llvm, Mumps, Pascal, R, S, RD, TCL

Styles

Four different styles are provided, and they can be previewed in the plugin options. They are modified to make sure they don’t clash with any other styles in your theme.

You have also the option to include your custom style.

If you have a style that would like to see included in the option list, just contact me, or fork me.

Notizen

  • Plugin options are at Settings > Prettify Code Syntax. Have a look at the Screenshots tab to see how it looks like.

  • If you don’t care too much about the HTML5 recommendation, you can skip the language- class. The code always gets detected automatically.

  • It will also work if you only use a pre tag without the code tag (but long lines will be wrapped instead of get horizontal scroll), or if you only use a code tag with the prettyprint class (but if you don’t use pre your spaces/returns won’t be maintained.)

  • Be careful using the Visual Editor tab when inserting code, as some HTML tags will be modified or removed.

  • Using a chaching plugin like W3 Total Cache is highly recommended.

Demo

You can find a front end demo here a the bottom.

Installation

In your WordPress installation go to Plugins > Add New, and search for “prettify code syntax” to find and install it automatically.

You can also install it manually:

  1. Download the plugin and upload the contents to the /wp-content/plugins/ directory, using FTP or the Upload tab in Plugins > Add New.
  2. Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
  3. Change settings if neccessary at Settings > Prettify Code Syntax

Änderungsprotokoll

1.2

  • Add Twitter Bootstrap style
  • Isolate default style. Every style now is independent
  • Fix bug where all languages were loaded
  • Code refactoring

1.1

  • Add new languages
  • Several fixes and code refactoring

1.0

  • First release

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Language options
Language options
Style options
Style options

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 Prettify Code Syntax 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 3 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 6 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

Prettify Code Syntax: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Prettify Code Syntax free?

Yes. Prettify Code Syntax is free to download and use from the official WordPress.org plugin directory.

Is Prettify Code Syntax safe to use in 2026?

Prettify Code Syntax shows warning signs in 2026 — compare the alternatives below before installing. It runs on 70+ sites, is rated 4.2/5 and was last updated 14 years ago, and scores 34/100 on our health check.

How many websites use Prettify Code Syntax?

Prettify Code Syntax is active on 70+ WordPress websites and has been downloaded 16,951 times since it launched in February 2013. It was downloaded 227 times in the last 30 days.

Does Prettify Code Syntax work with WordPress 7.1?

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

When was Prettify Code Syntax last updated?

The latest version, 1.2.1, was released on March 21, 2013 (14 years ago).

Who makes Prettify Code Syntax?

Prettify Code Syntax is developed and maintained by jesucarr.

What are the best alternatives to Prettify Code Syntax?

The most popular alternatives to Prettify Code Syntax 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