The "Light Code Block" plugin is the simplest and lightest plugin for inserting and displaying code.
As of April 2026, Light Code Block is a WordPress code plugin with 0 active installations and a 0/5 rating0. It has been downloaded 390 times in total. Requires WordPress 6.0+ and PHP false+. Available on WordPress.org since 2025. Top alternative: WPCode – Insert Headers and Footers +….
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.
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">...</p…
| WordPress | 6.0+ requiredTested up to 6.9.4 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.