🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Sunburst Code Prettify icon
Possibly abandoned Tested up to 3.4.2 #79 in code

Sunburst Code Prettify

Uses Highlight.js with the Sunburst syntax theme to elegantly highlight code.

Active installs30+10+ tier
Downloads · 30d115▲ +91.7% vs prev. 30d
Rating5/51 reviews
Health score31/100At risk
All-time downloads5.7KSince Feb 2012
Support resolved—No recent threads
RequiresWP 3.1PHP any
Downloads · 7d28▼ -17.6% week over week
Our verdict

Consider an alternative

Sunburst Code Prettify shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 15 years ago, and scores 31/100 on our health check.

  • Small user base (30+ active installs)
  • Very few reviews so far
  • No update in 14 years
  • Only tested up to WordPress 3.4 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

369Aug 31Oct 14Nov 28
Yesterday2
Daily average (1y)1
Peak day13Sep 14, 2026
Last 12 months535

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Sunburst Code Prettify stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code >100 10,000 Best code plugins →
Highlight >100 3,416 Best Highlight plugins →
programming >100 591 Best programming plugins →
sunburst #23 23 Best sunburst plugins →
syntax >100 2,334 Best syntax plugins →

Version adoption

Share of active sites per release.

  • 2.2100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Sunburst Code Prettify

From the official readme · v2.2.0

Description

This plugin uses the Sunburst theme, a colorful and high contrast dark theme to highlight your code syntax with Highlight.js. Highlight.js is accurate, fast, lightweight and easy to use.

Usage

Short-code method:

  1. From within a WordPress page or post, wrap the [prettify][/prettify] shortcode around the code snippet you wish to highlight.
  2. You can specify a language by specifying the language extension inside the shortcode.
    Example:
    [prettify class=”html”][/prettify]
  3. The shortcode will work from within either the Visual or HTML editor.

Non-short-code method:

  1. Wrap your code snippets in “

    .

  2. You can specify a language by specifying a class in the element.
    Example:
    <pre><code class="html">

Sunburst Only

This plugin only contains the CSS file for the Sunburst theme syntax highlighting formatting, because it is the best dark syntax theme. If (for some reason) you wanted to highlight your code using a different theme, there are other syntax highlighting themes available in the Highlight.js Theme Gallery

Languages Supported:

  • Bash
  • C#
  • C++
  • CSS
  • Diff
  • HTML, XML
  • Ini
  • Java
  • JavaScript
  • PHP
  • Perl
  • Python
  • Ruby
  • SQL

Installation

  1. Wrap code snippets in [prettify][/prettify] shortcode and it will guess the syntax being used and highlight the code.

  2. You can specify a language by specifying the language extension inside the shortcode.
    Example:
    [prettify class=”html”][/prettify]
    The class=”” specifies the language file extensions.

Changelog

2.2.0

  • Changed syntax highlight script to Highlight.js for more accurate code detection.
  • Improved content stripping rules for WordPress code editor when the [prettify]...[/prettify] is wrapped around content.
  • Improved Sunburst CSS styles

2.1.6

  • Added plain text color to CSS file
  • Adjusted spacing in CSS file
  • Updated copyright year in plugin.php file

2.1.5

  • Added CSS parsing js file
  • Moved JS files into /js folder
  • Fixed missing files from 2.1 commit

2.1

  • Added [prettify] shortcode
  • Automatically added the required onload=”prettyPrint()” to body tag with jquery

2.0

  • Initial WordPress.org commit

Full changelog on WordPress.org →

Screenshots

PHP code examples
PHP code examples
CSS code example
CSS code example
HTML code example
HTML code example
JavaScript code example
JavaScript code example
Ruby code example
Ruby code example

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Sunburst Code Prettify alternatives

All code plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager WPCode Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code… by Syed Balkhi 3M+ ★★★★★★★★★★ 4.9 (1.9K) 2 weeks ago 94
2 Code Snippets Code Snippets Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code… by Code Snippets Pro 1M+ ★★★★★★★★★★ 4.7 (510) 4 days ago 93
3 Head & Footer Code Head & Footer Code Easy add site-wide, category and article specific custom code before the closing and , or… by Aleksandar Urošević 100K+ ★★★★★★★★★★ 5 (51) 3 months ago 77
4 Simple Custom CSS Plugin Simple Custom CSS Plugin Add Custom CSS to your WordPress site without any hassles. by John Regan 100K+ ★★★★★★★★★★ 4.7 (159) 2 years ago 51
5 Shortcoder — Create Shortcodes for Anything Shortcoder — Create Shortcodes for Anything Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the… by vaakash 100K+ ★★★★★★★★★★ 4.9 (227) 3 months ago 77
6 Scripts n Styles Scripts n Styles This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript… by WraithKenny 30K+ ★★★★★★★★★★ 4.4 (30) 3 years ago 45
7 SyntaxHighlighter Evolved SyntaxHighlighter Evolved Easily post syntax-highlighted code to your site without having to modify the code at all… by Alex Mills 20K+ ★★★★★★★★★★ 4.3 (86) 5 days ago 73
8 Code Embed Code Embed Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML)… by David Artiss 10K+ ★★★★★★★★★★ 4.4 (45) 6 days ago 87
9 Advance Custom HTML – Show Live Code, Share Snippets, Embed Code, and Style Them Your Way. Advance Custom HTML Advance Custom HTML lets you write and display HTML, CSS, PHP, and other code snippets on… by bPlugins 10K+ ★★★★★★★★★★ 2.5 (4) 2 weeks ago 68
10 Highlighting Code Block Highlighting Code Block Add code block with syntax highlighting using prism.js. (Available for Gutenberg and… by LOOS 10K+ ★★★★★★★★★★ 4.5 (20) 5 months ago 62

FAQ

Sunburst Code Prettify: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Sunburst Code Prettify free?

Yes. Sunburst Code Prettify is free to download and use from the official WordPress.org plugin directory.

Is Sunburst Code Prettify safe to use in 2026?

Sunburst Code Prettify shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 15 years ago, and scores 31/100 on our health check.

How many websites use Sunburst Code Prettify?

Sunburst Code Prettify is active on 30+ WordPress websites and has been downloaded 5,700 times since it launched in February 2012. It was downloaded 115 times in the last 30 days.

Does Sunburst Code Prettify work with WordPress 7.1?

Sunburst Code Prettify is officially tested up to WordPress 3.4.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Sunburst Code Prettify last updated?

The latest version, 2.2.0, was released on May 2, 2012 (15 years ago).

Who makes Sunburst Code Prettify?

Sunburst Code Prettify is developed and maintained by Rachel Baker.

What are the best alternatives to Sunburst Code Prettify?

The most popular alternatives to Sunburst Code Prettify are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open