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

Avatar

By Shea Bunge

updated 4 months 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 4 months 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...

Avatar

By Verdi Heinz

updated 4 months 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...

Avatar

By Verdi Heinz

updated 4 months 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...

Avatar

By Shea Bunge

updated 4 months 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...

Avatar

By Shea Bunge

updated 3 months 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...

Avatar

By Shea Bunge

updated 3 months 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...

Avatar

By Shea Bunge

updated 3 months 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...

Avatar

By Shea Bunge

updated 3 months 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...

Avatar

By Shea Bunge

updated 3 months 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...

Avatar

By Verdi Heinz

updated 3 months 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...

Avatar

By Verdi Heinz

updated 3 months 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...

Avatar

By Shea Bunge

updated 3 months 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...

Avatar

By Shea Bunge

updated 2 months ago