A child theme in WordPress: Answer to What, Why, When and How? So, I guess you own a WordPress website, right? And your ongoing website has enough traffic. Next day, your theme provider brings a new update of the theme you are using. In the excitement, you update the theme to bring new changes. After a moment of the successful update, what you find is the changes you had made was overwritten by the default files. All your hard work in making a unique appearance of the website has gone. You might feel like having a nightmare after spending a good day. Now, your website has returned back to the initial phase from where you have started your website. This is the drawback of using WordPress CMS. But, wait. This is not the end. You can neutralise this complication. You can use a child theme to overcome this situation. Without wasting your time, I’d like to discuss all of your queries on: WHAT is a child theme? WHY is a child theme important? WHEN should you use a child theme? HOW to create a child theme in WordPress?
WHAT is a child theme? According to codex.wordpress.org, “A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. Child themes are the recommended way of modifying an existing theme.” Thus, I hope you understand that a child theme is a descendant of the main theme. This means a child theme requires parent theme to exist. A child theme inherits all features and files of the