Code highlighting powered by the VS Code engine. Performance focused. No bloat.
As of April 2026, Code Block Pro is a WordPress php plugin with 10K+ active installations and a 4.8/5 rating from 49 reviews. It has been downloaded 157K+ times in total. Requires WordPress 6.0+ and PHP 7.0+. Available on WordPress.org since 2022. Downloads are up 16% this week. Support resolution rate: 0%. Top alternative: WPCode – Insert Headers and Footers +….
Show off your beautiful code, don’t just display it! This block plugin provides you with a code editor that runs your code directly through the same rendering engine that is used by the popular VS Code editor. This block provides fast, native, code highlighting that renders perfectly in your favorite programming language using popular VS Code themes.
Beautiful syntax highlighting that makes sense.
To use, navigate to the default WordPress editor, and search for “Code Pro” or start typing “/code”.
Visit code-block-pro.com for a lifetime deal on the theme pack (this is a cosmetic-only upgrade).
Code Block Pro is one of the best syntax highlighting plugins for WordPress. Clean, fast and very easy to use. Code snippets look great right away with almost no setup. Highly recommended for anyone publishing code on their site. Thank you very much!
Leaving a 5 star for the simplicity. Plenty of languages, themes and styles.
In 15 years of using and developing wordpress websites, I’ve never left a review for a plugin. But I’m compelled to do so for this one. There’s no bloat. No notices in the admin panel, no upselling, no ads, no nagging to upgrade to pro, nothing at all. Goes to show the author values and respects their users and not just see them as walking talking wallet. This is how all plugins should be.
But that doesn’t mean the plugin is devoid of features. It has everything you would want from a syntax highlighter plugin and more. The code looks beautiful and it’s fast. Did I mention, there’s no bloat. What a breath of fresh air.
I had a problem with Shortcodes inside the code (so inside the block)
I put the shortcode model in a comment of the code.
And even if the plugin has an option that does not listen to shortcodes. Those with “options” added were still listened to.
The programmer solved it on the fly in 2 hours, it’s super fast.
A_So I can only say that it is a great plugin.
B_Excellent free assistance.
C_And I can assure you that I looked for a code block or code syntax plugin, and this is the only decent one. Others were also decent, but they have not been updated for years and unfortunately the last one died with wp 6.8
So yes, for now in 2025 I consider it the best, if not almost the only one.
___________________________________________
The correct problem
_________________________________________
Serious, some codes are read by the system and become critical errors.
I chose it because it seemed good to me.
I had an old plugin that they haven’t updated for 5 years and it ends up that with the new wp 6.8 it no longer shows the graphic template.
I searched a bit and chose this one.
But problem!
it reads some codes anyway:
————————-
I use a function loaded on the site with WPCode, and I created a guide on the code in question. When I open the article it gives me an error because WP sees the same function name, instead it shouldn’t even read it.
So to test it I put CSS Editor, so that it doesn’t read the php anyway. But the problem remains.
I have to rephrase this sentence:
It is not the name of the function itself, but the shortcode comment code that is read.
Fairly less serious, but problematic.
// Add Shortcode - scrivi questo campo [aggiungi_subcategorie] [aggiungi_subcategorie category_data="product_brand"]
// NOTA: in avada, usare il campo TESTO e non la sotto variante del campo testo SHORTCODE, altrimenti non vede
add_shortcode( 'aggiungi_subcategorie', 'wpcode_subcategorie_inpag_archivi_shortcode', 7 );
function wpcode_subcategorie_inpag_archivi_shortcode($atts = array(), $content = null) {
[ aggiungi_subcategorie ] exists on the site and in fact it gives me an error.
Not only that, I use Avada as a theme and I wanted to show a created Template, so I put the Avada code in the plugin block. the theme tries to read it and gives a critical error. If I put the same code in the guthenbergh CODE base, there are no problems.
I find it very serious that this plugin allows the site to read codes.
I first tried another similar plugin from a dev I really trust. But it was garbage. Decided to try Code Block Pro and the free version rocks. It’s SO MUCH BETTER. So easy to use. Settings right there in the post editor where they belong…Love it so much just purchased the extra themes back. It was only $12. Crazy good deal.
| WordPress | 6.0+ requiredTested up to 6.8.5 |
| PHP | 7.0+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.