-
AuthorPosts
-
November 26, 2015 at 11:41 pm #680848
Hey. I want to experiment with different Child Themes. Can I just copy the Child Theme and give it another name?
November 26, 2015 at 11:51 pm #680855Hi there,
Thanks for writing in! You can use multiple child theme for a parent theme but make sure to use different name on style.css to avoid conflict.
Cheers!
November 27, 2015 at 12:10 am #680873What should the different name in style.css be?
Should the name of the theme be different * and * the different name in style.css?
Can you be more specific please?
November 27, 2015 at 12:26 am #680885Hello There,
There should be NO changes in the parent X theme. In your child theme, the contents of the style.css should look like this:
/* Theme Name: X – Child Theme Theme URI: http://theme.co/x/ Author: Themeco Author URI: http://theme.co/ Description: Make all of your modifications to X in this child theme. Version: 1.0.0 Template: x */
And if you have created another child theme like my-child-theme which you have placed in wp-contents/themes/my-child-theme, the name of the child theme in the wp-contents/themes/my-child-theme/style.css would probably be like this:
/* Theme Name: My Child Theme Theme URI: http://theme.co/x/ Author: Themeco Author URI: http://theme.co/ Description: Make all of your modifications to X in this child theme. Version: 1.0.0 Template: x */
For more information about child themes, please check this out:
https://community.theme.co/kb/how-to-setup-child-themes/
https://codex.wordpress.org/Child_ThemesHope this helps.
-
AuthorPosts