🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
WebberZone Code Block Highlighting icon
aktiv gepflegt Getestet mit WP 7.1 #18 in code block

WebberZone Code Block Highlighting

Syntax highlighting for the Gutenberg Code block — Prism.js, 21 themes, 40+ languages, plus an optional server-side highlighting mode.

Aktive Installationen<10Neu
Downloads · 30d411▲ +17.4% vs prev. 30d
Wertung—0 Bewertungen
Gesundheits-Score64/100Gut
Downloads aller Zeiten1.6KSeit Mai 2026
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 6.6PHP 7.4+
Downloads · 7d238▲ 3.9× week over week
Unser Urteil

Solide Wahl

WebberZone Code Block Highlight… is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 day ago, and scores 64/100 on our health check.

  • Aktiv entwickelt - letztes Update vor 1 Tag
  • Getestet mit dem neuesten WordPress (7.1)
  • Kleine Benutzerbasis (<10 aktive Installationen)
  • Bisher sehr wenige Bewertungen

Wie stapelt es sich?

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

Tägliche Downloads

173451Aug 31Oct 14Nov 28
Gestern39
Täglicher Durchschnitt (1 Jahr)8
Spitzentag6911.10.2026
Letzte 12 Monate1.6K

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

Ranglisten

Where WebberZone Code Block Highl… stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
code block >100 10,000 Best code block plugins →
code highlighting #76 835 Best code highlighting plugins →
Gutenberg >100 8,511 Beste Gutenberg-Plugins →
prism #12 79 Best prism plugins →
syntax highlighting #86 365 Best syntax highlighting plugins →

About WebberZone Code Block Highlighting

From the official readme · v1.4.2

Beschreibung

WebberZone Code Block Highlighting is the easiest way to add syntax highlighting to your WordPress site. It extends the native Gutenberg core/code block with Prism.js highlighting in the browser, or optional server-side highlighting with highlight.php — no shortcodes, no block replacement, no risk of breaking existing posts.

Simply activate the plugin and your code blocks will instantly display beautiful, readable syntax highlighting on the frontend. Choose from 40+ programming languages and 21 colour themes, all controlled from the block editor’s Inspector Controls sidebar.

Two highlighting modes

Pick the rendering mode that best fits your site from the settings page:

  • Client-side (default) — Prism.js highlights your code in the browser. Best for interactive features such as copy-to-clipboard and expand/collapse.
  • Server-side (highlight.php) — Code is pre-highlighted on the server with highlight.php, so no Prism.js or any other JavaScript is loaded for highlighting, except on pages with a code block too large for the server, which Prism.js highlights in the browser. Ideal for performance, Core Web Vitals, AMP-style setups, and strict content-security policies.

Both modes use the same 21 Prism themes and produce visually identical output, so you can switch between client-side and server-side rendering at any time without changing how your code blocks look.

Why use this plugin?

  • Safe by design — Works as a filter on top of core/code and saves blocks with core’s own markup. Existing posts are never invalidated. Deactivate the plugin and your blocks are still valid standard WordPress code blocks.
  • Zero configuration — Activate and start writing. No setup wizard, no shortcodes.
  • No highlighting JavaScript in server mode — Server-side mode pre-renders syntax colours on the server. No Prism.js or any other JavaScript is enqueued for highlighting, except on pages with a block too large for the server.
  • Smart asset loading — Theme CSS (and, in client mode, Prism JS) only load on pages that actually contain code blocks. Pages without code stay fast.
  • Per-block controls — Set language, theme, line numbers, word wrap, title, highlighted lines, and max height individually for each block.
  • Developer-friendly — Filters to add languages, override themes, and force asset loading.

Supported languages

42 languages including: Apache Config, Bash, C, C++, C#, CSS, Dart, Diff, Docker, F#, Go, GraphQL, Groovy, Haskell, HTML, Java, JavaScript, JSON, JSX, Kotlin, Kujo, Lua, Markdown, Nginx, Objective-C, Perl, PHP, PowerShell, Python, R, Ruby, Rust, Sass, Scala, SQL, Swift, TOML, TSX, TypeScript, Vim, XML, YAML. Use the wzcbh_languages filter to add or remove entries from the language picker.

Included themes (21)

A11y Dark, Coldark Cold (Light), Coldark Dark, Dracula, Duotone Dark, Duotone Light, GitHub (Light), Gruvbox Dark, Gruvbox Light, Lucario, Material Dark, Material Light, Night Owl, Nord, One Dark, One Light, Shades of Purple, Solarized Dark, Synthwave ’84, VS Code Dark+, Xonokai (Monokai).

Per-block features

  • Language selector — Choose the programming language from the sidebar; applies the correct Prism grammar automatically.
  • Line numbers — Toggle line numbers per block, with a configurable start line.
  • File title / label — Add an optional filename or label displayed in the code block toolbar.
  • Highlight lines — Specify lines or ranges (e.g. 1,3-5) to visually highlight using Prism’s line-highlight plugin.
  • Max height with expand/collapse — Set a maximum height in pixels; an expand/collapse toolbar button appears automatically.
  • Word wrap — Toggle soft word wrapping per block.

Global settings

  • Highlighting mode — client-side (Prism.js) or server-side (highlight.php)
  • Default colour scheme (theme)
  • Default language
  • Default line numbers toggle and start value
  • Default word wrap
  • Copy-to-clipboard button
  • Show language label in toolbar
  • Font size

Developer filters

  • wzcbh_languages — Filter the language list array (slug => label)
  • wzcbh_color_scheme_css_url — Override the Prism theme CSS URL
  • wzcbh_force_load_assets — Force Prism assets to load on every page

DSGVO

WebberZone Code Block Highlighting does not collect personal data, set cookies, or communicate with any external services.

Beitragen

The plugin is open source and available on GitHub. Pull requests for bug fixes and new features are welcome. Please use the WordPress.org support forum for support and GitHub Issues for confirmed bug reports.

Übersetzungen

Help translate WebberZone Code Block Highlighting into your language on WordPress.org. See the Translator Handbook for guidance.

Other plugins by WebberZone

  • Contextual Related Posts — Display fast, intelligent related posts to keep visitors on your site longer
  • Top 10 — Track daily and total visits and display popular and trending posts
  • WebberZone Snippetz — Manage custom HTML, CSS and JS snippets across your site
  • Knowledge Base — Create a knowledge base or FAQ section on your WordPress site
  • Better Search — Contextual search results sorted by relevance
  • Auto-Close — Automatically close comments, pingbacks, trackbacks and manage revisions
  • Popular Authors — Display popular authors in a WordPress widget
  • Followed Posts — Show related posts based on what your visitors have already read
  • WebberZone Link Warnings — Add accessible warnings for external links and target=”_blank” links

Installation

WordPress admin (recommended)

  1. Go to Plugins > Add New in your WordPress admin.
  2. Search for WebberZone Code Block Highlighting.
  3. Klicken Sie auf Jetzt installieren und dann Aktivieren.

Manuelle Installation

  1. Download the plugin zip file.
  2. Extract it to your wp-content/plugins/ directory. You should end up with a webberzone-code-block-highlighting/ folder.
  3. Go to Plugins in your WordPress admin and activate WebberZone Code Block Highlighting.

After activation, open any post or page in the block editor, add or select a Code block, and the Code Highlighting panel will appear in the Inspector Controls sidebar.

Änderungsprotokoll

Fixes color scheme styling for code blocks with no language in the block editor. Recommended if you edit posts with untagged code blocks.

1.4.2

Release date: 28 November 2026

Fixed

  • In the block editor, code blocks with no language selected did not use the active color scheme, because editor styling is scoped to language-* classes. The canvas preview now adds language-none, matching front-end output.

1.4.1

Release date: 26 November 2026

Fixed

  • Code blocks with no language set did not receive the active colour scheme, because theme CSS is scoped to language-* classes. They now get language-none, same as Plain text blocks.
  • The per-request limits on server-side highlighting and language detection now also apply to feeds, the REST API, AJAX, admin and WP-CLI, not just front-end pages.
  • The downloaded file name now uses the block language’s extension when the block’s file name ends in a different one. For example, x.jse on a plain-text block downloads as x.txt.

1.4.0

Release date: 22 November 2026
Release post: https://webberzone.com/announcements/code-block-highlighting-v1-4/

Zusätzlich

  • Dark mode color scheme. Pick a second theme for dark mode and it switches automatically, following the visitor’s device setting or your site’s dark mode switch. A block’s own color scheme still wins. Use the new wzcbh_dark_mode_selector filter to set the selector from code.
  • Diff highlighting. A new Show as diff toggle colors lines starting with + and – as added and removed while keeping the block’s language highlighting, in both client-side and server-side modes. Diff is also available as a language for whole patches, and diff snippets download as .diff.
  • Kujo language support in the language picker, with .kujo snippet downloads, in both client-side and server-side modes.
  • In server-side mode, code blocks too large to highlight on the server now fall back to Prism.js highlighting in the browser instead of plain text. Prism.js loads only on pages that need it. Turn this off with the new wzcbh_server_prism_fallback filter; blocks larger than wzcbh_prism_fallback_max_bytes (default 512KB) stay plain text.
  • Per-page limit on the code sent to the browser fallback, filterable with the new wzcbh_prism_fallback_page_budget (default 1MB; 0 turns it off). Blocks beyond it stay plain text.
  • Per-page limit on the amount of code highlighted on the server, so pages with many large code blocks no longer slow down. Blocks beyond the limit use the browser fallback. The limit and the fallback apply to front-end pages only; feeds, the REST API, AJAX, WP-CLI and admin screens keep the previous behavior. The limit is filterable with the new wzcbh_server_highlight_request_budget (default 256KB; 0 turns it off).
  • Per-page limit on server-side language detection, so pages with many untagged code blocks no longer slow down when uncached. Blocks beyond the limit show as plain text and are detected on a later visit. Front-end pages only; filterable with the new wzcbh_auto_detect_request_limit (default 25; 0 turns it off).

Changed

  • Uninstalling the plugin now also removes cached language detection results and Convert Code Blocks results on every site.
  • Settings passed to the frontend scripts are now encoded with stricter JSON escaping.
  • On front-end pages, setting wzcbh_server_highlight_max_bytes to 0 now sends every server-side block with a language to the browser fallback instead of showing it as plain text. Also return false from wzcbh_server_prism_fallback to keep plain text.

Fixed

  • A very large custom start line number caused a fatal error in server-side mode when line numbers were on. The start line is now limited to 1,000,000 and the max height to 100,000 pixels.
  • In server-side mode, HTML entities typed as code text, such as &lt;, showed as the character they stand for in blocks that were not highlighted.
  • The download button kept an executable extension such as .exe or .bat from the block’s file name. Such an extension is now replaced with the language’s extension, and other file names download as before. The list is filterable with the new wzcbh_download_blocked_extensions.
  • A malformed lang attribute on a code element could stop Prism.js highlighting every code block on the page.
  • Code containing the text language-text was changed in blocks set to Plain text.
  • Crafted code block markup saved by a user allowed to post unfiltered HTML could turn part of one attribute into a new one, such as an event handler, when the plugin added its own attributes. The code block’s tags are now parsed per the HTML standard, and event handler attributes are removed from them.
  • In server-side mode, a closing code tag inside an HTML comment or other raw text in the saved markup ended the code block early, and the rest of that markup was output unescaped.
  • Converting code blocks from the Convert Code Blocks screen or with WP-CLI could turn malformed attribute markup into a different attribute. Such markup is now left as it is.
  • Draft, private and password-protected synced patterns made the plugin’s styles and scripts load on pages that did not need them.
  • Backslashes were stripped from settings values when they were saved from the settings page or setup wizard.
  • A single-value setting that received an array, for example from a modified form submission, could trigger a PHP warning on save.

Earlier versions

For the changelog of earlier versions, please refer to the releases page on GitHub.

Vollständiges Änderungsprotokoll auf WordPress.org →

Screenshots

Block editor — language picker, line numbers toggle, title field, and more in the Inspector Controls sidebar.
Block editor — language picker, line numbers toggle, title field, and more in the…
Frontend code block with Prism.js syntax highlighting, line numbers, and toolbar.
Frontend code block with Prism.js syntax highlighting, line numbers, and toolbar.
Plugin settings page — choose a global colour scheme, default language, and more.
Plugin settings page — choose a global colour scheme, default language, and more.

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 WebberZone Code Block Highlig… alternatives

All code block plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 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
2 Code Block – share beautiful code snippets readers can copy Code Block – share beautiful code snippets readers can copy Create syntax-highlighted, copy-ready code snippets in Gutenberg with responsive layouts… von BPlugins 200+ ★★★★★★★★★★ Keine Bewertungen Vor 2 Wochen 69
3 Code Block Copy Button Code Block Copy Button Add a customizable copy button to code blocks for fast, one-click copying. by tcstix 100+ ★★★★★★★★★★ Keine Bewertungen Vor 5 Monaten 53
4 Easy Syntax Highlighter Easy Syntax Highlighter Modern, lightweight syntax highlighter for WordPress using Highlight.js by tiptinker 30+ ★★★★★★★★★★ Keine Bewertungen Vor 8 Monaten 28
5 DBlocks CodePro DBlocks CodePro Advanced Custom HTML Block and Code Syntax Highlightering for sharing code snippets and… by DPlugins 10+ ★★★★★★★★★★ 5 (1) Vor 1 Monat 64
6 Syntax Highlight Nano Syntax Highlight Nano Adds modern syntax highlighting to WordPress's standard code block using the robust… by Takashi Fujisaki 10+ ★★★★★★★★★★ Keine Bewertungen Vor 2 Monaten 62
7 Plum Code Box Plum Code Box Plum Code Box makes it easy to insert and manage code blocks using the Chili javascript… by jtgraphic 10+ ★★★★★★★★★★ Keine Bewertungen Vor 16 Jahren 23
8 Nahnu Code & API Block Nahnu Code & API Block A block suite for developer documentation: syntax-highlighted code snippets plus a full set… by Jaime Alnassim 10+ ★★★★★★★★★★ Keine Bewertungen Vor 2 Wochen 66
9 codefence.io codefence.io Codefence.io ist ein einfach zu bettender Editor und Compiler für über 20 serverseitige Programmierung… von BenPhelps 10+ ★★★★★★★★★★ Keine Bewertungen vor 7 Jahren 23
10 LumiCode Syntax Highlighter LumiCode Syntax Highlighter Beautiful syntax highlighting for WordPress: 40+ languages, copy buttons, line numbers… by cr8vstacks 10+ ★★★★★★★★★★ Keine Bewertungen Vor 2 Monaten 57

Fragen und Antworten

WebberZone Code Block Highlighting: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is WebberZone Code Block Highlight… free?

Yes. WebberZone Code Block Highlight… is free to download and use from the official WordPress.org plugin directory.

Is WebberZone Code Block Highlight… safe to use in 2026?

WebberZone Code Block Highlight… is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 day ago, and scores 64/100 on our health check.

How many websites use WebberZone Code Block Highlight…?

WebberZone Code Block Highlight… is active on <10 WordPress websites and has been downloaded 1,623 times since it launched in May 2026. It was downloaded 411 times in the last 30 days.

Does WebberZone Code Block Highlight… work with WordPress 7.1?

Yes. The developer has tested WebberZone Code Block Highlight… up to WordPress 7.2, the latest release. It requires WordPress 6.6 or newer.

What PHP version does WebberZone Code Block Highlight… need?

WebberZone Code Block Highlight… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was WebberZone Code Block Highlight… last updated?

The latest version, 1.4.2, was released on November 28, 2026 (1 day ago).

Who makes WebberZone Code Block Highlight…?

WebberZone Code Block Highlight… is developed and maintained by Ajay.

What are the best alternatives to WebberZone Code Block Highlight…?

The most popular alternatives to WebberZone Code Block Highlight… are Highlighting Code Block (10K+ installs), Code Block (200+ installs) and Code Block Copy Button (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

↑↓ bewegen↵ öffnen