100% automatic code highlighting using the Prettify library. No shortcodes, no classnames, fully automatic and pure awesome.
As of April 2026, Code Prettify is a WordPress pre plugin with 1.0K+ active installations and a 5/5 rating from 18 reviews. It has been downloaded 45K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2010. Last updated 3 years ago — may have compatibility concerns. Downloads are up 6% this week. Top alternative: Code Click to Copy.
Uses a customized version of the Code Prettify library to support local styles and scripts. Plugin applies code highlighting automatically to all <pre> tags on the page.
Compatible with Gutenberg and doesn’t lock you in with specific markup requirements.
Plugin development on GitHub.
Created and maintained by Kaspars Dambis. All of my open source work is available on GitHub.
Use Contact Form 7? Storage for Contact Form 7 is my commercial plugin (GPL license) for storing all form submissions in your WordPress database.
Cover photo by Yuri Samoilov
Funcionou perfeito, era o que eu precisa, muito facil e prático.
Para ficar mais completo, criei uma função que cria um botão copiar.
OBrigado
I hope the developer continues to update it to avoid compatibility issues with future versions of WordPress.
Used with a block-based theme and it worked perfectly. Love that there is no configuration required and it auto-detects <code> and <pre> tags. Great plugin, thank you!
This plugin is exactly what I was looking for, just one friendly suggestion please add a toggle to switch themes to dark. or add a setting where we can do that. thank a lot for this neat and clean plugin
Very simple yet powerful!
| WordPress | 3.0+ requiredTested up to 6.0.11 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.