How to create a child theme after I've already made changes

Discussion in 'BlogsTrend WordPress Theme' started by home, Oct 19, 2013.

  1. home

    home Member

    Joined:
    Oct 9, 2013
    Messages:
    70
    Likes Received:
    3
    I'm currently designing my first website and I've not had any prior experience of using Wordpress until now.
    Through tutorials etc, I've learnt how to make some changes to themes. I've made a few tweaks to my theme e.g changing colors of text and menus.
    I have only just read that you shouldn't really alter the main theme, but create a child theme. I'm now thinking it would be best that I create a child theme.
    I'm pretty sure that I understand how to create a child theme, but how can I do this and still keep the changes I have already made to the parent theme?
    Am I able to just copy and save all of the modified theme files, re-install the theme, create a child theme, use a text editor to find the differences between the re-installed files and the previously modified files and then add them to the child theme?
    If not, what is the best way (if there is one) to achieve this?
    Please excuse me if any of what I've asked either makes no sense or is technically impossible. I'm still learning the ropes and trying to get to grips with it.
    Any help in this matter would be greatly appreciated.



     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    Copy 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.

    Follow the link given below for reference.
    http://www.inkthemes.com/httpwww-in...rdpress-a-way-to-save-themes-modification/02/

    I hope this will help you.
     

Share This Page