How to set up a Child Theme for Colorway Pro

Discussion in 'ColorWay WordPress Theme' started by chauncey99, Dec 11, 2013.

  1. chauncey99

    chauncey99 Member

    Joined:
    Dec 11, 2013
    Messages:
    33
    Likes Received:
    0
    Hello, I have just purchased the Colorway Pro theme and would like to set up a child theme that will protect my customizations when the theme is updated. Can you please explain how to do this?

    Thank you very much for your help.
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  3. chauncey99

    chauncey99 Member

    Joined:
    Dec 11, 2013
    Messages:
    33
    Likes Received:
    0
    Hello Piyush

    I have read the article you mentioned.

    Basically, I think the best way to do this would be to make a second copy of the Colorway Theme and then rename it "Colorway Child Theme." Then upload it to the themes folder. Basically, I want to have all the functionality of the current Colorway Theme (custom css, etc.) and I want to be able to modify various files (functions.php, header.php, etc.) and have these changes remain whenever I update the theme. I plan to make a lot of customizations to the theme, but I still want to be able to update the theme and not lose any of the customizations.

    Isn't making a second copy of the full Colorway Pro theme and then renaming it "Colorway Child Theme" the best way to do this?
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Create your child theme with the help of style.css as instructed in the above given blog link.
    After that copy only those .php files of Parent Theme in which you have already customized (or you want to customize) and paste them in the child theme folder and then edit these .php files of child theme as per your requirement. This will automatically override the original .php files of parent theme.
     
  5. chauncey99

    chauncey99 Member

    Joined:
    Dec 11, 2013
    Messages:
    33
    Likes Received:
    0
    OK, thank you. Is it possible for you to send me the child theme folder via email?
     
  6. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107

Share This Page