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

Light Code Block

The “Light Code Block” plugin is a simple and lightweight solution for inserting and displaying code snippets in posts and pages. It works by adding a custom “LC” button to the TinyMCE (Classic) editor or a code block…

Active installs<10New
Downloads · 30d54▲ +8% vs prev. 30d
Rating—0 reviews
Health score36/100At risk
All-time downloads688Since Jun 2025
Support resolved—No recent threads
RequiresWP 6.0PHP any
Downloads · 7d10▼ -47.4% week over week
Our verdict

Consider an alternative

Light Code Block shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 11 months ago, and scores 36/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far
  • Only tested up to WordPress 6.9 (latest is 7.1)

How does it stack up?

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

Daily downloads

123Aug 31Oct 14Nov 28
Yesterday0
Daily average (1y)1
Peak day20Dec 27, 2025
Last 12 months463

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

Rankings

Where Light Code Block stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code >100 10,000 Best code plugins →
editor >100 10,000 Best editor plugins →
source >100 10,000 Best source plugins →
sourcecode #7 46 Best sourcecode plugins →
syntax highlighting >100 365 Best syntax highlighting plugins →

About Light Code Block

From the official readme · v1.0.2

Description

The “Light Code Block” plugin is a simple and lightweight solution for inserting and displaying code snippets in posts and pages.
It works by adding a custom “LC” button to the TinyMCE (Classic) editor or a code block in the Gutenberg editor.

The inserted code will be shown on the front end in a clean, readable format.

Usage

  • Install and activate the plugin.
  • Go to the post or page edit screen.
  • In the TinyMCE (Classic) editor, click the “LC” button in the toolbar.
  • In the popup window that opens, paste or write your code, and click OK.
  • Save or update your post.

The code will be saved inside a special block and displayed on the front end within a <pre> tag with the class mce-simple-code-block (i.e., <pre class="mce-simple-code-block">...</pre>).

To insert code using the Gutenberg editor, you first need to add a Classic (TinyMCE) block, and then use it to insert your code.

Installation

  1. Install the “Light Code Block” plugin through the standard WordPress plugin installer.
  2. Or unzip and upload the “light-code-block” folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

Changelog

1.0.2

  • Tested up to WordPress 6.9

1.0.1

  • For backward compatibility, the class “mce-simple-block-code” has been added.

1.0.0

  • Init release.

Full changelog on WordPress.org →

Screenshots

The "LC" button in the Classic editor toolbar.
The "LC" button in the Classic editor toolbar.
Popup window for inserting/editing code (Classic version).
Popup window for inserting/editing code (Classic version).
Popup window for inserting/editing code (Gutenberg version).
Popup window for inserting/editing code (Gutenberg version).
Example of a rendered code block on the front end.
Example of a rendered code block on the front end.

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 Light Code Block 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) 2 weeks ago 94
2 Code Snippets Code Snippets Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code… by Code Snippets Pro 1M+ ★★★★★★★★★★ 4.7 (510) 4 days ago 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) 3 months 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 months ago 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) 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) 5 days ago 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) 6 days ago 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… by bPlugins 10K+ ★★★★★★★★★★ 2.5 (4) 2 weeks ago 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) 5 months ago 62

FAQ

Light Code Block: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Light Code Block free?

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

Is Light Code Block safe to use in 2026?

Light Code Block shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 11 months ago, and scores 36/100 on our health check.

How many websites use Light Code Block?

Light Code Block is active on <10 WordPress websites and has been downloaded 688 times since it launched in June 2025. It was downloaded 54 times in the last 30 days.

Does Light Code Block work with WordPress 7.1?

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

When was Light Code Block last updated?

The latest version, 1.0.2, was released on December 27, 2025 (11 months ago).

Who makes Light Code Block?

Light Code Block is developed and maintained by Pavel.

What are the best alternatives to Light Code Block?

The most popular alternatives to Light Code Block are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ 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