Return to main site

FAQ

Start here if there's something you want to know.

Do I still need a child theme?

It depends! If you are only using a child theme to add code to functions.php and additional CSS to style.css , then you could quite easily replace your child theme with this plugin. However, if you are using advanced templating features, such a...

What happens to snippets when I update my theme or WordPress?

Snippets of any type you add using this plugin are stored completely independently from the theme, and so will not be affected when you update or change your theme.

Will using this plugin affect my page speed?

While any extra plugin you add to your site will have some effect on overall performance, chances are that any change will be unnoticeable. The number of snippets you have on your site should make little difference, as they are all fetched in th...

How can insert tracking code or a pixel?

Different types of tracking code, including Google Analytics, Microsoft Clarity, and Facebook Pixel easily be added to your snippet library without needing any other plugin. Please see the following tutorials to help you get it done in minutes: Go...

How can I completely uninstall the plugin?

By default, deleting Code Snippets does not remove any of your snippets or settings. This is to prevent accidental loss of data. In order to ensure that Code Snippets cleans up all of its data, you need to first enable the ‘Complete Uninstall’ opt...

How can I add code to my site's header or footer?

If you have tracking code, custom CSS or JavaScript libraries, extra meta information, or anything else you’d like to add to your site’s section, you can do so by copying and modifying this Code Snippet: add_action( 'wp_head', function ()...

How can I copy snippets to a different site?

Yes! You can individually export a single snippet using the link below the snippet name on the ‘Manage Snippets’ page or bulk export multiple snippets using the ‘Bulk Actions’ feature. Snippets can later be imported using the ‘Import Snippets’ pag...

How can I export snippets to PHP for integrating into a plugin or theme?

Select the checkboxes next to the snippets you want to export, and then choose Download from the Bulk Actions menu and click Apply . The generated PHP file will contain the exported snippets code, as well as their name and description in comments.

Can I run network-wide snippets on a multisite installation?

Yes. You can run snippets across an entire multisite network by Network Activating Code Snippets through the Network Dashboard. You can also activate Code Snippets just on the main site, and then individually on other sites of your choice.

Where are the snippets stored in my WordPress database?

Snippets are stored in the wp_snippets table in the WordPress database. If you are using a different prefix to the default wp_ , then the table name will be whatever table prefix you have chosen followed by snippets . If you are using Code Sni...

Where can I get help and support for using the plugin?

The first thing to check is this very documentation site. Make sure to use the search feature, and have a look through the articles and frequently asked questions . If your answer is not in this documentation, then you can ask on our Facebook co...

Where can I suggest new features?

We really appreciate any and all suggestions that might help make our product better for all users.  We have three ways for you to do this; choose whatever is easiest for you: Use this feedback form on our website or… If you're a programmer, you...

When are my snippets run in the WordPress load order?

All active snippets are executed on the plugins_loaded hook. That means that they will run as soon as all of the active plugins have been loaded into the site. Here's where that takes place in relation to a number of other common WordPress actio...

How can I make a snippet run on only a certain page?

If you want to run a Code Snippet only on specific parts on your site, you can use conditional tags in a Function Snippet to only run the snippet based on certain conditions. Here's an example for how you would ensure that CSS code is only run o...

Q&A Launching Code Snippets Pro

Q&A - UPDATED! + What will the price of Pro be? - Starting at $29 During launch pricing will start at only $29, $49, and $99 per year for 2, 6 or 200 sites. After launch prices will go to normal; $39, $59 and $129. These prices are not final until...

How do I insert content snippets into the post editor?

If you have some content that you would like to add as a snippet and then reuse amongst different post, pages and custom post types, then the first step is to create a Content Snippet .  When creating a snippet, ensure that the Content tab is s...

How does Code Snippets work on WordPress multisite?

Code Snippets includes full support for WordPress multisite. When using this plugin on a WordPress multisite network, you have several options for how you want it to behave. Using the plugin on individual sites This is the option if you want to tr...

How To Become An Affiliate

In 6 easy steps, learn how to become an affiliate for Code Snippets.  1. On the Code Snippets website, log in to your account 2. Enter your details here 3. Go to your dashboard and click the "Earn" tab  4. Become an affiliate Click on the "Becom...

Once I install Pro, can I remove the free plugin?

Here is a question we get a lot :) Once I upgrade to pro, do I need to keep the free plugin or can I remove it?  And the answer is...... Yes, it's absolutely fine to remove.  Your data will have transferred to the Pro plugin.  Just make sure you ...

How do I import snippets?

If you have a Code Snippets export file from a WordPress site, then you can import them into a different site (or the same site) using the Import Snippets menu. To import your snippets, click on the Choos e  files  button and select the .json o...

How can I change the location of the Snippets admin menu?

You can change the position of the Snippets menu with a functions snippet like this one: add_filter( 'code_snippets/admin/menu_position', function () { return 20; } ); You can change 20 in the code above to move the menu higher or lower than t...

How to join our Beta Testers Program?

Thank you for your interest! 🙏 We're very happy you want to join our Beta Testers Program, which gives you exclusive access to new features and updates before they are officially released. In this guide we will help you through the process of join...

Code snippet cloud set up guide

Hello, Code Snippeter!  😎 We have done our best to make the cloud set up as smooth and easy as possible. This guide below will walk you through the process step by step. Prerequisites: This guide does assume you have the following already set up o...

Troubleshooting Code Snippet Plugin Bugs - An Alternative Option

Preface If you have scoured the knowledge base, forums and support articles in the hopes of understanding and resolving problems with the code snippet plugin running correctly on your wordpress site then the following guide aims to provide an alte...

Code Snippets Data Privacy De-mystified

Hello, Code Snippeter!  😎 Data privacy is a real concern for us all especially in this digital age. This article helps to clarify what data / information we collect and use when the plugin is installed on your website. Q. Does the Code Snippets pl...