<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:media="http://search.yahoo.com/mrss/"	>
<channel>
	<title>Comments on: Adding Additional Default Headers to the WordPress Twenty Ten Theme</title>
	<atom:link href="http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/</link>
	<description>Beginner&#039;s Guide for WordPress</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:04:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: ian.altman</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-121522</link>
		<dc:creator>ian.altman</dc:creator>
		<pubDate>Mon, 27 Jun 2011 18:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-121522</guid>
		<description>I am trying to modify my header image at http://www.GrowMyRevenue.com.  My new header image is 170px in height. When I look at Functions.php, it appears that I have changed the default value for height.  But, it is not changing the site. And, when I go to upload the image, it wants me to resize it to the original template dimensions. I created a child theme of TwentyTen, but I have done the modifications in functions.php in the TwentyTen directory (since I do not have a copy of it in the child theme).  Thank you for the help.</description>
		<content:encoded><![CDATA[<p>I am trying to modify my header image at <a href="http://www.GrowMyRevenue.com" rel="nofollow">http://www.GrowMyRevenue.com</a>.  My new header image is 170px in height. When I look at Functions.php, it appears that I have changed the default value for height.  But, it is not changing the site. And, when I go to upload the image, it wants me to resize it to the original template dimensions. I created a child theme of TwentyTen, but I have done the modifications in functions.php in the TwentyTen directory (since I do not have a copy of it in the child theme).  Thank you for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Horst</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-40301</link>
		<dc:creator>Horst</dc:creator>
		<pubDate>Tue, 05 Oct 2010 08:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-40301</guid>
		<description>Hey, thanks a lot for that tuturial. You saved may day!

Regards
Horst</description>
		<content:encoded><![CDATA[<p>Hey, thanks a lot for that tuturial. You saved may day!</p>
<p>Regards<br />
Horst</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piet</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-35445</link>
		<dc:creator>Piet</dc:creator>
		<pubDate>Fri, 03 Sep 2010 16:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-35445</guid>
		<description>It is actually strange that WPBeginner recommends people to tinker with the Twenty Ten theme files directly. As soon as the theme receives an update, all your hard labor will be gone! WordPress recommends to make a child theme and then your code won&#039;t work. The correct way of adding it to your functions.php is not with %s but by adding the following code:

//Add additional headers 
function yourchildtheme_setup(){

	$yourchildtheme_dir =	get_bloginfo(&#039;stylesheet_directory&#039;);
	register_default_headers( array (
		&#039;image1&#039; =&gt; array (
			&#039;url&#039; =&gt; &quot;$yourchildtheme_dir/images/image1.jpg&quot;,
			&#039;thumbnail_url&#039; =&gt; &quot;$centipede_dir/images/thumbs/image1.jpg&quot;,
			&#039;description&#039; =&gt; __( &#039;Image Description&#039;, &#039;yourchildtheme&#039; )
		), // if you have more than one image you will need a comma between all of them, except for the last one
		&#039;image2&#039; =&gt; array (
			&#039;url&#039; =&gt; &quot;$yourchildtheme_dir/images/image2.jpg&quot;,
			&#039;thumbnail_url&#039; =&gt; &quot;$centipede_dir/images/thumbs/image2.jpg&quot;,
			&#039;description&#039; =&gt; __( &#039;Image Description&#039;, &#039;yourchildtheme&#039; )
		) // the last image does not get a comma
	));
}
add_action( &#039;after_setup_theme&#039;, &#039;yourchildtheme_setup&#039; );

For a full explanation, please visit http://wp.me/pNIxD-1l</description>
		<content:encoded><![CDATA[<p>It is actually strange that WPBeginner recommends people to tinker with the Twenty Ten theme files directly. As soon as the theme receives an update, all your hard labor will be gone! WordPress recommends to make a child theme and then your code won&#8217;t work. The correct way of adding it to your functions.php is not with %s but by adding the following code:</p>
<p>//Add additional headers<br />
function yourchildtheme_setup(){</p>
<p>	$yourchildtheme_dir =	get_bloginfo(&#8216;stylesheet_directory&#8217;);<br />
	register_default_headers( array (<br />
		&#8216;image1&#8242; =&gt; array (<br />
			&#8216;url&#8217; =&gt; &#8220;$yourchildtheme_dir/images/image1.jpg&#8221;,<br />
			&#8216;thumbnail_url&#8217; =&gt; &#8220;$centipede_dir/images/thumbs/image1.jpg&#8221;,<br />
			&#8216;description&#8217; =&gt; __( &#8216;Image Description&#8217;, &#8216;yourchildtheme&#8217; )<br />
		), // if you have more than one image you will need a comma between all of them, except for the last one<br />
		&#8216;image2&#8242; =&gt; array (<br />
			&#8216;url&#8217; =&gt; &#8220;$yourchildtheme_dir/images/image2.jpg&#8221;,<br />
			&#8216;thumbnail_url&#8217; =&gt; &#8220;$centipede_dir/images/thumbs/image2.jpg&#8221;,<br />
			&#8216;description&#8217; =&gt; __( &#8216;Image Description&#8217;, &#8216;yourchildtheme&#8217; )<br />
		) // the last image does not get a comma<br />
	));<br />
}<br />
add_action( &#8216;after_setup_theme&#8217;, &#8216;yourchildtheme_setup&#8217; );</p>
<p>For a full explanation, please visit <a href="http://wp.me/pNIxD-1l" rel="nofollow">http://wp.me/pNIxD-1l</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Editorial Staff</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-34632</link>
		<dc:creator>Editorial Staff</dc:creator>
		<pubDate>Tue, 31 Aug 2010 14:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-34632</guid>
		<description>You can add your theme directory hook like you would in header.php file.</description>
		<content:encoded><![CDATA[<p>You can add your theme directory hook like you would in header.php file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neocelt</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-34513</link>
		<dc:creator>neocelt</dc:creator>
		<pubDate>Mon, 30 Aug 2010 22:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-34513</guid>
		<description>Thanks so much for this great post, the information is really clear and well presented. I do have one question though ...

&#039;%s&#039; - my childtheme still references the images from the parent twenty ten image directory. I&#039;ve made various attempts in functions.php to try and get my child theme to ref it&#039;s own childtheme/images/headers/ files but to no avail. I&#039;m relatively new to both wordpress and php, if you have any pointers they&#039;d be much appreciated.</description>
		<content:encoded><![CDATA[<p>Thanks so much for this great post, the information is really clear and well presented. I do have one question though &#8230;</p>
<p>&#8216;%s&#8217; &#8211; my childtheme still references the images from the parent twenty ten image directory. I&#8217;ve made various attempts in functions.php to try and get my child theme to ref it&#8217;s own childtheme/images/headers/ files but to no avail. I&#8217;m relatively new to both wordpress and php, if you have any pointers they&#8217;d be much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renato</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-27837</link>
		<dc:creator>Renato</dc:creator>
		<pubDate>Sat, 31 Jul 2010 14:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-27837</guid>
		<description>Great post!
Easy to do, but hard to find other tutorials on the subject. Thanks for that!</description>
		<content:encoded><![CDATA[<p>Great post!<br />
Easy to do, but hard to find other tutorials on the subject. Thanks for that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Smelik</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-25501</link>
		<dc:creator>Rob Smelik</dc:creator>
		<pubDate>Wed, 14 Jul 2010 15:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-25501</guid>
		<description>Excellent post I was wondering how to get my own defualt set of header images to load on the back end. 

It&#039;s a shame that when you upload a new header it doesn&#039;t add it to the default set. It does add it to the media library but then they don&#039;t give you a way of navigating to those images you have already uploaded... strange. I can&#039;t complain too much though because Twenty Ten is an amazing theme far better than Kubrick ever was. 

Anyway thanks for the workaround!</description>
		<content:encoded><![CDATA[<p>Excellent post I was wondering how to get my own defualt set of header images to load on the back end. </p>
<p>It&#8217;s a shame that when you upload a new header it doesn&#8217;t add it to the default set. It does add it to the media library but then they don&#8217;t give you a way of navigating to those images you have already uploaded&#8230; strange. I can&#8217;t complain too much though because Twenty Ten is an amazing theme far better than Kubrick ever was. </p>
<p>Anyway thanks for the workaround!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Editorial Staff</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-24870</link>
		<dc:creator>Editorial Staff</dc:creator>
		<pubDate>Sat, 10 Jul 2010 19:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-24870</guid>
		<description>You can modify the actual theme by editing the theme files located in your wp-content/themes/ directory. To add more images to your main twenty theme, then follow the guidelines in this article.</description>
		<content:encoded><![CDATA[<p>You can modify the actual theme by editing the theme files located in your wp-content/themes/ directory. To add more images to your main twenty theme, then follow the guidelines in this article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shirley</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-24792</link>
		<dc:creator>Shirley</dc:creator>
		<pubDate>Sat, 10 Jul 2010 04:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-24792</guid>
		<description>i would like to modify the twenty-ten theme itself. where can i do this without creating a child theme? thx</description>
		<content:encoded><![CDATA[<p>i would like to modify the twenty-ten theme itself. where can i do this without creating a child theme? thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Editorial Staff</title>
		<link>http://www.wpbeginner.com/wp-themes/adding-additional-default-headers-to-the-wordpress-twenty-ten-theme/comment-page-1/#comment-24610</link>
		<dc:creator>Editorial Staff</dc:creator>
		<pubDate>Thu, 08 Jul 2010 13:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1974#comment-24610</guid>
		<description>By creating a child theme that modifies the styling of a Twenty Ten theme.</description>
		<content:encoded><![CDATA[<p>By creating a child theme that modifies the styling of a Twenty Ten theme.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Content Delivery Network via cdn.wpbeginner.com

Served from: www.wpbeginner.com @ 2012-02-10 01:27:05 -->
