<?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: How To: Use WordPress Conditional Tags to Hack Your Theme</title>
	<atom:link href="http://wphacks.com/wordpress-conditional-tags-hack-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Fri, 25 May 2012 15:57:13 +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: Nicole</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-73180</link>
		<dc:creator>Nicole</dc:creator>
		<pubDate>Tue, 30 Aug 2011 12:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-73180</guid>
		<description>Thanks! This is a great post. I would like to add about 30 conditional tags so that a difference sentence with 6 different links will appear on each different tag (i.e. tagged post will have a different sentence and set of links). Will this slow down my site?</description>
		<content:encoded><![CDATA[<p>Thanks! This is a great post. I would like to add about 30 conditional tags so that a difference sentence with 6 different links will appear on each different tag (i.e. tagged post will have a different sentence and set of links). Will this slow down my site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oris WilliamsF1</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-55454</link>
		<dc:creator>Oris WilliamsF1</dc:creator>
		<pubDate>Fri, 29 Apr 2011 04:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-55454</guid>
		<description>Thanks John! I’ve been burning hours trying to bring in a separate header for a static front page in WordPress 2.8 and this did the trick in a few minutes.</description>
		<content:encoded><![CDATA[<p>Thanks John! I’ve been burning hours trying to bring in a separate header for a static front page in WordPress 2.8 and this did the trick in a few minutes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tatil yerleri</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-22686</link>
		<dc:creator>tatil yerleri</dc:creator>
		<pubDate>Fri, 06 Aug 2010 19:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-22686</guid>
		<description>Great tips, they will definitely come in handy</description>
		<content:encoded><![CDATA[<p>Great tips, they will definitely come in handy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-22640</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 04 Aug 2010 23:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-22640</guid>
		<description>This article has been a great help to this wp newbie!</description>
		<content:encoded><![CDATA[<p>This article has been a great help to this wp newbie!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How To: Hack WordPress Theme Template Pages &#124; The Topic : Exposed</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-22276</link>
		<dc:creator>How To: Hack WordPress Theme Template Pages &#124; The Topic : Exposed</dc:creator>
		<pubDate>Wed, 21 Jul 2010 16:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-22276</guid>
		<description>[...] you could use a single index.php file to handle the 9 types of pages. You would simply code in some conditional tags, like I showed you in the last tutorial I wrote here on WP Hacks. A single index.php would then [...]</description>
		<content:encoded><![CDATA[<p>[...] you could use a single index.php file to handle the 9 types of pages. You would simply code in some conditional tags, like I showed you in the last tutorial I wrote here on WP Hacks. A single index.php would then [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How To: Use WordPress Conditional Tags to Hack Your Theme - Blog Tutorial</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-20258</link>
		<dc:creator>How To: Use WordPress Conditional Tags to Hack Your Theme - Blog Tutorial</dc:creator>
		<pubDate>Wed, 16 Jun 2010 08:29:42 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-20258</guid>
		<description>[...] here: How To: Use WordPress Conditional Tags to Hack Your Theme  Tags: 2-8-and, a-few-minutes-, a-separate-header, affiliate-store, also-gives, and-help, [...]</description>
		<content:encoded><![CDATA[<p>[...] here: How To: Use WordPress Conditional Tags to Hack Your Theme  Tags: 2-8-and, a-few-minutes-, a-separate-header, affiliate-store, also-gives, and-help, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russ Bryan</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-16542</link>
		<dc:creator>Russ Bryan</dc:creator>
		<pubDate>Sat, 08 May 2010 19:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-16542</guid>
		<description>I have a featured content gallery that i only want to show up on my static home page.  My theme has these templates:
404 Template (404.php)
Comments (comments.php)
Footer (footer.php)
Header (header.php)
Main Index Template (index.php)
Page Template (page.php)
Sidebar (sidebar.php)
Single Post (single.php)
Theme Functions (functions.php)

the code for the featured content gallery is this: 

How would i use conditional tag to make it only show up on the static home page, and one which template file would it go.

Thanks,</description>
		<content:encoded><![CDATA[<p>I have a featured content gallery that i only want to show up on my static home page.  My theme has these templates:<br />
404 Template (404.php)<br />
Comments (comments.php)<br />
Footer (footer.php)<br />
Header (header.php)<br />
Main Index Template (index.php)<br />
Page Template (page.php)<br />
Sidebar (sidebar.php)<br />
Single Post (single.php)<br />
Theme Functions (functions.php)</p>
<p>the code for the featured content gallery is this: </p>
<p>How would i use conditional tag to make it only show up on the static home page, and one which template file would it go.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dana</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-13571</link>
		<dc:creator>Dana</dc:creator>
		<pubDate>Mon, 29 Mar 2010 02:56:09 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-13571</guid>
		<description>Great article John... but there is a code error that I think may be throwing people off. In the early examples where you use OR to add multiple conditions, the closing parentheses, on the right, was missing (just before the curly bracket and ?) so the code didn&#039;t work. it&#039;s an easy thing to miss!. It should look like this :

if (is_home() &#124;&#124; is_category() &#124;&#124; is_page()) { ?&gt;</description>
		<content:encoded><![CDATA[<p>Great article John&#8230; but there is a code error that I think may be throwing people off. In the early examples where you use OR to add multiple conditions, the closing parentheses, on the right, was missing (just before the curly bracket and ?) so the code didn&#8217;t work. it&#8217;s an easy thing to miss!. It should look like this :</p>
<p>if (is_home() || is_category() || is_page()) { ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-13530</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Thu, 25 Mar 2010 15:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-13530</guid>
		<description>Will be modifying a plugin to act differently on category pages on the sidebar.. hopefully the is_category() will help.. thanks</description>
		<content:encoded><![CDATA[<p>Will be modifying a plugin to act differently on category pages on the sidebar.. hopefully the is_category() will help.. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: k.roussi</title>
		<link>http://wphacks.com/wordpress-conditional-tags-hack-theme/#comment-13336</link>
		<dc:creator>k.roussi</dc:creator>
		<pubDate>Fri, 12 Mar 2010 08:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://wphacks.com/?p=2000#comment-13336</guid>
		<description>This was what I needed. I didn&#039;t have to search more than 2 links to find everything all on your site! Thanks</description>
		<content:encoded><![CDATA[<p>This was what I needed. I didn&#8217;t have to search more than 2 links to find everything all on your site! Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

