🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Xhtheme Code Block icon
Slowing down Tested up to 6.8.13

Xhtheme Code Block

A plugin to add code blocks with syntax highlighting to your WordPress site, and adapt to the theme's light and dark mode switching.

Active installs10+10+ tier
Downloads · 30d60▲ +53.8% vs prev. 30d
Rating—0 reviews
Health score32/100At risk
All-time downloads1KSince Feb 2025
Support resolved—No recent threads
RequiresWP 5.0PHP 7.2+
Downloads · 7d14▼ -26.3% week over week
Our verdict

Consider an alternative

Xhtheme Code Block shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 1 year ago, and scores 32/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in over a year
  • Only tested up to WordPress 6.8 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

369Aug 31Oct 14Nov 28
Yesterday0
Daily average (1y)1
Peak day12Sep 11, 2026
Last 12 months457

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Xhtheme Code Block stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
block >100 10,000 Best block plugins →
code >100 10,000 Best code plugins →
dark mode >100 2,169 Best dark mode plugins →
gutenberg >100 8,517 Best gutenberg plugins →
syntax highlighting >100 365 Best syntax highlighting plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

About Xhtheme Code Block

From the official readme · v1.0.2

Description

Xhtheme Code Block is a plugin for adding code blocks to your WordPress site, supporting syntax highlighting and adapting to the theme’s light and dark mode switching.

  • Supports syntax highlighting for multiple programming languages.
  • Allows selection of light, dark, or auto mode.
  • Supports custom filename display.

External Libraries

  • Alpine.js:

    • Version: 3.x.x
    • Source: Alpine.js Official Website
    • Description: Alpine.js is a lightweight JavaScript framework for adding interactivity to HTML. It is used in the Xhtheme Code Block plugin to manage the reactive state of the settings page, allowing for dynamic updates and user interactions without the need for page reloads.
  • Prism.js:

    • Version: 1.x.x
    • Source: Prism.js Official Website
    • Description: Prism.js is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It is used in the Xhtheme Code Block plugin to provide syntax highlighting for a wide range of programming languages.

Source Code

The source code for build/index.js can be found in the block-code/src directory.

Installation

  1. Upload the xhtheme-code-block folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Configure the plugin options under ‘Settings’ -> ‘Xhtheme Code Block’.

Changelog

Initial release, no special upgrade notes.

1.0.2

Compatible with WordPress 6.8

1.0.1

Fixed potential data sanitization issues.

1.0

  • Initial release.

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Xhtheme Code Block alternatives

All block plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Spectra Legacy – Gutenberg Blocks Spectra Legacy – Gutenberg Blocks Gutenberg blocks for existing Spectra websites. Maintained, stable, and fully supported —… by Brainstorm Force 1M+ ★★★★★★★★★★ 4.7 (1.9K) 2 weeks ago 87
2 Breadcrumb NavXT Breadcrumb NavXT Adds breadcrumb navigation showing the visitor's path to their current location. by John Havlik 700K+ ★★★★★★★★★★ 4.6 (132) 3 months ago 71
3 PDF Embedder – PDF Viewer & Embed PDF Files for WordPress PDF Embedder – PDF Viewer & Embed PDF Files for WordPress Embed PDF files in WordPress posts and pages with a responsive PDF viewer block, live Block… by Syed Balkhi 300K+ ★★★★★★★★★★ 4.7 (533) 4 months ago 86
4 Layout Grid Block Layout Grid Block A Gutenberg container block to let you align items consistently across a global grid. by Automattic 200K+ ★★★★★★★★★★ 4.7 (13) 3 years ago 43
5 Crowdsignal Forms Crowdsignal Forms The Crowdsignal Forms plugin allows you to create and manage polls right from within the… by Automattic 200K+ ★★★★★★★★★★ 5 (3) 2 months ago 73
6 Content Views – Post Grid & Filter (Shortcode, Blocks, Elementor Widgets) Content Views Easy to show posts, pages, custom posts in customizable grid, list, slider, accordion… by Content Views 100K+ ★★★★★★★★★★ 4.8 (333) 2 weeks ago 80
7 Email Address Encoder Email Address Encoder A lightweight plugin that protects email addresses from email-harvesting robots, by… by Till Krüss 100K+ ★★★★★★★★★★ 4.2 (160) 3 days ago 85
8 Simple Sitemap – Responsive HTML Sitemap for WordPress Simple Sitemap – Responsive HTML Sitemap for WordPress Build a responsive HTML sitemap in the block editor with live preview, flexible sorting… by David Gwyer 60K+ ★★★★★★★★★★ 3.9 (72) 2 months ago 86
9 Flexible Table Block Flexible Table Block Flexible Table Block is a custom block plugin for the WordPress block editor that allows… by Aki Hamano 40K+ ★★★★★★★★★★ 4.9 (34) 3 weeks ago 95
10 The Icon Block The Icon Block Easily add SVG icons and graphics to the WordPress block editor. by Nick Diego 40K+ ★★★★★★★★★★ 5 (29) 3 months ago 91

FAQ

Xhtheme Code Block: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Xhtheme Code Block free?

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

Is Xhtheme Code Block safe to use in 2026?

Xhtheme Code Block shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 1 year ago, and scores 32/100 on our health check.

How many websites use Xhtheme Code Block?

Xhtheme Code Block is active on 10+ WordPress websites and has been downloaded 1,018 times since it launched in February 2025. It was downloaded 60 times in the last 30 days.

Does Xhtheme Code Block work with WordPress 7.1?

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

What PHP version does Xhtheme Code Block need?

Xhtheme Code Block requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Xhtheme Code Block last updated?

The latest version, 1.0.2, was released on September 3, 2025 (1 year ago).

Who makes Xhtheme Code Block?

Xhtheme Code Block is developed and maintained by xhtheme.

What are the best alternatives to Xhtheme Code Block?

The most popular alternatives to Xhtheme Code Block are Spectra Legacy (1M+ installs), Breadcrumb NavXT (700K+ installs) and PDF Embedder (300K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open