Categories
WordPress

Add Custom Functions

Code Snippets pluginWhen you have a WordPress website, at some point, you’ll probably choose to add your own custom functions into the functions.php file of your theme in order to add a certain feature, remove it, or modify it! However, when you update your theme at some point, all these changes you made will be gone.

The best practice is to always use a child theme and to add the custom functions into the functions.php file inside the child theme. However, you can also use the Code Snippets plugin which makes it super easy to add custom functions.

When you install and activate the plugin, navigate to Snippets -> Add New and add your snippet there.

Awesome, right? Cheers 🍷

The awesome Gravatar of dakisha

By dakisha

WordPress enthusiast and Customer Happiness addict. Working for Automattic as a Happiness Engineer. Loves chess, tennis, and good food.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from My Two Cents

Subscribe now to keep reading and get access to the full archive.

Continue reading