• 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.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Have you reviewed child themes?

    Thread Starter bdamon004

    (@bdamon004)

    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.

    Thread Starter bdamon004

    (@bdamon004)

    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,
    https://example.com/wp-admin/theme-install.php?tab=upload
    replace example.com with your domain name.

    Upload the zipped Child Theme and activate it!

    Thread Starter bdamon004

    (@bdamon004)

    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.

    Thread Starter bdamon004

    (@bdamon004)

    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: https://www.auxcinema.com

    If 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:    https://example.com/
     Description:  Child Theme
     Author:       John Doe
     Author URI:   https://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.

    Thread Starter bdamon004

    (@bdamon004)

    thank you @daxserver.

    WPBeginner has a lot of resources regarding WordPress. This will give you a better idea.

    https://www.wpbeginner.com/wp-themes/how-to-create-a-wordpress-child-theme-video/

    Thread Starter bdamon004

    (@bdamon004)

    it says “The package could not be installed. The style.css stylesheet 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?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Child Theme’ is closed to new replies.