<?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>James Conzett &#187; Wordpress Code</title>
	<atom:link href="http://jamesconzett.com/index.php/category/wordpress-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesconzett.com</link>
	<description>Luck is when preperation meets opportunity</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:16:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress &#8211; Show search term</title>
		<link>http://jamesconzett.com/index.php/show-search-term/</link>
		<comments>http://jamesconzett.com/index.php/show-search-term/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 21:56:08 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Wordpress Code]]></category>

		<guid isPermaLink="false">http://www.jamesconzett.com/?p=162</guid>
		<description><![CDATA[Paste this in your search.php theme template or wherever you need it.
 Results for &#60;?php echo $_GET['s'] ?&#62;
The $_GET['s'] is obviously the search term that was entered into the search box.
This will display the Search Term used that inspired the creation of the resulting page. 
]]></description>
			<content:encoded><![CDATA[<p>Paste this in your search.php theme template or wherever you need it.</p>
<p> <strong>Results for <em>&lt;?php echo $_GET['s'] ?&gt;</em></strong></p>
<p>The $_GET['s'] is obviously the search term that was entered into the search box.</p>
<p>This will display the Search Term used that inspired the creation of the resulting page. </p>
]]></content:encoded>
			<wfw:commentRss>http://jamesconzett.com/index.php/show-search-term/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WP &#8211; &#8220;X&#8221; on home page only</title>
		<link>http://jamesconzett.com/index.php/wordpress-show-something-only-on-home-page/</link>
		<comments>http://jamesconzett.com/index.php/wordpress-show-something-only-on-home-page/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 12:07:42 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Wordpress Code]]></category>

		<guid isPermaLink="false">http://www.jamesconzett.com/?p=122</guid>
		<description><![CDATA[Below code allows me to display something or execute something only on the home or front page of a site.
&#60;?php if ( is_front_page() ) { ?&#62;
Insert a &#8220;home page only&#8221; item.
&#60;?php } else { ?&#62;
Insert what appears on the rest on the pages/posts.
&#60;?php } ?&#62;
This can be easily added into a templates single.php, page.php, header.php, [...]]]></description>
			<content:encoded><![CDATA[<p>Below code allows me to display something or execute something only on the home or front page of a site.</p>
<p><strong>&lt;?php if ( is_front_page() ) { ?&gt;<br />
Insert a &#8220;home page only&#8221; item.<br />
&lt;?php } else { ?&gt;<br />
Insert what appears on the rest on the pages/posts.<br />
&lt;?php } ?&gt;</strong></p>
<p>This can be easily added into a templates single.php, page.php, header.php, footer.php or where ever you need it. </p>
<p>A great use for this is banners. </p>
<p>For example: I want a small flash presentation to play once and not repeat as the site is navigated.</p>
<p>Using the above tag, I can create a quick solution.</p>
<p><strong>&lt;?php if ( is_front_page() ) { ?&gt;<br />
&lt;img src=&#8221;an_image_or_flash_embed_for_only_home_page.png&#8221;&gt;<br />
&lt;?php } else { ?&gt;<br />
&lt;img src=&#8221;another_image_or_flash_embed_for_the_rest.png&#8221;&gt;<br />
&lt;?php } ?&gt;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://jamesconzett.com/index.php/wordpress-show-something-only-on-home-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

