![]() Paste in your code snippet and save your changesĪnd that’s it! How To Add PHP Code Snippets With Code Snippets Pluginįor code snippets that aren’t theme specific, you can use the aptly named Code Snippets plugin.Choose the functions.php file under the Theme Files column.FTP lets you quickly fix things).īut if that’s confusing, you can also do it right from your WordPress dashboard: If you’re familiar with FTP, I recommend doing this via FTP for the safest approach ( sometimes you might accidentally mistype the code, which can cause problems on your site. Now, all that’s left to do is add the code snippet(s) to the new functions.php file in your child theme. Step 2: Add Code Snippets To functions.php File Then, click the Activate & Publish button to activate your child theme: ![]() Click the Childify Me button at the bottom.Scroll down the left sidebar of the WordPress Customizer.Go to Appearance → Customize in your WordPress dashboard.Install and activate the Childify Me plugin.While it’s possible to manually create a child theme, to simplify the process you can use a free plugin called Childify Me. But it will allow you to safely make new changes without the danger of those changes getting overwritten the next time you update your theme. Otherwise, let’s start at the beginning… Step 1: Create A New Child ThemeĪ child theme won’t affect any of the current functionality on your site. ![]() If you already have a child theme, skip ahead to Step 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |