| Category: Web Design
The easiest way to make changes to an existing theme is to create what is called a Child Theme. This is basically a sub-theme that uses all the main theme’s files and uses any files you include in its individual folder. That can mean adding on to an existing file (for instance, adding new functions to TwentyEleven by creating a functions.php file and adding your own stuff) or completely overwriting a file from the original theme (like including a new header.php file of our own). Here’s all you need:
/* Theme Name: Custom 2011 Theme URI: http://clarinerd.com/blog/web-design/child-themes/ Description: Child theme for the Twenty Eleven theme Version: 1.0 License: GNU General Public License License URI: license.txt Author: Sharon Murphy Author URI: http: //www.clarinerd.com/ Template: twentyeleven */ @import url("../twentyeleven/style.css");
That’s it! Everything else you want within your theme is up to you. I’ve got a few ideas around this site and there are some great options out on the internet if you search for “twentyeleven child theme”.
If you don’t want to have to create the directory and files listed above, a ZIP is available below:
To install, here’s what you do:
Have questions? Have requests on more info concerning child themes? I’m here to help 🙂