












<?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: Exclude categories from wordpress frontpage</title>
	<atom:link href="http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/</link>
	<description>Snippets from the web</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:03:18 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gangster95</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-7668</link>
		<dc:creator>Gangster95</dc:creator>
		<pubDate>Fri, 23 Oct 2009 09:45:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-7668</guid>
		<description>It would be condemnable   on consequentialist grounds, if there are feasible alternative arrangements   that would bring about more mixing of people, a better fit of complementary   types in productive schemes of cooperation, and better outcomes for   people according to the right standard for assessing outcomes. ,</description>
		<content:encoded><![CDATA[<p>It would be condemnable   on consequentialist grounds, if there are feasible alternative arrangements   that would bring about more mixing of people, a better fit of complementary   types in productive schemes of cooperation, and better outcomes for   people according to the right standard for assessing outcomes. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnold96</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-7663</link>
		<dc:creator>Arnold96</dc:creator>
		<pubDate>Thu, 22 Oct 2009 10:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-7663</guid>
		<description>Organised by Management Forum. ,</description>
		<content:encoded><![CDATA[<p>Organised by Management Forum. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-6589</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Fri, 02 Oct 2009 02:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-6589</guid>
		<description>why not just use these plugins, find them in google by typing: &quot;wordpress exclude category plugin&quot;</description>
		<content:encoded><![CDATA[<p>why not just use these plugins, find them in google by typing: &#8220;wordpress exclude category plugin&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matias</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-6259</link>
		<dc:creator>Matias</dc:creator>
		<pubDate>Fri, 31 Jul 2009 17:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-6259</guid>
		<description>Excelent... simple and efective. Thank you thinkdj</description>
		<content:encoded><![CDATA[<p>Excelent&#8230; simple and efective. Thank you thinkdj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mudassar Ijaz</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-6154</link>
		<dc:creator>Mudassar Ijaz</dc:creator>
		<pubDate>Wed, 15 Jul 2009 22:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-6154</guid>
		<description>To exclude a category from the loop on the front page, find this code:



and change it to this:




This will exclude posts in category number four from being displayed on the front page.</description>
		<content:encoded><![CDATA[<p>To exclude a category from the loop on the front page, find this code:</p>
<p>and change it to this:</p>
<p>This will exclude posts in category number four from being displayed on the front page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-5184</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Wed, 25 Mar 2009 02:33:38 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-5184</guid>
		<description>Hey,

I don&#039;t know if it is still usefull for you or that it is just a feature of the TMA theme, but with the code beneath the two categories Asides and Featured are removed from the resulting list.

&lt;code&gt;
get_var(&quot;SELECT term_ID FROM $wpdb-&gt;terms WHERE name=&#039;Asides&#039;&quot;); ?&gt;

get_var(&quot;SELECT term_ID FROM $wpdb-&gt;terms WHERE name=&#039;Featured&#039;&quot;); ?&gt;

&lt;?php $the_query = new WP_Query(&#039;cat=-&#039; .$catid. &#039;,-&#039; .$catid2.  &#039;&amp;showposts=1&amp;orderby=post_date&amp;order=desc&#039;);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I don&#8217;t know if it is still usefull for you or that it is just a feature of the TMA theme, but with the code beneath the two categories Asides and Featured are removed from the resulting list.</p>
<p><code><br />
get_var("SELECT term_ID FROM $wpdb-&gt;terms WHERE name='Asides'"); ?&gt;</p>
<p>get_var("SELECT term_ID FROM $wpdb-&gt;terms WHERE name='Featured'"); ?&gt;</p>
<p>&lt;?php $the_query = new WP_Query('cat=-' .$catid. ',-' .$catid2.  '&amp;showposts=1&amp;orderby=post_date&amp;order=desc');</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fendy Ahmad</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-4486</link>
		<dc:creator>Fendy Ahmad</dc:creator>
		<pubDate>Wed, 03 Dec 2008 09:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-4486</guid>
		<description>Although it&#039;d work skipping the unwanted category but it will not change the number of &quot;Previous Post&quot; pagination at the bottom.

Have any idea how to modify that?</description>
		<content:encoded><![CDATA[<p>Although it&#8217;d work skipping the unwanted category but it will not change the number of &#8220;Previous Post&#8221; pagination at the bottom.</p>
<p>Have any idea how to modify that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to be exclusive &#124; Code and Cappuccino</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-3871</link>
		<dc:creator>How to be exclusive &#124; Code and Cappuccino</dc:creator>
		<pubDate>Fri, 15 Aug 2008 20:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-3871</guid>
		<description>[...] Exclude categories from wordpress frontpage  [...]</description>
		<content:encoded><![CDATA[<p>[...] Exclude categories from wordpress frontpage  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rachel Buddeberg</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-3437</link>
		<dc:creator>Rachel Buddeberg</dc:creator>
		<pubDate>Mon, 16 Jun 2008 05:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-3437</guid>
		<description>Thanks, Rafael! I&#039;ll try that...</description>
		<content:encoded><![CDATA[<p>Thanks, Rafael! I&#8217;ll try that&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Chaves</title>
		<link>http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/comment-page-1/#comment-3436</link>
		<dc:creator>Rafael Chaves</dc:creator>
		<pubDate>Mon, 16 Jun 2008 04:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogulate.com/content/exclude-categories-from-wordpress-frontpage/#comment-3436</guid>
		<description>Trying again:

	&lt;?php if (have_posts()) : ?&gt;

		&lt;?php while (have_posts()) : the_post(); ? &gt; 
                     &lt;?php if (is_home()) {
                        $categories = get_the_category();
                        if (count($categories) == 1 &amp;&amp; $categories[0]-&gt;cat_ID == &#039;12&#039;) continue; 
                     } ?&gt;</description>
		<content:encoded><![CDATA[<p>Trying again:</p>
<p>	&lt;?php if (have_posts()) : ?&gt;</p>
<p>		&lt;?php while (have_posts()) : the_post(); ? &gt;<br />
                     &lt;?php if (is_home()) {<br />
                        $categories = get_the_category();<br />
                        if (count($categories) == 1 &amp;&amp; $categories[0]-&gt;cat_ID == &#8216;12&#8242;) continue;<br />
                     } ?&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
