@neptune1
Hi. I myself use a child theme on my site and from my experience, it has quite a lot advantages. Using a child theme will let you make customizations to your site without it being deleted when your parent theme is updated. The design of your site still remains the same, but you can override any part of your parent theme and activate your child theme, so that your changes aren’t deleted every time you update your parent theme. I mainly use a child theme to override the default Footer Text of most WordPress themes. Also, an added advantage is that your site’s theme cannot be detected by other sites. If you would like to know how to create a child theme, it is easy. Just create the below two files, add them in a directory named parent-theme-child
and upload the folder to yoursite/wp-content/themes/.
Style.css
/*
Theme Name: Twenty Fifteen Child
Theme URI: https://example.com/twenty-fifteen-child/
Description: Twenty Fifteen Child Theme
Author: John Doe
Author URI: https://example.com
Template: twentyfifteen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: twentyfifteenchild
*/
Functions.php
<?php
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
function my_theme_enqueue_styles() {
$parent_style = 'parent-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme.
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get('Version')
);
}