<?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: Showing custom post types on your home/blog page</title>
	<atom:link href="http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page/feed" rel="self" type="application/rss+xml" />
	<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page</link>
	<description>Life, Blogging, and WordPress</description>
	<lastBuildDate>Wed, 08 Sep 2010 16:31:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jason</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-226726</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Thu, 02 Sep 2010 18:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-226726</guid>
		<description>I had a question about the sample screen shot at the beginning of the post.  How would you have wordpress show the custom post type before the title like you do here?  Also how would you style that?</description>
		<content:encoded><![CDATA[<p>I had a question about the sample screen shot at the beginning of the post.  How would you have wordpress show the custom post type before the title like you do here?  Also how would you style that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ovidiu</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-223477</link>
		<dc:creator>Ovidiu</dc:creator>
		<pubDate>Thu, 19 Aug 2010 13:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-223477</guid>
		<description>I currently use this code, as per your example to show different custom post types on my home page.

&lt;pre&gt;&lt;code&gt;/*show pages and recipes on home page */
function my_get_posts( $query ) {

if ( ( is_home() &amp;&amp; false == $query-&gt;query_vars[&#039;suppress_filters&#039;] ) &#124;&#124; is_feed() )
$query-&gt;set( &#039;post_type&#039;, array( &#039;post&#039;, &#039;page&#039;, &#039;recipe&#039;) );

return $query;
}

?&gt;&lt;/code&gt;&lt;/pre&gt;

can you help me change the code to exclude posts from a certain category from being displayed?</description>
		<content:encoded><![CDATA[<p>I currently use this code, as per your example to show different custom post types on my home page.</p>
<pre><code>/*show pages and recipes on home page */
function my_get_posts( $query ) {

if ( ( is_home() &amp;&amp; false == $query-&gt;query_vars['suppress_filters'] ) || is_feed() )
$query-&gt;set( 'post_type', array( 'post', 'page', 'recipe') );

return $query;
}

?&gt;</code></pre>
<p>can you help me change the code to exclude posts from a certain category from being displayed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nickmorss</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-222641</link>
		<dc:creator>nickmorss</dc:creator>
		<pubDate>Mon, 16 Aug 2010 16:32:22 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-222641</guid>
		<description>Im getting the same issue as Ivan.

I want to be able to show my custom Post types when i filter by category... Ivans code works but with nasty side effects

http://wordpress.org/support/topic/adding-custom-post-type-to-the-loop-wp-nav-menu-dissapears?replies=5#post-1645931

HELP!!!</description>
		<content:encoded><![CDATA[<p>Im getting the same issue as Ivan.</p>
<p>I want to be able to show my custom Post types when i filter by category&#8230; Ivans code works but with nasty side effects</p>
<p><a href="http://wordpress.org/support/topic/adding-custom-post-type-to-the-loop-wp-nav-menu-dissapears?replies=5#post-1645931" rel="nofollow">http://wordpress.org/support/topic/adding-custom-post-type-to-the-loop-wp-nav-menu-dissapears?replies=5#post-1645931</a></p>
<p>HELP!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JeremyT.</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-221984</link>
		<dc:creator>JeremyT.</dc:creator>
		<pubDate>Sat, 14 Aug 2010 04:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-221984</guid>
		<description>Hi Justin, thanks for this code. I don&#039;t pretend to fully understand it, but I will try to implement this feature. I like the flexibility of adding post type to the blog page.</description>
		<content:encoded><![CDATA[<p>Hi Justin, thanks for this code. I don&#8217;t pretend to fully understand it, but I will try to implement this feature. I like the flexibility of adding post type to the blog page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Margarida</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-219264</link>
		<dc:creator>Margarida</dc:creator>
		<pubDate>Wed, 04 Aug 2010 07:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-219264</guid>
		<description>Hi there Justin,
I have just started a new blog, and I am using a child theme for twentyten. I created two post types and noticed that they don&#039;t show up at all. Even with a category assigned to them, they don&#039;t show up in category page.
So I inserted the code you gave here in my function.php, and post types already show up in my homepage, but I get this error:

Warning: Illegal offset type in isset or empty in /home/magawork/public_html/criaturasblog/wp-includes/post.php on line 736

Warning: Illegal offset type in isset or empty in /home/magawork/public_html/criaturasblog/wp-includes/post.php on line 736

I have no idea what this means.
Can you help me please?</description>
		<content:encoded><![CDATA[<p>Hi there Justin,<br />
I have just started a new blog, and I am using a child theme for twentyten. I created two post types and noticed that they don&#8217;t show up at all. Even with a category assigned to them, they don&#8217;t show up in category page.<br />
So I inserted the code you gave here in my function.php, and post types already show up in my homepage, but I get this error:</p>
<p>Warning: Illegal offset type in isset or empty in /home/magawork/public_html/criaturasblog/wp-includes/post.php on line 736</p>
<p>Warning: Illegal offset type in isset or empty in /home/magawork/public_html/criaturasblog/wp-includes/post.php on line 736</p>
<p>I have no idea what this means.<br />
Can you help me please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renee</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-218513</link>
		<dc:creator>Renee</dc:creator>
		<pubDate>Mon, 02 Aug 2010 00:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-218513</guid>
		<description>Where would you change &lt;code&gt;is_home()&lt;/code&gt;?</description>
		<content:encoded><![CDATA[<p>Where would you change <code>is_home()</code>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ami</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-216858</link>
		<dc:creator>Ami</dc:creator>
		<pubDate>Tue, 27 Jul 2010 16:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-216858</guid>
		<description>Just what I&#039;ve been looking for but problem I have run in to a problem.

All my posts show on the home page page as I wish but I also have a gallery page which I would only like to display my gallery custom post types.

This is my code in page-gallery.php:



If I remove Justin&#039;s code from my function.php then the only the gallery posts will be shown on the page but no on my home page.

Any idea&#039;s? Or have I missed something?

Thanks</description>
		<content:encoded><![CDATA[<p>Just what I&#8217;ve been looking for but problem I have run in to a problem.</p>
<p>All my posts show on the home page page as I wish but I also have a gallery page which I would only like to display my gallery custom post types.</p>
<p>This is my code in page-gallery.php:</p>
<p>If I remove Justin&#8217;s code from my function.php then the only the gallery posts will be shown on the page but no on my home page.</p>
<p>Any idea&#8217;s? Or have I missed something?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Afficher les &#8220;Custom Post Types&#8221; sur votre blog et flux RSS ! sur Geekeries.fr &#124; Découvrir WordPress</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-215227</link>
		<dc:creator>Afficher les &#8220;Custom Post Types&#8221; sur votre blog et flux RSS ! sur Geekeries.fr &#124; Découvrir WordPress</dc:creator>
		<pubDate>Thu, 22 Jul 2010 11:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-215227</guid>
		<description>[...] Justin Tadlock met avant la simplicité d&#039;afficher les nouveaux types de modules d&#039;articles sur la page d&#039;accueil de votre blog WordPress, mais également dans flux d&#039;informations. En effet, bien que cette fonctionnalité est très efficace elle reste néanmoins accessible qu&#039;à une partie des utilisateurs du gestionnaire de contenu qu&#039;est WordPress. Ces types de modules d&#039;articles peuvent être créés et gérer directement depuis l&#039;interface d&#039;administration de votre blog via l&quot;utilisation de l&#039;extension &quot;Custom Post Type UI&quot; (déjà présenté). Il existe également une extension pour gérer, depuis votre interface de création de contenu, l&#039;affichage de vos nouveaux modules d&#039;articles. [...]</description>
		<content:encoded><![CDATA[<p>[...] Justin Tadlock met avant la simplicité d&#039;afficher les nouveaux types de modules d&#039;articles sur la page d&#039;accueil de votre blog WordPress, mais également dans flux d&#039;informations. En effet, bien que cette fonctionnalité est très efficace elle reste néanmoins accessible qu&#039;à une partie des utilisateurs du gestionnaire de contenu qu&#039;est WordPress. Ces types de modules d&#039;articles peuvent être créés et gérer directement depuis l&#039;interface d&#039;administration de votre blog via l&quot;utilisation de l&#039;extension &quot;Custom Post Type UI&quot; (déjà présenté). Il existe également une extension pour gérer, depuis votre interface de création de contenu, l&#039;affichage de vos nouveaux modules d&#039;articles. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelly</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-215002</link>
		<dc:creator>Kelly</dc:creator>
		<pubDate>Wed, 21 Jul 2010 16:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-215002</guid>
		<description>Hello! I am trying to make a three-column homepage, with a different category&#039;s post displaying in each of the first two columns. I&#039;m using your Query Posts plug-in, but can&#039;t get the main content to disappear. 

Is this &#039;$query-&gt;set()&#039; the solution? I would so appreciate your advice. You&#039;ve already helped me a ton with this, my infinite gratitude!

All my best
Kelly</description>
		<content:encoded><![CDATA[<p>Hello! I am trying to make a three-column homepage, with a different category&#8217;s post displaying in each of the first two columns. I&#8217;m using your Query Posts plug-in, but can&#8217;t get the main content to disappear. </p>
<p>Is this &#8216;$query-&gt;set()&#8217; the solution? I would so appreciate your advice. You&#8217;ve already helped me a ton with this, my infinite gratitude!</p>
<p>All my best<br />
Kelly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: helpin</title>
		<link>http://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page#comment-214195</link>
		<dc:creator>helpin</dc:creator>
		<pubDate>Mon, 19 Jul 2010 08:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=2283#comment-214195</guid>
		<description>I entered the code in functions.php  
under function editoptions() {

.But It doesn&#039;t make any changes for any site in my multisite network. Am I missing anything?

Thank you !</description>
		<content:encoded><![CDATA[<p>I entered the code in functions.php<br />
under function editoptions() {</p>
<p>.But It doesn&#8217;t make any changes for any site in my multisite network. Am I missing anything?</p>
<p>Thank you !</p>
]]></content:encoded>
	</item>
</channel>
</rss>
