WPCode Logo

WPCode Documentation

Documentation, Reference Materials, and Tutorials for WPCode

Most Popular

Get free tips and resources right in your inbox, along with 500+ others

Follow Us

Installing Snippet Packs

Would you like to tidy up your WordPress admin, slim down your pages, or tighten your site’s security without hunting down snippets one by one?

In this guide, we’ll walk you through installing a WPCode Snippet Pack and managing the snippets it adds to your site.

All you need is WPCode and a connected WPCode Library account.

Before you get started, make sure WPCode is installed and activated on your WordPress site.

Choosing a Snippet Pack

A snippet pack is a ready-made bundle of library snippets that work toward one goal, such as a calmer dashboard or a faster site. Installing a pack adds all of its snippets in one step, instead of finding and adding each one yourself.

To get started, we’ll open the list of available packs.

From your WordPress admin sidebar, go to Code Snippets » + Add Snippet. Then click the Snippet Packs tab.

The Add Snippet screen opened from the Code Snippets menu, with an arrow pointing at the Snippet Packs tab

Each card shows the pack’s name, its category, a short description, and the first few snippets it contains. The “+2 more” style line tells you how many other snippets are in the pack.

The Snippet Packs tab showing the Search Packs box, the All Packs, Admin, Editor and Content, Performance, and Security categories, and the Admin Productivity and Calmer Dashboard pack cards

To narrow the list, click a category on the left, such as Performance. In our example, this shows the packs that slim down what WordPress loads.

An arrow pointing at the Performance category, which shows the Faster Site and Media Library pack cards

You can also type at least 3 letters into the Search Packs box to find a pack by name.

When you’ve picked a pack, you’re ready to install it.

Installing a Pack

Once you’ve found the pack you want, click Install on its card. We’ll use the Faster Site pack as our example.

Note: Packs come from the WPCode Library. Until your library account is connected, the card reads Connect to Library instead of Install.

An arrow pointing at the Install button on the Faster Site pack card, beside the Media Library card

A window opens with the full list of snippets in the pack. Read it over first, because WPCode adds every snippet on the list and switches each one on. When you’re ready, click Install pack.

The Install Faster Site window listing 4 snippets, with an arrow pointing at the Install pack button

WPCode adds the snippets and confirms how many it activated. It checks each PHP snippet before switching it on, and leaves any snippet that fails that check switched off.

To see your new snippets, click Open pack dashboard.

The Faster Site installed window reading All 4 snippets activated, with an arrow pointing at the Open pack dashboard button

The pack’s snippets are now running on your site. Next, we’ll look at how to manage them from the pack dashboard.

Managing the Snippets in a Pack

The pack dashboard lists every snippet in the pack, with its own toggle and an Edit snippet button. The count in the corner shows how many of them are switched on.

If you don’t want one of the snippets, switch off its toggle. The rest of the pack keeps running.

The Faster Site pack dashboard listing 4 snippets with their toggles switched on and an arrow pointing at the toggle for Disable Emojis

Each snippet’s Edit snippet button opens it in the regular snippet editor, the same as any other snippet. Some snippets also show a reminder to edit them, because they need your own values before they fit your site.

The pack’s snippets also appear in your Code Snippets list, under the same names you see here.

To come back to the dashboard later, return to the Snippet Packs tab and select the Installed category, which lists the packs you’ve installed. Then click Manage on the pack’s card.

The Installed category selected in the Snippet Packs sidebar, with an arrow pointing at the Manage button on the Faster Site card

From there, you can switch any of the pack’s snippets on or off whenever you need to.

Removing a Pack

If you no longer need a pack, you can remove it and all of the snippets it added. At the bottom of the pack dashboard, click Remove pack.

An arrow pointing at the Remove pack button below the list of snippets on the pack dashboard

WPCode asks you to confirm before it deletes the pack’s snippets. To go ahead, click Remove pack in the confirmation window.

The Remove pack confirmation window reading This will delete all 4 snippets it created, with an arrow pointing at the Remove pack button

WPCode deletes the snippets the pack created, including any changes you made to them. If you’d like to keep an edited snippet, switch off the snippets you don’t need from the dashboard instead.

That’s it! You now know how to install a snippet pack and manage the snippets it adds. Next, take a look at our guide on creating your first snippet to add code of your own.

Frequently Asked Questions

Below, we’ve answered some of the most common questions about WPCode Snippet Packs.

Do I need a paid license to use snippet packs?

No. Snippet packs don’t need a license. You only need to connect your WPCode Library account.

How do I choose which of a pack’s snippets run?

Each snippet has its own toggle on the pack dashboard, so you choose exactly which ones run. To take the whole pack away, use Remove pack.

What if I already added one of the pack’s snippets from the library?

WPCode keeps your existing copy and skips that snippet when it installs the pack. It leaves your copy exactly as it was, including whether it’s switched on.

If I remove a pack, does it delete a snippet that another pack also uses?

No. If another installed pack includes the same snippet, WPCode keeps it and hands it over to that pack.

Where do a pack’s snippets appear after I install it?

They’re listed in Code Snippets with the rest of your snippets, under their library names. You can edit them there or from the pack dashboard.

Still stuck? How can we help?

Last Updated on

Get Started Today & Add Your Own Snippets

Future-proof your website with WPCode Snippets and improve the way you manage code across all your websites.