WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Willy Bahuaud v3.0.1

Pastacode

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

Pastacode

The facts

Rating
4.9★ from 14
Active installs
400+
Price
Free
Last updated
12 Mar 2026
Added
Oct 2013
Requires WP
4.0
Tested up to
WP 6.9.7
Requires PHP
7.0
Downloads
25,470

Our analysis

AI-assisted

Pastacode is a WordPress plugin that enables you to add code snippets to your posts using the PrismJs coloration library. You can insert code directly in the post editor, from files, or through web services like GitHub and BitBucket. The plugin also caches web service responses to reduce HTTP requests.

Additionally, Pastacode works in comments and bbPress topics, allowing for code sharing in various areas of your site. It supports enhancements through PrismJs plugins for features like line highlighting and linking functions.

Best for: This plugin is suitable for developers or content creators who frequently share code snippets on their WordPress sites.

What it does well

  • Integrates with various web services for code insertion
  • Supports code in comments and bbPress topics
  • Enhances snippets with PrismJs plugins
  • Caching reduces unnecessary HTTP requests

Where it falls short

  • Limited information on additional features or customization options

Verdict

Pastacode offers a straightforward way to add and enhance code snippets in WordPress. It is particularly useful for those who need to integrate code from multiple sources.

From the developer

Willy Bahuaud's own description of Pastacode, lightly tidied.

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

Read the full description on the official page →

Tagged as