Archived topic
I have a question about child theme.
1 reply · Started by Lee on April 26, 2020
For example
1. To change the theme's CSS, simply install the "simple CSS plugin" and add the code.
2. To add functionality to your theme's functions.php, simply install the "Code Snippets plugin" and add the code.
In this case, you need to install 2 plugins.
Or you can install the child theme and edit the code directly in style.css and functions.php.
In terms of site speed and safety, which method do you recommend, plugin or child theme?
Is it just a personal taste difference?
It may not matter, but I am very curious.
Hi there,
There is one MUST HAVE reason for a child theme and that is if you want to make edits to theme or plugin templates, or wish to create your own templates with PHP.
Other than that Child Themes add another styles.css which creates one more request, so may result in slightly longer load times.
Safety/Security - i suppose another user will be less likely to mess up a function or CSS style if it is in a Child Theme....