<?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/"
		>
<channel>
	<title>Comments on: WordPress Custom Headers</title>
	<atom:link href="http://alexmansfield.com/wordpress/wordpress-custom-headers/feed" rel="self" type="application/rss+xml" />
	<link>http://alexmansfield.com/wordpress/wordpress-custom-headers</link>
	<description>WordPress Developer</description>
	<lastBuildDate>Sat, 14 Apr 2012 06:13:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: alexmansfield</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-749</link>
		<dc:creator>alexmansfield</dc:creator>
		<pubDate>Fri, 28 Oct 2011 19:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-749</guid>
		<description>It appears that the Twenty Ten theme handles that by adding an if statement in the header_style() function that checks to see if the header text color is blank, and if so, hides the header text:

if ( &#039;blank&#039; == get_header_textcolor() ){

}</description>
		<content:encoded><![CDATA[<p>It appears that the Twenty Ten theme handles that by adding an if statement in the header_style() function that checks to see if the header text color is blank, and if so, hides the header text:</p>
<p>if ( &#8216;blank&#8217; == get_header_textcolor() ){</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-734</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 24 Oct 2011 11:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-734</guid>
		<description>Oops - it didn&#039;t paste all the code...

function header_style() {
?&gt;
#header {
background: url()  no-repeat;
height: px;
width: px;
}
#site-title h2, #site-title p {
color:#;
}

#headimg {
background: url() no-repeat;
}
&lt;?php
}

add_custom_image_header( &#039;header_style&#039;, &#039;admin_header_style&#039; );</description>
		<content:encoded><![CDATA[<p>Oops &#8211; it didn&#8217;t paste all the code&#8230;</p>
<p>function header_style() {<br />
?&gt;<br />
#header {<br />
background: url()  no-repeat;<br />
height: px;<br />
width: px;<br />
}<br />
#site-title h2, #site-title p {<br />
color:#;<br />
}</p>
<p>#headimg {<br />
background: url() no-repeat;<br />
}<br />
&lt;?php<br />
}</p>
<p>add_custom_image_header( &#039;header_style&#039;, &#039;admin_header_style&#039; );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-733</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 24 Oct 2011 11:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-733</guid>
		<description>Thanks for this tutorial - it helped me out.

I&#039;m still having a problem with the &quot;Display Text&quot; option - it&#039;s not clearing the text when I select &quot;No&quot;. (It is however changing the text color correctly when I select yes and choose a color).

Have I missed something out? Here&#039;s my functions.php code:

// gets included in the site header
function header_style() {
    ?&gt;
	#header {
	background: url()  no-repeat;
	height: px;
	width: px;
	}
	#site-title h2, #site-title p {
	color:#;
	}
	
        #headimg {
		    background: url() no-repeat;
        }
    &lt;?php
}

add_custom_image_header( &#039;header_style&#039;, &#039;admin_header_style&#039; );
// END Custom header image

Thanks,

Andy</description>
		<content:encoded><![CDATA[<p>Thanks for this tutorial &#8211; it helped me out.</p>
<p>I&#8217;m still having a problem with the &#8220;Display Text&#8221; option &#8211; it&#8217;s not clearing the text when I select &#8220;No&#8221;. (It is however changing the text color correctly when I select yes and choose a color).</p>
<p>Have I missed something out? Here&#8217;s my functions.php code:</p>
<p>// gets included in the site header<br />
function header_style() {<br />
    ?&gt;<br />
	#header {<br />
	background: url()  no-repeat;<br />
	height: px;<br />
	width: px;<br />
	}<br />
	#site-title h2, #site-title p {<br />
	color:#;<br />
	}</p>
<p>        #headimg {<br />
		    background: url() no-repeat;<br />
        }<br />
    &lt;?php<br />
}</p>
<p>add_custom_image_header( &#039;header_style&#039;, &#039;admin_header_style&#039; );<br />
// END Custom header image</p>
<p>Thanks,</p>
<p>Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmansfield</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-700</link>
		<dc:creator>alexmansfield</dc:creator>
		<pubDate>Mon, 17 Oct 2011 08:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-700</guid>
		<description>You&#039;re welcome!</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rituraj</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-699</link>
		<dc:creator>Rituraj</dc:creator>
		<pubDate>Sun, 16 Oct 2011 20:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-699</guid>
		<description>Really awsome! It works great with wp 3.2.1!! Thanks a lot dear Alex!!! This small piece of script would make a great magic. :)</description>
		<content:encoded><![CDATA[<p>Really awsome! It works great with wp 3.2.1!! Thanks a lot dear Alex!!! This small piece of script would make a great magic. <img src='http://alexmansfield.com/wpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmansfield</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-529</link>
		<dc:creator>alexmansfield</dc:creator>
		<pubDate>Wed, 27 Jul 2011 03:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-529</guid>
		<description>...or just upload an image that is just a single color. I know that&#039;s not the most elegant solution, but at least it&#039;s easy.</description>
		<content:encoded><![CDATA[<p>&#8230;or just upload an image that is just a single color. I know that&#8217;s not the most elegant solution, but at least it&#8217;s easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmansfield</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-528</link>
		<dc:creator>alexmansfield</dc:creator>
		<pubDate>Tue, 26 Jul 2011 04:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-528</guid>
		<description>Unfortunately, that is a bit beyond the scope of this tutorial. I would suggest looking up the WordPress &quot;Options API&quot; to figure out a way to store another option in the database.

http://codex.wordpress.org/Options_API</description>
		<content:encoded><![CDATA[<p>Unfortunately, that is a bit beyond the scope of this tutorial. I would suggest looking up the WordPress &#8220;Options API&#8221; to figure out a way to store another option in the database.</p>
<p><a href="http://codex.wordpress.org/Options_API" rel="nofollow">http://codex.wordpress.org/Options_API</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dlaythem</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-527</link>
		<dc:creator>Dlaythem</dc:creator>
		<pubDate>Sun, 24 Jul 2011 12:54:36 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-527</guid>
		<description>Hi there !
i have a question about that :
if i want to select between a ( background-image or one-color background-color ) !
like if i don’t want to choose a image but i want a background-color for the header ?
do you have any idea ?
P.S : i want to do that from the same conrol panel not from style.css !</description>
		<content:encoded><![CDATA[<p>Hi there !<br />
i have a question about that :<br />
if i want to select between a ( background-image or one-color background-color ) !<br />
like if i don’t want to choose a image but i want a background-color for the header ?<br />
do you have any idea ?<br />
P.S : i want to do that from the same conrol panel not from style.css !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmansfield</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-44</link>
		<dc:creator>alexmansfield</dc:creator>
		<pubDate>Thu, 07 Oct 2010 20:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-44</guid>
		<description>No problem! I&#039;m glad to hear you got it figured out.</description>
		<content:encoded><![CDATA[<p>No problem! I&#8217;m glad to hear you got it figured out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Natalie</title>
		<link>http://alexmansfield.com/wordpress/wordpress-custom-headers#comment-43</link>
		<dc:creator>Natalie</dc:creator>
		<pubDate>Thu, 07 Oct 2010 03:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=229#comment-43</guid>
		<description>Nevermind--got it. Sorry for all the posts!</description>
		<content:encoded><![CDATA[<p>Nevermind&#8211;got it. Sorry for all the posts!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

