What is a Child Theme?
Child theme is a small and simple theme that inherits functionality and styling of its corresponding parent theme and gives you ability to tweak the parent theme. (You may call child theme as a theme specific plugin, it acts like a plugin if the parent theme is activated along with the child theme.)
When Should You Use a Child Theme?
- The most case is, If you want to modify the stylesheet of your main theme.
- If you want to modify how your WordPress theme is working. That means to customize the function of the theme or if you want to edit ‘functions.php‘ file of the theme.
Why Use Child Theme
It is highly recommended to make a child theme for editing ‘functions.php‘ or ‘style.css‘ of a theme. Modifying a theme directly is not good method and the modification will be lost after update, while modifying using a child theme preserve your modification even after update. So child theme is smarter way to modify a theme.