In this WordPress tutorial video, I respond to the following question on how to create, install and use a WordPress child theme:
Can you please explain child themes in the simplest terms possible? Also it would be really awesome to demonstrate buying a theme from themeforest, creating the child theme in a WordpPress installation, and going through a theme update process without disrupting child customizations. Take it from theme purchase through theme update. This demo is greatly needed in the beginner WP developer community. Thanks.
Ok so I set to work on a step-by-step answer to this request. I omitted the buying of a ThemeForest theme part and used the default Twenty Eleven theme instead. However, the tutorial can be applied to any WordPress theme, free or premium.
There are 3 main parts to this tutorial: part one looks at what a WordPress child theme is and why you might use one. Part two looks at how to create a child theme using a basic style.css file. Part 3 explains how to use the child theme and how to deal with parent theme updates.
Below is the basic code required for the style.css file:[wpsm_codebox style=”2″]
/* Theme Name: Twentyeleven Child Description: Child theme for the twentyeleven theme Author: Your name here Template: twentyeleven */ @import url("../twentyeleven/style.css");[/wpsm_codebox]
And as promised in the video, here are some recommended open source FTP clients and Text Editors for use in modifying your child themes:
Filezilla is one of the most popular Open Source FTP solutions available and it works on Mac, Windows and Linux. It is reliable software with a user-friendly interface. Highly recommendable.
Cyberduck is an open source SFTP (SSH Secure File Transfer) and FTP browser built from the ground up with usability in mind, with a friendly graphic interface. This is for Mac only.
elRTE is a WYSIWYG HTML editor for Web written using jQuery. It features rich text editing, options for changing its appearance and style, insertion and management of HTML elements with formatting, viewing and editing HTML code.
jEdit is a programmer’s text editor written in Java. It uses the Swing toolkit for the GUI and can be configured as a rather powerful IDE through the use of its plugin architecture.
Notepad++ is a source code editor and Notepad replacement, which supports several programming languages and runs under the MS Windows environment. Its features include syntax highlighting, WYSIWYG, auto-completion, multi document/view and more.
I hope this is of some use. If you have further tips or ideas on this topic, I'd be grateful if you could let me know in the comments below. Thanks.