Version 4.0 released!

The original Code Snippets plugin for WordPress, now 4.0

Describe a snippet and the AI Agent builds it. Every save becomes a revision you can restore, and every PHP snippet is timed and scanned. Same plugin a million sites already trust.

Toggle Snippets

Control what runs

Cloud Sync

Backup and Sync

AI Agent

Plan, Build, Review

Reduce Plugins

Use snippets instead

Revisions

Restore any save

Secure

Scanned on every save

Join more than 1 Million Happy Users

“...Must-Have for Every Project...”

I use this Tool in every project. Together with ChatGPT, even someone like me with outdated PHP skills can integrate very useful functions into WordPress by myself.​

User photo
ausdemnichts

"...Extremely useful and intuitive..."

I’ve been using this plugin for a few years now and it’s been great. If you need to add custom code to your site without having to modify your theme, child theme, or plugin this is the way to go.​

User photo
Rick Alday

"...Developers Swiss Army Knife..."

I highly recommend this to anybody that lives in the developer world of WordPress. Great job Code Snippets!

User photo
Avitrio
AI Agent
New since v4

Describe the snippet. Approve the plan. Review the code.

The AI Agent plans before it writes. Refine the plan or approve it, and the snippets it builds arrive inactive so you can read the code first. Share your library and site environment for sharper answers. Your cloud credential never leaves your server.

Site Performance

Reduce the number of plugins that you use at your website

Reduce the number of plugins at your website by using code snippets, making it easier to manage from one place and greatly improving your sites performance.

Snippet Insights
New since v4

Find the slow snippet before your visitors do

Switch on tracking and every PHP snippet is timed as it runs, with the last run, the maximum and a moving average. Slow snippets get a tinted pill in the snippets table. Stats reset when the code changes, so the numbers always describe the version that’s live.

Snippet Conditions

Total Snippet control with Conditions

Create reusable conditions to control exactly when and where your code snippets run. Gain precise, fine-tuned control over execution.

Why Use Code Snippets?

Improve your website’s performance

Many plugins or features commonly used are simply snippets of code that run and so having one plugin to run, manage and tailor to your site will help boost performance.

Say goodbye to child themes

Child themes are cumbersome to keep up to date and worse to trouble shoot. Code Snippets lets you turn functions on and off like a light switch!

Customize code safely and easily

PHP, CSS, Javascript or HTML Snippets. We make sure they end up where they belong, safe and easy to edit, without slowing down your WordPress website.

Snippet revisions
New since v4

Every save is a revision. Every revision is one click from live.

Compare versions side by side, step through each change, and restore the one that worked. Choose how many revisions to keep per snippet, or switch them off for the snippets that don’t need them.

Security scanning
New since v4

A second pair of eyes on every save

PHP snippets are scanned for risky patterns like eval() each time you save. Every finding is rated high, medium or low and shows the line it’s on. Findings are advice and never block a save. Snippets with nothing to report get a Secure snippet badge.

Cloud Library

Safely Manage all your Code Snippets in the Cloud

Connect your WordPress sites to the Code Snippet cloud platform to be able to backup, synchronise, collaborate, and deploy your snippets.

Community Cloud

Get a head-start with a huge library of Community Snippets

Discover a library of community-submitted Code Snippets and add custom functionality to your website in minutes.

Discover the power of code snippets

Code snippets is the plugin of choice for many content creators, educators, agencies, and businesses. We have compiled a playlist of some great examples and tutorials using code snippets. Search YouTube for Code Snippets, as many more are added all the time

Reviews & Comments

Looking for support?

If your already a code snipper and need some help or support with the plugin, cloud or anything in between then click below to go to our dedicated support centre for guides and raising support tickets.

Have a sales Question?

Get in touch with our sales team, for any pre-sales questions you may have. If you have a support questions, please click the “Get Help”-button instead to ensure you reach the right people.

Get Code Snippets for Free!

Download the Code Snippets plugin and enjoy effortless execution of your code snippets on your website! 

Adding or Editing a Snippet...