WordPress is the most used open source platform for web development and can be used to create any type of websites. WordPress is written in PHP as scripting language. To install…
Spacious is one of the most popular wordpress theme. It has many premium like feature and it is multipurpose wordpress theme. One thing on this theme is that you can't…
WordPress is famous blogging platform. It is easy to use and and can be easily customized. Many bloggers use WordPress for their website because it has millions of themes and…
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.