WPCodeBox 2 v1.2 Now Available

Table of Contents

Back to Blog

We’re excited to announce that WPCodeBox 2 v1.2 and v1.2.1 is now available. This release introduces Snippet Revisions, Snippet URLs, Exporting and Importing Snippets, and so much more!

You can download the latest version of WPCodeBox from the Customer Portal, or add your API key to your site to enable auto-updates.

Restore Snippets With Ease

WPCodeBox now includes snippet revisions with code diffs. You can roll back specific lines in seconds instead of re-writing code from scratch, and bring back deleted lines exactly where you need them. Every revision is tracked so you can see what changed and when, with the option to add notes that keep your history clear. You can delete revisions you don’t need and set how many versions to keep, giving you a faster, safer way to experiment and refine your snippets without risk.

Unique URLs for Each Snippet

Navigate directly to any snippet using its unique URL. This makes it simple to bookmark snippets for quick access, or share direct links to documentation and procedures with your team or clients.

Export and Import Snippets Easily

With WPCodeBox you’ve already been able to save snippets to the cloud and reuse them across your sites. Now you can also export snippets directly from one site and import them into another in just a few clicks. This gives you complete flexibility: maove code between projects, share snippets with your team, or quickly replicate workflows without rewriting anything.

Markdown Snippets

Take your internal documentation further with the new Markdown Snippet. Write clear instructions, notes, or process details in Markdown and keep them right alongside your code. Then share them instantly with your team or clients using a Snippet URL. It’s a simple way to turn WPCodeBox into both your coding tool and your knowledge base.

Remove Editor Hover Overlays

If you’ve ever wanted fewer hover overlays in WPCodeBox, now you have the option. A new plugin setting lets you turn them off, so you’ll only see the essentials like autocomplete. Overlays for things like error messages or suggestions won’t get in the way, giving you a cleaner, more focused coding experience.

v1.2 Changelog

  • New Feature: Snippet revisions with code diffs
  • New Feature: Revision notes and bookmarks
  • New Feature: Export snippets and folders to JSON
  • New Feature: Import snippets and folders from JSON
  • New Feature: Custom URL for each snippet
  • New Feature: Option to remove editor hover overlays
  • New Feature: Markdown snippet support
  • New Feature: Render CSS in Gutenberg
  • Improvement: Improved toast notifications for actions
  • Improvement: Improved editor CSS support
  • Improvement: Don’t add script type attributes for JS snippets
  • Improvement: Limit the number of revisions
  • Bugfix: Tooltip links point to the old docs/not found pages
  • Bugfix: Functionality plugin error in some edge cases when an empty snippet is created in the DB
  • Bugfix: In some edge cases, an empty snippet can break the UI
  • Bugfix: Snippet order not respected inside the Functionality Plugin
  • Bugifx: Snippet list scrollbars are the wrong color based on the theme
  • Bugfix: Warning when WPCodeBox runs in CLI
  • Bugfix: Main SCSS file not recompiled when partial is changed
  • Bugfix: Error when moving a cloud snippet from a cloud folder to the root
  • Bugfix: Plaintext snippets appear as unsigned when the FP is on
  • Bugfix: Code formatter throws errors in some cases
  • Housekeeping: Update the WPCodeBox React version to v18
  • Housekeeping: Update all WPCodeBox NPM dependencies to the latest versions
  • Housekeeping: AI Assistant and completion support (not yet enabled)
  • Housekeeping: Updated tested up to versions
  • Housekeeping: Build and release improvements

v1.2.1 Changelog

  • Bugfix: Error when external CSS is rendered in the Functionality Plugin
  • Bugfix: Missing collation from the revisions table causing issues in some cases
  • Bugfix: Screen Options button sometimes appears in the UI
  • Bugfix: UI disappears in edge case when the Functionality Plugin is enabled

The Most Powerful Code Snippets Plugin

Save hours when customizing WordPress sites.
Manage Snippets in WordPress
Works with All Plugins
Send Snippets to the Cloud
A Better Code Editor
Conditionally Run Snippets
Works Locally, or In the Cloud

Get WPCodeBox, the most powerful WordPress Code Snippet Manager.

Save hours when customizing WordPress sites.
WPCodeBox is a WordPress Code Snippets Manager that allows you to share your WordPress Code Snippets across your sites.