What is a child theme? (4 posts)

  1. redleafnetwork
    Posted 5 years ago #

    Ok here is the Stupid Question Of The Day.

    I am using as theme I did not create and I come across many instances where it is necessary to modify the code within the various php files. For adding code to the post itself I use a plugin called Post Layout and it works fine.

    However, there are times when I am instructed to insert a code within a template other than the single-post template. In these cases anything I insert or modify is erased by the theme's upgrades (which are quite regular). The theme's author suggested I create a child theme to immunize myself from the upgrades.

    Essentially what I am looking for is a plugin that will insert modifications to the theme that will survive an upgrade as the modifications will be retained within the plugin. Much like the Post Layout plugin.

    So, what is a child theme and which is the easiest and simplest way to go? Child theme or some kind of 'code insert' plugin?

    And where do I find this type of plugin if it exists? And where do I go to learn about child themes?


  2. Tara
    Volunteer Moderator
    Posted 5 years ago #

  3. Digital Raindrops
    Posted 5 years ago #

    Hi RedLeaf,
    As well as the Codex article which can be a bit to much when you are getting started.

    I have a walkthrough set of tutorials on child themes, although these are for the "twenty ten" theme the principal is the same.

    Why use a child theme is summed up in this post which has a great analogy of what a child theme is.



  4. redleafnetwork
    Posted 5 years ago #

    Thank you t-p and thank you Adeptris. I am going through the tutorials now. I will keep you posted.

Topic Closed

This topic has been closed to new replies.

About this Topic