<?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>Rose City Gardens &#187; WordPress theme development</title>
	<atom:link href="http://www.rosecitygardens.com/tag/wordpress-theme-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rosecitygardens.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 12 Jan 2012 20:22:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Eureka! Custom Header API Enlightenment</title>
		<link>http://www.rosecitygardens.com/wordpress/wordpress-themes/eureka-custom-header-api-enlightenment/</link>
		<comments>http://www.rosecitygardens.com/wordpress/wordpress-themes/eureka-custom-header-api-enlightenment/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 14:40:04 +0000</pubDate>
		<dc:creator>Web Wench</dc:creator>
				<category><![CDATA[Latest News]]></category>
		<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[WordPress Custom Header Image API]]></category>
		<category><![CDATA[WordPress SEO]]></category>
		<category><![CDATA[WordPress theme development]]></category>

		<guid isPermaLink="false">http://www.rosecitygardens.com/?p=245</guid>
		<description><![CDATA[For the longest time, I&#8217;ve been struggling with the WordPress Custom Header API. I wanted to use it in my next theme, but was getting some wierd behavior, and it was screwing up a snippet that I use in the header that renders the right heading tag for the right page, and the headerimg is [...]]]></description>
			<content:encoded><![CDATA[<p><!-- google_ad_section_start -->For the longest time, I&#8217;ve been struggling with the WordPress Custom Header API. I wanted to use it in my next theme, but was getting some wierd behavior, and it was screwing up a snippet that I use in the header that renders the right heading tag for the right page, and the headerimg is an &lt;h1&gt; tag on the front page only.  The post titles on the front page are &lt;h2&gt;. I use &lt;h1&gt; tags for top level pages, single post pages, and &lt;h2&gt; tags for archives, category pages and the like.   I use the above code to make sure the semantics were right.</p>
<p>I wish they&#8217;d made it a bit more flexible. it would be nice to upload both a background to the header div AND replace the headerimg div lext wtih a logo. And leave the description part alone, electing to hide it separately.</p>
<p>I am sure that all this can and will be soon accomplished by a WordPress geek soon! Just don&#8217;t expect it to be me! <img src='http://www.rosecitygardens.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>So, I elected to trash the idea of custom image header in the next theme. What I am going to start doing though, is opening both support forums and making videos of how to do these manually,</p>
<p>Here&#8217;s my code I couldn&#8217;t bear to part with: goes in header.php, replacing everything in the &lt;headerimg&gt; its ending &lt;/div&gt; tag.</p>
<p style="color: red">&lt;?php if (is_front_page()) { ?&gt;<br />
&lt;h1&gt;&lt;a href=&#8221;&lt;?php echo get_option(&#8216;home&#8217;); ?&gt;/&#8221; title=&#8221;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;&#8221;&gt;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;&lt;/a&gt;&lt;/h1&gt;</p>
<p style="color: red">&lt;?php } else { ?&gt;<br />
&lt;a href=&#8221;&lt;?php echo get_option(&#8216;home&#8217;); ?&gt;/&#8221; title=&#8221;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;&#8221;&gt;&lt;?php bloginfo(&#8216;name&#8217;); ?&gt;&lt;/a&gt;</p>
<p style="color: red">&lt;?php } ?&gt;</p>
<p>So, production on the promised theme shall begin again soon!<!-- google_ad_section_end --></p>
<p>Good morning, world!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rosecitygardens.com/wordpress/wordpress-themes/eureka-custom-header-api-enlightenment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

