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. Code
  4. Pastacode
Pastacode icon

Pastacode

Use Pastacode to add code into your posts with the awesome PrismJs coloration library. So, past'a code!

By Willy Bahuaud·Code·Free
4.9(14 reviews)
·500 active installs·Updated 3 weeks ago
DownloadCompare

As of April 2026, Pastacode is a WordPress code plugin with 500 active installations and a 4.9/5 rating from 14 reviews. It has been downloaded 25K+ times in total. Requires WordPress 4.0+ and PHP 7.0+. Available on WordPress.org since 2013. Actively maintained — updated within the last month. Top alternative: WPCode – Insert Headers and Footers +….

4.9/514 reviews
500active installs
25K+total downloads
13 yearssince 2013

Overview

With Pastacode, you can easily add code into your posts with the awesome PrismJs coloration library.
You can insert source code into the post editor, wrinting it directly in the editor (using a gutenberg bloc or classic editor), from a file, or from webservices like GitHub, Gitlab, Gist, Pastebin, BitBucket or BitBucket snippets. Webservices responses are cached in order to avoid too many HTTP requests.
It also work in comments and bbPress topics and replies.

Don’t worry about posts updates while upgrading codes!

Pastacode allows to enhance your snippets using PrismJs plugins (highlightning lines, link functions…).

Third Party

Pastacode use some third party components

  • PrismJS – by Lea Verou, Golmote, James DiGioia, Michael Schmidt & other contributors
  • WordPress crea…
Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.914 reviews
5 ★
13
4 ★
1
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress4.0+ requiredTested up to 6.9.4
PHP7.0+ required

Top Alternatives to Pastacode

WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager icon
WPCode – Insert Headers and Footers +…
4.93.0M+ installsUpdated 2 weeks ago
ViewCompare
Code Snippets icon
Code Snippets
4.71.0M+ installsUpdated 1 month ago
ViewCompare
Simple Custom CSS Plugin icon
Simple Custom CSS Plugin
4.7100K+ installsUpdated 1 year ago
ViewCompare
Head & Footer Code icon
Head & Footer Code
5100K+ installsUpdated 3 days ago
ViewCompare
Shortcoder — Create Shortcodes for Anything icon
Shortcoder — Create Shortcodes for…
4.9100K+ installsUpdated 1 month ago
ViewCompare
View all code plugins →

Frequently Asked Questions

Changelog

3.0.1

  • 24 november 2022
  • Fix: improve compatibility with html minifier, where line breaks are stripped from codes snippets
  • Fix: bug with apachconf language in legacy mod (shortcode)
  • Thanks to WP marmite for notifying me these bugs
View full changelog on WordPress.org

Contributors

Julio PotierJulio PotierWilly BahuaudWilly Bahuaud
Plugin Info
Version
3.0.1
Last Updated
Mar 12, 2026
WP Requires
4.0+
Tested Up To
6.9.4
PHP Requires
7.0+
Active Installs
500
Downloads
25K+
Added
Oct 10, 2013
Business
Free

Tags

codeblockgithubsyntaxsourcecode

Developer

W
Willy Bahuaud
9 plugins0.0M+ total installs
View all plugins →

Quick Compare

Pastacode vs WPCode – Insert Headers and Footers +…→Pastacode vs Code Snippets→Pastacode vs Simple Custom CSS Plugin→

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