BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Simple Code Block Highlighter icon
Maintained Tested up to 7.0.6

Simple Code Block Highlighter

Simple Code Block Highlighter enhances the default WordPress code and preformatted blocks. It can show line numbers, add a copy-to-clipboard button, switch between light and dark display themes, and automatically color…

Active installs<10New
Downloads · 30d46▲ +7% vs prev. 30d
Rating—0 reviews
Health score49/100Fair
All-time downloads344Since May 2026
Support resolved—No recent threads
RequiresWP 5.0PHP 7.4+
Downloads · 7d15▲ +114.3% week over week
Our verdict

Use with caution

Simple Code Block Highlighter works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far

How does it stack up?

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

Daily downloads

123Jul 8Aug 21Oct 5
Yesterday1
Daily average (1y)1
Peak day48May 21, 2026
Last 12 months297

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

Rankings

Where Simple Code Block Highlight… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code >100 10,000 Best code plugins →
code block >100 10,000 Best code block plugins →
copy button >100 7,366 Best copy button plugins →
highlighter #46 225 Best highlighter plugins →
syntax >100 2,161 Best syntax plugins →

About Simple Code Block Highlighter

From the official readme · v1.2.2

Description

Simple Code Block Highlighter enhances the default WordPress code and preformatted blocks. It can show line numbers, add a copy-to-clipboard button, switch between light and dark display themes, and automatically color code blocks with bundled Highlight.js syntax highlighting.

The plugin uses the WordPress Settings API, validates and sanitizes saved options, escapes admin output, and avoids inline JavaScript-generated HTML for line numbers. Syntax highlighting is served from the plugin files and does not load a third-party CDN on visitor pages.

For setup help, read the Simple Code Block Highlighter guide.

Third-party Libraries

This plugin bundles Highlight.js 11.11.1 for syntax highlighting.

Highlight.js
Source: Highlight.js on GitHub
License: BSD 3-Clause
License file included at: assets/vendor/highlightjs/LICENSE

Installation

  1. Upload the plugin folder to /wp-content/plugins/simple-code-block-highlighter.
  2. Activate the plugin from the WordPress Plugins screen.
  3. Go to Settings > Simple Code Block Highlighter to choose display options. Color Code Blocks is checked by default.
  4. Add a WordPress Code block, paste any code you like, and the plugin will work out of the box.

Frequently asked questions

How do I use the plugin?

Add a WordPress Code block () in the editor, paste any code you like, and publish or preview the post. The plugin automatically detects the language and highlights the block out of the box.

Where can I find setup instructions?

Read the Simple Code Block Highlighter guide for full setup and usage instructions.

Does this plugin store visitor data?

No. The plugin only stores administrator-selected display settings in the WordPress options table.

Does this plugin change the original post content?

No. Code blocks are enhanced in the browser after the page loads. The saved post content is not modified.

Does the plugin detect code automatically?

Yes. The plugin auto-detects the code type every time, so no extra setup is needed.

Changelog

1.2.2

  • Tested with the latest version of WordPress 7.0.

1.2.1

  • Switched syntax highlighting to automatic language detection only.
  • Updated settings instructions and kept Color Code Blocks enabled by default.
  • Updated usage FAQ.

1.2.0

  • Added bundled Highlight.js syntax highlighting for common languages.
  • Added automatic language detection for every highlighted code block.
  • Added a setting to enable or disable color code blocks.

1.1.0

  • Hardened settings validation, sanitization, escaping, and capability checks.
  • Removed unsafe JavaScript innerHTML line-number rendering.
  • Added cache-busted asset versions and cleaner copy-button behavior.
  • Added GitHub-ready security, CI, ignore, and documentation files.

1.0

  • Initial release.

Full changelog on WordPress.org →

Screenshots

Frontend code block with syntax highlighting, line numbers, and copy button.
Frontend code block with syntax highlighting, line numbers, and copy button.
Plugin settings page with display options.
Plugin settings page with display options.

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 Simple Code Block Highlighter alternatives

All code plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager WPCode Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code… by Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) 1 month ago 93
2 Code Snippets Code Snippets An easy, clean, and simple way to enhance your site with code snippets. by Code Snippets Pro 1M+ ★★★★★★★★★★ 4.7 (509) 1 month ago 90
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) 1 month ago 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) 2 years ago 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… by vaakash 100K+ ★★★★★★★★★★ 4.9 (227) 3 weeks ago 81
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) 3 years ago 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) 2 years ago 51
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) 2 months ago 83
9 WP Coder – Insert & Manage Code Snippets WP Coder – Insert & Manage Code Snippets Snippets made simple — easily insert and manage custom PHP, CSS, JS & HTML without coding… by Wow-Company 10K+ ★★★★★★★★★★ 4.9 (32) 4 days ago 85
10 Advance Custom HTML – Show Off Code Snippets with Live Preview Advance Custom HTML Display HTML, CSS, JavaScript, PHP & Python code snippets in WordPress with live preview… by bPlugins 10K+ ★★★★★★★★★★ 2.5 (4) 5 days ago 73

FAQ

Simple Code Block Highlighter: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 6, 2026

Is Simple Code Block Highlighter free?

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

Is Simple Code Block Highlighter safe to use in 2026?

Simple Code Block Highlighter works, but test it on a staging site before relying on it in 2026. Was last updated 5 months ago, and scores 49/100 on our health check.

How many websites use Simple Code Block Highlighter?

Simple Code Block Highlighter is active on <10 WordPress websites and has been downloaded 344 times since it launched in May 2026. It was downloaded 46 times in the last 30 days.

Does Simple Code Block Highlighter work with WordPress 7.1?

Simple Code Block Highlighter is officially tested up to WordPress 7.0.6, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does Simple Code Block Highlighter need?

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

When was Simple Code Block Highlighter last updated?

The latest version, 1.2.2, was released on May 21, 2026 (5 months ago).

Who makes Simple Code Block Highlighter?

Simple Code Block Highlighter is developed and maintained by zohebtg.

What are the best alternatives to Simple Code Block Highlighter?

The most popular alternatives to Simple Code Block Highlighter are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.