<?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"
	>
<channel>
	<title>Comments on: Using php to selectively show or hide content based on MT category</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2003/09/06/using-php-to-selectively-show-or-hide-content-based-on-mt-category/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2003/09/06/using-php-to-selectively-show-or-hide-content-based-on-mt-category/</link>
	<description></description>
	<pubDate>Fri, 21 Nov 2008 05:23:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Mama Write's Sideblog</title>
		<link>http://www.scriptygoddess.com/archives/2003/09/06/using-php-to-selectively-show-or-hide-content-based-on-mt-category/#comment-10573</link>
		<dc:creator>Mama Write's Sideblog</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/09/06/using-php-to-selectively-show-or-hide-content-based-on-mt-category/#comment-10573</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;http://www.mamawrite.com/sideblog/002843.html&lt;/strong&gt;
Using php to selectively show or hide content based on MT category...
</description>
		<content:encoded><![CDATA[<trackback /><strong><a href="http://www.mamawrite.com/sideblog/002843.html" rel="nofollow">http://www.mamawrite.com/sideblog/002843.html</a></strong><br />
Using php to selectively show or hide content based on MT category&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivette01</title>
		<link>http://www.scriptygoddess.com/archives/2003/09/06/using-php-to-selectively-show-or-hide-content-based-on-mt-category/#comment-10571</link>
		<dc:creator>Ivette01</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/09/06/using-php-to-selectively-show-or-hide-content-based-on-mt-category/#comment-10571</guid>
		<description>thanks for sharing Patricia and Jennifer :) Ill try to understand and play with it!</description>
		<content:encoded><![CDATA[<p>thanks for sharing Patricia and Jennifer <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Ill try to understand and play with it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Crys</title>
		<link>http://www.scriptygoddess.com/archives/2003/09/06/using-php-to-selectively-show-or-hide-content-based-on-mt-category/#comment-10572</link>
		<dc:creator>Crys</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2003/09/06/using-php-to-selectively-show-or-hide-content-based-on-mt-category/#comment-10572</guid>
		<description>I do do a fair amout of php coding and that's almost exactly how I do it :) I *am* more likely to use the other format for  an if statment in this case but it's purely an estetic matter the funtion is identical:

&lt;h3&gt;&#60;? if ( xxx == xxx ): ?&#62;
HTML code
&#60;? endif; ?&#62;&lt;/h3&gt;

and just in case some one needs the code here's how to add an else clause (as in show this if it's one catergory otherwise show this

&lt;h3&gt;&#60;? if ( xxx == xxx ): ?&#62;
HTML code
&#60;? else: ?&#62;
HTML code
&#60;? endif; ?&#62;&lt;/h3&gt;

OR

&lt;h3&gt;&#60;? if ( xxx == xxx ) { ?&#62;
HTML code
&#60;? } else { ?&#62;
HTML code
&#60;? } ?&#62;&lt;/h3&gt;

And to display somthing if the category (or whatever) is /not/ the value you give:

&lt;h3&gt; if ( xxx != xxx ) &lt;/h3&gt;

OR

&lt;h3&gt; if (!( xxx == xxx )) &lt;/h3&gt;</description>
		<content:encoded><![CDATA[<p>I do do a fair amout of php coding and that&#039;s almost exactly how I do it <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I *am* more likely to use the other format for  an if statment in this case but it&#039;s purely an estetic matter the funtion is identical:</p>
<h3>&lt;? if ( xxx == xxx ): ?&gt;<br />
HTML code<br />
&lt;? endif; ?&gt;</h3>
<p>and just in case some one needs the code here&#039;s how to add an else clause (as in show this if it&#039;s one catergory otherwise show this</p>
<h3>&lt;? if ( xxx == xxx ): ?&gt;<br />
HTML code<br />
&lt;? else: ?&gt;<br />
HTML code<br />
&lt;? endif; ?&gt;</h3>
<p>OR</p>
<h3>&lt;? if ( xxx == xxx ) { ?&gt;<br />
HTML code<br />
&lt;? } else { ?&gt;<br />
HTML code<br />
&lt;? } ?&gt;</h3>
<p>And to display somthing if the category (or whatever) is /not/ the value you give:</p>
<h3> if ( xxx != xxx ) </h3>
<p>OR</p>
<h3> if (!( xxx == xxx )) </h3>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.276 seconds -->
