Usually the tutorials or advice you’re following will recommend to add the functions to your child theme functions.php file to avoid losing the updates to the parent theme when a new version is posted… And as you’re using a Guten child theme, what happens when we post a child theme update?
We’ve got 2 options for you:
Option 1) Increase the style.css version number
With this way, you’ll need to go to Appearance -> Theme Editor in your WordPress dashboard, and select the style.css file, if it’s not selected already.
At the top of the file you will see the following code comment block:
/* Theme Name: Child Theme Name Theme URI: https://gutentheme.org/child-theme/ Description: Child theme is a child theme of a parent theme Author: Kaira Author URI: https://kairaweb.com/ Template: guten Version: 1.0.0 /* You will need to increase this version number to 1000.99.99 */ License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: Tags listed here Text Domain: child-theme */
To stop the child theme getting updates you will need to increase the version number to a number much higher than we will ever reach with the updates.
We recommend changing it to something like 1000.99.99.
Now this Child theme is yours to edit, style, add functions and do whatever you like to edit the Guten parent theme.
For more on Chid Themes::
Option 2) Add your own code via our Guten Customizations plugin
Simply download and install our Guten Customizations plugin and then go to Plugins -> Plugin Editor in your dashboard, select the Guten Customizations plugin and add your code into the relevant file in the /custom/ folder.
For a more detailed explanation read here:
Using the Guten Customizations Plugin