Child Theme
-
I am still having a problem creating and loading a “child theme”. Is it the same as exporting an .xml file? I don’t understand how to create the child theme and then load it for use.
-
Have you reviewed child themes?
yes, and I still don’t understand where to make the folder destination for a new theme. unless its an imported theme from one I exported as .xml .
Child themes have absolutely nothing to do with importing .xml files. A child theme’s folder should be in wp-content/themes.
Is that a domin? like “myblog.wordpress.wp-contnet/themes” ? how do i access that?
Using FTP or whatever file management application your host provides.
Zip your Child Theme and name it something like “childtheme.zip”
In you Dashboard, go to Appearance -> Themes and click on Add New and then click on Upload.
For example,
http://example.com/wp-admin/theme-install.php?tab=upload
replace example.com with your domain name.Upload the zipped Child Theme and activate it!
I guess the problem I am having is how to create a zip file from my current theme, to create the child. I donno how to birth it.
I found out how to make a zip. still can’t get my child theme to work. I put a few different files in the folder “style.css” , such as “theme.php”folder name> text doc inside of that holding html from the original theme. What am I doing wrong? Will somebody make a child theme for me to use?
my site: http://www.auxcinema.comIf you cannot manage this yourself, you may want to consider hiring someone instead.
Test this:
Create a folder “mytheme”.
Create a file “style.css” inside mytheme folder.Add this text inside style.css:
/* Theme Name: Twenty Twelve Child Theme URI: http://example.com/ Description: Child Theme Author: John Doe Author URI: http://example.com Template: twentytwelve Version: 1.0.0 */ @import url("../twentytwelve/style.css"); /* =Theme customization starts here ----------------------------------------------------- */ p { font-size: 50px;}Now zip the folder “mytheme” -> name it mytheme.zip (or something else)
Upload and activate – Open your site and check if it works.
If it works, then everything is alright.**You just have to add only those files from parent theme (original theme) – which you want to make changes.
thank you @daxserver.
WPBeginner has a lot of resources regarding WordPress. This will give you a better idea.
http://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/it says “The package could not be installed. The
style.cssstylesheet doesn’t contain a valid theme header.”I copied the original code, into the same zip “style.css” folder, in a new file, “header.php” . was that not the right thing to do?
The topic ‘Child Theme’ is closed to new replies.