Code syntax highlighter using Google Prettify, supporting the HTML5 recommendation, and caching plugins.
As of April 2026, Prettify Code Syntax is a WordPress code plugin with 80 active installations and a 4.2/5 rating from 12 reviews. It has been downloaded 15K+ times in total. Requires WordPress 3.0.1+ and PHP false+. Available on WordPress.org since 2013. Last updated 13 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….
The main reason for the development of this plugin was the lack of options supporting the HTML5 recommendation, where the code snippets should be tagged with pre followed by code, and optionally a class starting with language- and then our language.
You can use the plugin like this:
<pre class="prettyprint"><code class="language-php">
// my code
</code></pre>
Also very important is that although this plugin loads different files depending on your configuration, it fully supports caching scripts (W3 Total Cache) to concatenate and compress all the css and js, so the impact in performance will be minimum.
This syntax highlighter is based on Google Code Prettify and should work on a number of languages including C and friends, Java, Python, Bash, SQL, HTML,…
| WordPress | 3.0.1+ requiredTested up to 3.5.2 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.