<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Blog House &#187; Twenty Ten Theme Archives  // The Blog House</title>
	<atom:link href="http://thebloghouse.com/blog/tag/twenty-ten-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://thebloghouse.com</link>
	<description>we know WordPress</description>
	<lastBuildDate>Thu, 19 Jan 2012 13:46:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Customize Twenty Ten</title>
		<link>http://thebloghouse.com/blog/wordpress/tutorials/customize-twenty-ten/</link>
		<comments>http://thebloghouse.com/blog/wordpress/tutorials/customize-twenty-ten/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 23:50:45 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Customise Twenty Ten]]></category>
		<category><![CDATA[Customize Twenty Ten]]></category>
		<category><![CDATA[Twenty Ten Theme]]></category>

		<guid isPermaLink="false">http://thebloghouse.com/?p=914</guid>
		<description><![CDATA[Twenty Ten is the new default theme for WordPress 3.0 and makes great use of all the new features this new major release brings so it seems to make sense to start with this as a base for your next WordPress based project&#8217;s theme yeah? Well before you start jumping in and hacking the code [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthebloghouse.com%2Fblog%2Fwordpress%2Ftutorials%2Fcustomize-twenty-ten%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthebloghouse.com%2Fblog%2Fwordpress%2Ftutorials%2Fcustomize-twenty-ten%2F&amp;source=TheBlogHouse&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<h2><a href="http://thebloghouse.com/files/2010/06/Twenty-Ten-WordPress-Theme.jpg" rel="lightbox[914]"><img class="size-full wp-image-901 aligncenter" title="Twenty Ten Theme" src="http://thebloghouse.com/files/2010/06/Twenty-Ten-WordPress-Theme.jpg" alt="Twenty Ten WordPress Theme" width="470" height="175" /></a></h2>
<p>Twenty Ten is the new default theme for WordPress 3.0 and makes great use of all the new features this new major release brings so it seems to make sense to start with this as a base for your next WordPress based project&#8217;s theme yeah?</p>
<p>Well before you start jumping in and hacking the code you need to realise Twenty Ten is in fact a <strong>Parent Theme</strong> and you can make ALL your required CSS / Function and Template modifications in a subdirectory so when the main Twenty Theme is updated all those tweaks and hacks won&#8217;t be lost for ever &#8211; cool ay?</p>
<p>Of course WordPress do a great job of explaining how to start working with Child Themes using Twenty Ten as the base <a title="Child themes" href="http://codex.wordpress.org/Child_Themes" target="_blank">here</a> but we thought we would summarise our take on this for those who need the bare minimum to get started:  Got your favourite PHP / CSS editor ready? Great let&#8217;s begin&#8230;</p>
<h3>How to set up your directory should be set up</h3>
<p>The most important aspect of getting your new child theme working is making sure you have the required files in the correct place like this:</p>
<ul>
<li> <strong>web root</strong>
<ul>
<li> <span style="color: #ff0000;"><strong>wp-content</strong></span>
<ul>
<li> <span style="color: #ff0000;"><strong>themes</strong></span> (directory where all your themes are)
<ul>
<li> <span style="color: #ff0000;"><strong>twentyten</strong></span> (directory where the Twenty Ten Theme is)</li>
<li> <span style="color: #ff0000;"><strong>your-new-twentyten-child</strong></span> (directory of your new child  theme &#8211; you can call this anything!)
<ul>
<li> <span style="color: #ff0000;"><strong>style.css</strong> </span>(the only 100% required file in a child theme which <strong>must be named <em>style.css</em></strong>)</li>
<li><strong>functions.php</strong> &#8211; this is optional but is the place to add new functions to your theme. It is <strong>loaded in addition to the parent’s functions.php</strong> and right <em>before</em> the parent’s file.</li>
<li><strong>header.php</strong>, <strong>index.php</strong> etc &#8211; Again you don&#8217;t need these but the best thing to do is make a copy of the original Twenty Ten Theme files you want to modify and store them here. Then edit these copies to remove things that you cannot do via the nice new options within the WordPress Admin area and be safe in the knowledge you can always just delete your copies to get back to the Twenty Ten Originals</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>What needs to be in the child style.css file as a bare minimum</h3>
<p>The following is the standard</p>
<pre>/*
Theme Name:     My Twenty Ten Child
Theme URI:      http: //thebloghouse.com
Description:    My child theme for the Twenty Ten theme
Author:                Andy
Author URI:     http: //thebloghouse.com
Template:       twentyten
Version:        0.1.0
*/

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

/* The following CSS is our example - you do not need to change your site's title link colour */

#site-title a {
    color: #009900;
}</pre>
<h3>Seems easy enough yeah?</h3>
<p>Only thing you need to watch out for is if you want to say change the way Twenty Ten deals with certain CSS values you need to make sure you copy the full original CSS into your style CSS and change each value. By this we mean say you want to change the nice new Twenty Ten footer. You would find the following in the original style.css and copy this to your style.css file:</p>
<pre>#colophon {
 border-top: 2pt solid #000;
 }</pre>
<p>However simply removing the <em><strong>border-top: 2pt solid #000;</strong></em> part will <strong>NOT</strong> remove the border &#8211; you would need to have the following <strong><em>none</em></strong> value to override the original style.css:</p>
<pre>#colophon {
 border-top: <span style="color: #ff0000;"><strong>none</strong></span>;
 }</pre>
<p>Obviously this is a very quick and simplistic look at the great work that everyone who has worked on and contributed to WordPress 3.0 and the Twenty Ten theme but if you are struggling with the basics hopefully the info above might help.</p>
<p>If not I would suggest reading the documentation again <a title="Child themes" href="http://codex.wordpress.org/Child_Themes" target="_blank">here</a>, check out the 1 hour + video below by Steve Bruner and his WordPress 3.0 Customization Techniques or feel free to post a question in the comments below.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="guid=cYSkh46r&amp;width=640&amp;height=360&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M" /><param name="src" value="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" /><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" allowfullscreen="true" wmode="transparent" flashvars="guid=cYSkh46r&amp;width=640&amp;height=360&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://thebloghouse.com/blog/wordpress/tutorials/customize-twenty-ten/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
	</channel>
</rss>

