PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Prism
  4. Prism Syntax Highlighter (detached)
Prism Syntax Highlighter (detached) icon

Prism Syntax Highlighter (detached)

Adds Prism Syntax Highlighting to WordPress, using custom fields for your code examples.

By apfelbox·Prism·Free
4.3(4 reviews)
·10 active installs·Updated 12 years ago
DownloadVisit HomepageCompare

As of April 2026, Prism Syntax Highlighter (detached) is a WordPress prism plugin with 10 active installations and a 4.3/5 rating from 4 reviews. It has been downloaded 3.0K+ times in total. Requires WordPress 3.4.0+ and PHP false+. Available on WordPress.org since 2012. Last updated 12 years ago — may have compatibility concerns. Top alternative: APH Prism Syntax Highlighter.

4.3/54 reviews
10active installs
3.0K+total downloads
14 yearssince 2012

Overview

Integrates the Prism Syntax Highlighting Library in WordPress.

It is called detached, since the code examples are not stuffed into the rich text editor, together with all the
other texts and content, but they are added separately as custom fields and just referenced via short tags (like footnotes).

Check Other Notes for usage documentation.

The official development repository is hosted on Github.

Usage

The basic procedure is:

  1. Create a custom field and paste the code into it.
  2. Insert the [prism ...] shorttag in your code, where you want the code block to appear.

Shorttag

[prism key=".." language=".." line=".." line_offset=".." post=".."]
  • key: the name of the custom field, which contains the code (required)
  • language: the language to highlight
  • line: highlighted lines (for syntax, check th…
Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.34 reviews
5 ★
3
4 ★
0
3 ★
0
2 ★
1
1 ★
0

Compatibility

WordPress3.4.0+ requiredTested up to 3.5.2
PHPfalse+ required

Top Alternatives to Prism Syntax Highlighter (detached)

APH Prism Syntax Highlighter icon
APH Prism Syntax Highlighter
3.9100 installsUpdated 3 years ago
ViewCompare
AH Code Highlighter icon
AH Code Highlighter
570 installsUpdated 7 years ago
ViewCompare
Prism Syntax Highlighter for WordPress icon
Prism Syntax Highlighter for WordPress
3.360 installsUpdated 9 years ago
ViewCompare
WP Prism Syntax Highlighter icon
WP Prism Syntax Highlighter
530 installsUpdated 11 years ago
ViewCompare
Easy Prism Syntax Highlighter icon
Easy Prism Syntax Highlighter
320 installsUpdated 11 years ago
ViewCompare
View all prism plugins →

Frequently Asked Questions

Changelog

1.5

  • Updated PrismJS to commit: 07c0f4f6b2
  • Added plugin descriptions
  • Added new plugins: File Highlight, WebPlatform Docs
  • Added language-code descriptions
  • Added new languages: Bash (Unix Shell), C, C-like, Coffeescript, C++, Groovy, PHP, Python, Sassy CSS, and SQL

…and 1 more changes

View full changelog on WordPress.org

Contributors

apfelboxapfelbox
Plugin Info
Version
1.5
Last Updated
Jul 30, 2013
WP Requires
3.4.0+
Tested Up To
3.5.2
PHP Requires
false+
Active Installs
10
Downloads
3.0K+
Added
Sep 4, 2012
Business
Free

Tags

prismsyntax highlighting

Developer

A
apfelbox
1 plugins0.0M+ total installs
View all plugins →

Quick Compare

Prism Syntax Highlighter (detached) vs APH Prism Syntax Highlighter→Prism Syntax Highlighter (detached) vs AH Code Highlighter→Prism Syntax Highlighter (detached) vs Prism Syntax Highlighter for WordPress→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.