• Home
  • What’s New
  • Start Here
  • Contact

2 Create a Website Blog

How to Create a WordPress Child Theme

Filed Under: Blogging 60 Comments

WordPressOne of the best ways to preserve and protect your original WordPress design theme is to create a child theme and use that one instead of the original.

Child themes maintain the functionality of the original theme, but allow you to make design customizations.

Should the developer update/upgrade the theme, fix security issues, etc., your child theme will inherit the updates, but all your personal customizations remain intact.

The video below will show how easy it is to create a child theme.  The code referenced is located below the video.

Here’s the Code

Modify to fit your needs.


/*
Theme Name: Twentyeleven Child Theme
Description: Child theme for the twentyeleven theme
Author: Lisa Irby
Template: twentyeleven
*/


@import url("../twentyeleven/style.css");

#site-title a { color: #ddd;
}

So that should get you started! For more information about incorporating templates and include files into your child theme, click here.

If you are reading this via e-mail and cannot view the video or the code, visit my blog.

Comments

  1. Angela says

    August 18, 2013 at 2:36 pm

    I know NOTHING about how to do any of this, I use blogging as a part time hobby. But I like a challenge and thought it would be fun to tinker around with moving to wordpress.org and then learning how to customize my own site. Wow! your video was amazingly helpful. With little to no knowledge I created a child theme (with your help) and can’t wait to get busy;)

    Reply
  2. Rolf says

    March 9, 2013 at 3:38 pm

    Just want to say THANK YOU Lisa ! I discovered your blog on my search for Artisteer – WordPress related articels . Great reading (and learning, since i am not really a programmer…)

    Reply
  3. Sidnei De Souza says

    October 22, 2012 at 9:45 am

    HI Lisa

    On my Child theme, there is nothing on my style.css to play with, what do I do?

    Reply
  4. Sidnei De Souza says

    October 22, 2012 at 9:43 am

    My question to you is

    On my Window 7 the website appear correctly when I use my ipad the website specially the font are all different

    Is that normal?

    Reply
    • lisa says

      October 23, 2012 at 3:23 pm

      Your iPad probably doesn’t have the Oswald font. It’s using Arial.

      Reply
    • lisa says

      October 23, 2012 at 3:24 pm

      Oh I thought you meant my blog. Nevermind. LOL But it’s because your computer has different fonts installed than the iPad.

      Reply
  5. mm says

    September 12, 2012 at 1:29 am

    Really helpful tip – worked with child themes from themes such as Genesis before and now realized it’s easy to set up as Lisa just presented. Thanks.

    Reply
  6. Ankush says

    July 10, 2012 at 4:09 am

    Thank you so much for this great tutorial Lisa. I am always amazed by wordpress and its flexibility.

    Thankyou so much for spreading you knowledge

    Reply
  7. Dry Cough says

    June 11, 2012 at 12:01 pm

    Nice thing for my needs.

    Reply
  8. Lynn says

    June 7, 2012 at 11:21 am

    I am so impressed by all of your tutorials and information – thank you!

    Question – 1 child theme per blog? So if I want to add a line of code to the comment.php and one to the footer.php — it’s all in this one child theme style file? Thank you!

    Reply
    • lisa says

      June 7, 2012 at 1:32 pm

      Hi Lynn,

      Typically child themes only consist of the style.css and maybe the function.php file so the comment.php and footer.php would be outside the child theme.

      Reply
  9. michael says

    February 20, 2012 at 11:15 pm

    Hey lisa,

    My name is michael and I’m new to making wordpress child themes. I’m currently using the twenty eleven theme and I want to be able to link the header image to another website.

    I’m not sure how to customize this and I’ve been researching for day’s and it doesn’t seem that anyone has any video’s on how to do this.

    I know many people who get frustrated with their header image and wanting to make it link to either the homepage and or other websites to refer business.

    Can you help me with this? please

    Reply
  10. Mehmet says

    December 15, 2011 at 3:16 pm

    Thank you so much for this great tutorial Lisa. I am always amazed by wordpress and its flexibility.

    Reply
  11. Jan says

    December 6, 2011 at 5:51 pm

    thanks…as opposed to many other explanations yours was clear and easy to understand!

    Just one thing too be mentioned for Mac users (and probably newbies to text editing!): the program “TextEdit” that is pre-installed on Macs cannot be used to create the new “style.css” file needed (in FileZilla the file can’t be created within the FTP program)! The child theme will show up in the dashboard, but mention an error (somethin like “add parent theme”). You need to get a proper text editor which unfortunately costs some money. I got myself “Coda” for the time being which offers a free trial period. Not sure what to get after that….options are:
    Smultron
    Textmate
    Coda
    Dreamweaver

    Any other suggestions for a good and easy to use free editor?

    Reply
  12. vana says

    December 2, 2011 at 8:08 pm

    Hi Lisa, I’ve heard about WordPress Child Themes but now I understand what it does. Thanks for sharing.

    Reply
  13. Zack says

    December 2, 2011 at 12:10 pm

    Hi Lisa,

    Great help, ive been searching an article about how to create a wordpress child theme. Iv also been on this website, also discuss brief basic about creating child theme. http://www.streamtemplates.com/3-simple-steps-in-creating-a-wordpress-child-theme-and-its-basics/

    i hope it could help somehow.. 🙂

    Reply
  14. Stuart says

    December 1, 2011 at 8:26 am

    This is a great idea! This is new to me. Your video tutorial will come in handy. Thanks Lisa!

    Reply
  15. Triactol says

    November 16, 2011 at 12:55 am

    I have tried this to the letter, but the parent theme I am working with has a style.css that only contains the wordpress comment identifying it as theme. The CSS is coming from a main.css inside the css/main.css folder. So how do I configure the child theme with this type of setup?

    Reply
  16. jnomanh says

    November 14, 2011 at 9:38 am

    This is very nice lisa your info is always useful

    Reply
  17. Sadique Shaikh says

    November 14, 2011 at 3:25 am

    Hi Lisa,
    nice video tutorial for child theme now i am planning to make one attempt by designing one wordpress child theme by own for my client site

    Reply
  18. free radicals says

    November 7, 2011 at 10:37 am

    thankyou very much for your advice, found this a very hopeful blog, full of usefull information. i`m off to create a child themenow, hopefully, this will protect my widgets, plugins etc

    Reply
  19. agus says

    October 27, 2011 at 5:26 am

    hi lisa.. thanks for the coding.. I was get something new here

    Reply
  20. Richindesign says

    October 18, 2011 at 7:09 am

    Hi Lisa, is there any way to use the child theme for individual pages, possibly by linking them in some how to template pages ?

    Reply
  21. Jason says

    October 13, 2011 at 7:12 pm

    Thanks for the code. I know from experience how easy it is to mess up a theme when not using child themes.

    Reply
  22. Luke - aja web design says

    October 11, 2011 at 12:43 pm

    Hi Lisa,

    I am beginning to see the benefits of child themes, thanks for the vid.

    Cheers,

    L

    Reply
  23. wholesale electronics says

    October 11, 2011 at 4:27 am

    Do you know if the child theme protects widgets, plugin settings, etc.? Or, just the aesthetics of the site?

    Reply
  24. Fisayo says

    September 23, 2011 at 5:59 am

    Hi Lisa, I’ve heard about WordPress Child Themes but now I understand what it does. Thanks for sharing.

    Reply
  25. WP Themes says

    September 18, 2011 at 10:18 am

    Yaa, it really helps, and child themes is better way to get backup of main theme.
    Nice post.
    Thanks

    Reply
  26. N. Pugh says

    September 14, 2011 at 11:39 pm

    Lisa, I have a WP blog that was installed and hosted through GoDaddy. Is it okay to simply back it up or is this a better alternative? I backed it up, so I assume that everything will remain in tact, somewhere on their server.

    Reply
  27. stephon says

    September 12, 2011 at 10:09 pm

    this is very nice lisa your info is always useful

    Reply
  28. James Curtley says

    September 12, 2011 at 2:42 am

    The themes will be handy and will benefit a lot of people. Something new to learn from your post like always.

    Reply
  29. dmJames says

    September 11, 2011 at 4:32 am

    In fact the wordpress forum does provide this comprehensive details and there are plenty of it as well.. Great video tutorials by the way.

    Reply
  30. Dave Lucas says

    September 9, 2011 at 5:47 am

    Interesting! Never heard of a “child” like this one before! I’ll check it out for my wordpress blog!

    Reply
  31. Deb Augur says

    September 8, 2011 at 7:14 pm

    Hi Lisa,

    I love this! You’ve made is so simple and clear for people to understand. Most people make this seem so complicated! The great thing is you can add a simple child theme and always add to it when you want or need to. And you don’t risk your core theme.

    Reply
  32. Jae Burnham says

    September 8, 2011 at 4:08 pm

    A child theme is a great idea.
    Now just to get my webmaster to implement it.

    Thanks

    Reply
  33. Nafees Khaiser says

    September 7, 2011 at 10:45 pm

    Hello Lisa, I am not much aware of WordPress advancement but I could say, its my good luck to have this post, nice there and WP demo, thanks

    Reply
  34. Range Weird says

    September 7, 2011 at 3:22 pm

    Just when I am getting comfortable with WordPress – wham – I am reminded just how much I don’t know. 🙁

    This is actually the first time I have heard of this topic. I am glad I came across it though. I’ve started doing more custom changes to my templates so I think it will come in handy.

    Reply
  35. John Garrett says

    September 7, 2011 at 8:35 am

    But the child theme doesn’t also work with the functions file does it? Meaning if you put your functions.php file in the child folder the child theme doesn’t use it, right?

    I’ve had issues with this, but it could be me, lol.

    So far I’ve screwed up a couple of sites by not using a child theme and modifying the files direct.

    On one site I was able to take that whole folder, turn that one into the child them and then reinstall the original theme, but on another site I had modified the functions file and it wouldn’t “take”.

    Some of the themes/frameworks these days are so complex you’re not sure which file to modify anyway.

    Aside from all that, I wish you would have written this a year ago so it would have been easy for me to learn it 🙂

    Reply
    • Adeline says

      September 7, 2011 at 8:43 am

      I agree with John. I just tried create a child theme for the free wordpress theme that I’m using and I didn’t know how complicated the theme actually is. I’m currently looking for an alternative theme that’s similar that will make it easier for me to do the child theme. 🙁

      Reply
    • lisa says

      September 7, 2011 at 10:51 am

      According to the WordPress codex site you can….unless I misunderstood. I haven’t tackled that part yet. 🙂

      Reply
  36. Wiktori says

    September 7, 2011 at 3:35 am

    Child themes are great. Recently I lost my modifications after theme update so I have learnt the hard way.

    Reply
  37. Charlie at Financial Freedom Blog says

    September 6, 2011 at 6:50 pm

    Hi Lisa:

    Very helpful post, again!

    Do you know if the child theme protects widgets, plugin settings, etc.? Or, just the aesthetics of the site?

    I had problems with my sidebar widgets area not being able to open up to add/remove widgets. Not sure if the cause was on the browser side or the plugin side.
    Or, is it just the look / aesthetics of your site?

    I think I know the answer but always love to get your opinion/answers.

    Thanks,
    Charlie

    Reply
    • lisa says

      September 6, 2011 at 7:15 pm

      Yes, they should. Using a child theme is no different than using another theme. So just as you wouldn’t lose your plugins, etc. when you switch to another theme, you wouldn’t lose them using a child theme.

      Reply
  38. Barry Wheeler says

    September 6, 2011 at 12:56 pm

    Given that customizations remain intact, it means less work for me! I’ve switched to a child theme about 3 months ago and love it! I’m actually now in the process of switching to a premium theme on all my blogs because of the features this gives me.

    Reply
    • lisa says

      September 6, 2011 at 2:57 pm

      Excellent Barry!

      Reply
  39. Jay Castillo says

    September 6, 2011 at 5:34 am

    Hi Lisa, thanks a lot for this post, I also learned a lot about child themes. This may sound like a stupid question but I will ask anyway. Do I still need to use a child theme if I am already using Thesis?

    Reply
    • lisa says

      September 6, 2011 at 11:36 am

      It’s not a stupid question at all, Jay. Because Thesis already sets up a custom.css and custom_functions file that is not upgraded with any updates, then there is less of a need. However, it still won’t hurt. Read this article by Kristarella
      http://www.kristarella.com/2010/10/wordpress-child-themes-and-thesis/

      Reply
      • Jay Castillo says

        September 7, 2011 at 8:59 am

        Wow, thanks a lot for pointing that out Lisa. Thank you also for the link to Kristela’s article!

        Reply
        • Brankica says

          September 8, 2011 at 6:05 pm

          I was going to ask the same question but since I got my answer, just saying thanks. Both for the tutorial and reminding me of yet another reason why I was smart to chose Thesis 🙂

          Reply
  40. Wayne Lambert says

    September 5, 2011 at 2:58 pm

    Hi Lisa,

    I have benefited massively from using child themes on my blog.

    I use WooThemes and one of the reasons is because of the customisations you can make to the child theme whilst also benefiting from the updates to the parent theme.

    It’s definitely the way forward.

    Reply
  41. harvestwages says

    September 5, 2011 at 2:19 pm

    Hello Lisa,
    nice post about child themes. Although i’ve been into blogging for some years now, i’ve always wondered what it was all about.

    Reply
  42. Sunil from The Extra Money Blog says

    September 5, 2011 at 10:50 am

    learned something new. thanks Lisa

    Reply
  43. MatthewHundley says

    September 5, 2011 at 8:06 am

    This is such a helpful tip you got! I will surely make use of this and put it in use.

    Reply
  44. Adeline says

    September 5, 2011 at 7:51 am

    I’ve always wondered what child themes were. Thanks for the info.

    I just started my blog a little over a month and I’m pretty much a newbie on everything. Is it too late to setup a child theme for my blog?

    Thanks so much in advance.

    Reply
  45. Ileane says

    September 5, 2011 at 7:32 am

    Hi Lisa, this is a wonderful tutorial and it would be easy for an experienced user to follow. It’s certainly not for newbies, even though you started with baby steps. I discovered the difference between child themes and parent themes from some videos on WordPresstv. I’m not brave enough to try this one yet but thanks for the encouragement. 🙂

    btw – your CommentLuv plugin isn’t working for me – looks like you need to update it.

    Reply
    • lisa says

      September 5, 2011 at 12:19 pm

      Thanks, Ileane. I am having so much trouble with that plugin! I keep updating it and it still doesn’t work. Ugh!

      Reply
      • Ileane says

        September 5, 2011 at 5:31 pm

        Lisa, here’s the CommentLuv support link for you http://support.commentluv.com
        Andy is normally pretty quick to respond just remember he’s hours ahead of us.

        Reply
        • lisa says

          September 5, 2011 at 8:57 pm

          Thanks Ileane. Will do!

          Reply
  46. Brad says

    September 5, 2011 at 7:05 am

    Never thought about this before. Interesting…

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search This Blog

Enroll In My Online Courses!

Most Recent Posts

  • I Made $5,000 in 12 Hours With a Small Audience
  • My First $3,000 Month With My Ecommerce Brand
  • Why I Removed My 2Create Courses & More Updates!
  • Passive Income Shifts & What My Marketing DNA Test Results Revealed
  • My Income Evolution Online, Personal Growth & More!
  • Earning With The Amazon Influencer Program and Tutorial
  • Google Warns: Secure Your Site By October or Else…

Get My Blog and Podcast updates

Sign up so you never miss any of my new tips and tricks on my blog and podcast.

About Me

I make a living doing what I love -- teaching online. And I can't wait to help you learn. More about me.

Copyright © 2025 Blog Powered by The Daily Dish Studiopress Theme | Privacy Policy | Affiliate Disclosure