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...

Avatar

By Shea Bunge

updated over 1 year ago

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.

Avatar

By Shea Bunge

updated over 1 year ago

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...

Avatar

By Verdi Heinz

updated over 1 year ago

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:...

Avatar

By Verdi Heinz

updated over 1 year ago

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’...

Avatar

By Shea Bunge

updated over 1 year ago

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 <head> section, you can do so by copying and modifying this Code Snippet: add_action( 'wp_head', function ()...

Avatar

By Shea Bunge

updated over 1 year ago

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’...

Avatar

By Shea Bunge

updated over 1 year ago

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.

Avatar

By Shea Bunge

updated over 1 year ago

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.

Avatar

By Shea Bunge

updated over 1 year ago

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...

Avatar

By Shea Bunge

updated over 1 year ago

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...

Avatar

By Verdi Heinz

updated over 1 year ago

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...

Avatar

By Verdi Heinz

updated over 1 year ago

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...

Avatar

By Shea Bunge

updated about 1 year ago

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...

Avatar

By Shea Bunge

updated 4 months ago

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...

Avatar

By Natan Leibzon

updated 5 months ago

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...

Avatar

By Shea Bunge

updated 4 months ago

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...

Avatar

By Shea Bunge

updated 4 months ago

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...

Avatar

By Natan Leibzon

updated 3 months ago

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...

Avatar

By Natan Leibzon

updated 4 months ago

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...

Avatar

By Shea Bunge

updated 3 days ago