@Black_Bird: Now I think it’s already added in your database and we don’t recommend you to change any core theme files. All your changes in your core theme files will be reverted back to original when you update the theme. So, for CSS changes you can simply add in “Appearance => Theme Options => Custom CSS” box and for detail functions changes, you need to build child theme and edit there.
To fix your issues, you need to add the following Code in theme-options.php
. This this files, search for catchevolution_theme_options_validate
function and inside that function, you can add it in the line before return $input_validated;
//data validation for reset more
if ( isset( $input['reset_more_tag'] ) ) {
global $catchevolution_options_defaults;
$defaults = $catchevolution_options_defaults;
$input_validated[ 'footer_code' ] = $defaults[ 'footer_code' ];
}
After you add this code and save your theme-options.php
, you need to change settings in “Appearance => Theme Options” then it will revert back to default.