A plugin to add code blocks with syntax highlighting to your WordPress site, and adapt to the theme's light and dark mode switching.
As of April 2026, Xhtheme Code Block is a WordPress code plugin with 10 active installations and a 0/5 rating0. It has been downloaded 698 times in total. Requires WordPress 5.0+ and PHP 7.2+. Available on WordPress.org since 2025. Top alternative: WPCode – Insert Headers and Footers +….
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.
Alpine.js:
Prism.js:
| WordPress | 5.0+ requiredTested up to 6.8.5 |
| PHP | 7.2+ required |
Compatible with WordPress 6.8
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.