Plugin info

Total downloads: 45,395
Active installs: 1,000
Total reviews: 18
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 10/12/2022 (1176 days ago)
Added to WordPress: 12/3/2010 (15 years old)
Minimum WordPress version: 3.0
Tested up to WordPress version: 6.0.11
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1176 days ago • 18 reviews

24/100

Is Code Prettify abandoned?

Possibly abandoned (last update 1176 days ago).

Compatibility

Requires WordPress: 3.0
Tested up to: 6.0.11
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Annytab Code Prettify
Rating 0.0/5 (0 reviews)Active installs 0
Code Click to Copy
Rating 4.7/5 (12 reviews)Active installs 800
TinyMCE Preformatted
Rating 5.0/5 (2 reviews)Active installs 70
Goodbye Syntax Highlighter
Rating 5.0/5 (1 reviews)Active installs 10
bbPress Code Snippets
Rating 5.0/5 (1 reviews)Active installs 10
WP Chili
Rating 0.0/5 (0 reviews)Active installs 10

Description

Uses a customized version of the Code Prettify library to support local styles and scripts. Plugin applies code highlighting automatically to all

 tags on the page.

Compatible with Gutenberg and doesn’t lock you in with specific markup requirements.

Development

Plugin development on GitHub.

Credits

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

Installation

Simply upload the plugin and active it. It works out of the box and doesn’t have any configuration options.

Frequently Asked Questions

None, yet.

Review feed

Khoi Pro
12/20/2018

It works as expected!

I tried to use this plugin in WP 5.0.2 and it works. I got an issue with Litespeed cache configuration and seems we should exclude this plugin javascript from an optimization process. Then you will be fine!
rich_
6/17/2019

Perfect. Automatic.

This plugin works great. Thank you!
Juergen Schulze
11/13/2019

Good replacement

Finally a plugin that works with the outdated "Crayon Syntax Highlighter" plugin So I don't have to mess around with every post.
Lucid Gen
7/26/2021

Please keep update to compatible with WordPress version

Your plugin makes me very secure and happy to use because it doesn't make me dependent, I can disable it without affecting the articles. Good job. I just hope you can keep the plugin up to date to be compatible with new versions of WordPress. Thank you!

Screenshots

  1. Syntax highlighting applied to a <code><pre></code> block and inline <code><code></code> segments.

    Syntax highlighting applied to a <pre> block and inline <code> segments.

Changelog

1.5.1 (November 8, 2021)

  • Fix the deprecation notice for how the data is passed to the script.
  • Mark as tested with WordPress 5.8.

1.5.0 (April 19, 2020)

  • Preload the prettify.css file for performance improvements.
  • Add WordPress coding standards checks.
  • Add support for Composer install.

1.4.2 (January 14, 2019)

  • Switch to legacy PHP array syntax for better compatibility.

1.4.1 (December 21, 2018)

  • Add a trailing semicolon to all JS files to support concatenation.

1.4.0 (December 20, 2018)

  • Update the Prettify library.
  • Don’t highlight standalone <code> blocks without the <pre> wrapper.
  • Mark as tested with WordPress 5.0.

1.3.4

  • Update the Prettify library.
  • Ensure that Prettify styles are applied to the contents of <pre> and <code> elements.

1.3.3

  • Update the Prettify library.
  • Highlight <code> blocks too.

1.0

  • Initial release.