The child theme can be a really cool thing to play around with when using WordPress. The way this WordPress works is the child theme inherits to another theme known as a parent theme, the same way it would work with actual people.

Reason why create a child theme.

When WordPress or theme is updated all files and folders are over written and twenty ten theme being a default theme is over written as well.So any modification made on twenty ten theme will be lost where as if you made the modifications in a child theme you will still have your modifications intact. The child theme is hidden in its very own folder in wp-content/themes. When dealing with WordPress there is a typical structure when dealing with these different themes.

By creating a child theme will allow you to alter the parent theme settings as much as you want, and creating one is not as hard as some might think. The child theme can have a lot of really unique uses when using WordPress and it is a really simple process to create a simply child theme.

The steps are pretty standard create a directory; put a properly formatted style.css file in it, and that is really all it takes to create a child theme. Some gained knowledge of HTML and CSS would make this process very simple for anyone to attach it to a parent theme.
/video/childtheme-long.flv

The order of the list goes
public_html(root)
wp-content
themes
twentyten
twentyeleven
twentyeleven child
style.css

When in the directory one will notice that it contains many optional files, the only one that is really required is the style.css other files like functions.php and Template files are optional. Now the reason why style.css is the most important will appear obvious due to the fact that the main action of the CSS program is to provide the information header by which WordPress recognizes the child theme, and it simply switches it out for the style.css of the Parent theme.

However one of the cardinal rules when dealing with the CSS is to not put separate rules on the import rule, this can seriously compromise the style sheet and importing from the parent will not take place. Now one of the optional files that were mentioned really differs from the effects of the CSS file. The functions.php unlike the previous file will not effectively override the parent’s counterpart.

But will be included as an addition to the parent theme, which could very well be useful. With the process of this formula the file can give a smart, no stress way of modifying the actions of the parent theme. If these files are kept in mind, HTML and CSS is looked over, and the simple directions are followed creating a child theme can be an enjoyable experience.

 

Avatar of Govindji Patel

About

I am Author/Publisher WordPress Coach and Consultant who enjoys writing tutorials and helping wordpress users build better WordPress website/blog.

Related Posts

  • I like the valuable information you provide in your articles. I’ll bookmark your weblog and check again here regularly. I’m quite sure I’ll learn lots of new stuff right here! Best of luck for the next!

  • Thank you for visiting my website and glad to hear that you find my content valuable and will try and add some more use full articles.

blog comments powered by Disqus
Premium wordpress theme
Skype Status
Need Help with Wordpress Chat with me - Govindji Patel: My status is Online
» Get Skype, call free! If Offline please leave Message
Become A Fan
Free Report

WordPress Optimization Secrets

Get Your Blog To Rank Higher

Register and Download Free Report

Twenty Eleven Child Theme

Upgrade and get set of 35 videos on

how to create and customize child theme

Buy Me Coffee
Donation



Other Amount:



I appreciate a donation if you find my tutorials helpfull :



Your privacy will never be compromised or shared.
Congratulations

Thank you for Subscribing Please check your email for a confirmation email