WP Code Pre
This simple plugin was created because of security concerns related to using PHP preg_replace directly. With transition to PHP7, it’s advised to use preg_replace_callback instead.
Betrachten Sie eine Alternative
WP Code Pre shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 5 years ago, and scores 23/100 on our health check.
- Kleine Benutzerbasis (10+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 5 Jahren
- Nur getestet bis WordPress 5.8 (letzter IS 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 WP Code Pre stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| Code Highlight | >100 |
| filter content | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About WP Code Pre
Aus der offiziellen Readme · V1.0Beschreibung
This simple plugin was created because of security concerns related to using PHP preg_replace directly. With transition to PHP7, it’s advised to use preg_replace_callback instead.
This plugin uses built-in supported feature of PHP-“highlight_string”. This plugin filters post content inside custom html block for
and helps display html and other source code.
To display source code in your posts, surround source code with pre tags. Plugin will filter for pre tags and add inline styles that may be modified using your wordpress theme’s css stylesheet.
For WordPress versions 5.0 and above, HTML pre tags can be used within html block or, classic block. Use the three dot menu to convert to html when there is a invalid content error while post editing.
Installation
- Laden Sie das Plugin herunter
- Upload the wp-code-pre.zip folder to your site’s wp-content/plugins directory
- Activate the plugin in the WordPress Admin Panel
- Surround source code with
<pre> </pre>tags, when writing in blog posts using Gutenberg with classic block and “Edit as HTML” or, html block
Änderungsprotokoll
1.0
- First version of the plugin.
1.0.1
- Updated readme to reflect updates to version 5.0
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 WP Code Pre alternatives
All Code Highlight plugins →Fragen und Antworten
WP Code Pre: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is WP Code Pre free?
Yes. WP Code Pre is free to download and use from the official WordPress.org plugin directory.
Is WP Code Pre safe to use in 2026?
WP Code Pre shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 5 years ago, and scores 23/100 on our health check.
How many websites use WP Code Pre?
WP Code Pre is active on 10+ WordPress websites and has been downloaded 2,974 times since it launched in September 2017. It was downloaded 143 times in the last 30 days.
Does WP Code Pre work with WordPress 7.1?
WP Code Pre is officially tested up to WordPress 5.8.20, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does WP Code Pre need?
WP Code Pre requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WP Code Pre last updated?
The latest version, 1.0, was released on August 8, 2021 (5 years ago).
Who makes WP Code Pre?
WP Code Pre is developed and maintained by zeshanb.
What are the best alternatives to WP Code Pre?
The most popular alternatives to WP Code Pre are Code Block (200+ installs), WP Code Highlight (200+ installs) and Syntax Highlighter MT (100+ 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



