<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"	>
<channel>
	<title>Comments on: How to: Related Posts with Thumbnails in WordPress without Plugins</title>
	<atom:link href="http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/</link>
	<description>Beginner&#039;s Guide for WordPress</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:04:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: AmandaLong</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-125175</link>
		<dc:creator>AmandaLong</dc:creator>
		<pubDate>Sat, 28 Jan 2012 00:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-125175</guid>
		<description>This is working fantastically, but because of the way our posts are tagged, I am getting duplicate listings. What can I add to filter the duplicate id&#039;s?</description>
		<content:encoded><![CDATA[<p>This is working fantastically, but because of the way our posts are tagged, I am getting duplicate listings. What can I add to filter the duplicate id&#8217;s?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raheek</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-124931</link>
		<dc:creator>Raheek</dc:creator>
		<pubDate>Mon, 09 Jan 2012 15:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-124931</guid>
		<description>Thanks for the helpful article. I now just added elated posts by using this code.</description>
		<content:encoded><![CDATA[<p>Thanks for the helpful article. I now just added elated posts by using this code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phdean</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-124924</link>
		<dc:creator>phdean</dc:creator>
		<pubDate>Sun, 08 Jan 2012 13:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-124924</guid>
		<description>Hi, 

 

I too would like to randomize the posts that display for the categories as, otherwise, they&#039;ll display the same 2 every time.  Can you please give me the code to do this?

 

Many thanks in advance :)</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I too would like to randomize the posts that display for the categories as, otherwise, they&#8217;ll display the same 2 every time.  Can you please give me the code to do this?</p>
<p>Many thanks in advance <img src='http://cdn.wpbeginner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ferdy</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-124807</link>
		<dc:creator>Ferdy</dc:creator>
		<pubDate>Sat, 24 Dec 2011 23:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-124807</guid>
		<description>What if there are no related posts. can it be coded such that it falls back to category related.</description>
		<content:encoded><![CDATA[<p>What if there are no related posts. can it be coded such that it falls back to category related.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobalseverin</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-124364</link>
		<dc:creator>tobalseverin</dc:creator>
		<pubDate>Tue, 22 Nov 2011 16:53:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-124364</guid>
		<description>hi!

i need some help...

 

How i can filter.. the category, but if i have parent and child categories and only i show the child post. ex:

 

- product (all product, this is the parent) (id 104)

       - KindOfProducts (subcategory, this is the child) (id 109)

       - KindOfProductsTwo (subcategory, this is the child) (id 110)

 

in products have all post but just need show related from the child: KindOfProducts.

 

i try whit this:

 

$args = array(        

&#039;category__in&#039; =&gt; $category_ids,  

&#039;category__not_in&#039; =&gt; 104,

&#039;post__not_in&#039; =&gt; array($post-&gt;ID),

&#039;orderby&#039;=&gt; &#039;rand&#039;,  

&#039;showposts&#039; =&gt; 100,

&#039;ignore_sticky_posts&#039; =&gt; 1  

);

 

but dont showme nothing...

 

and i try whit this other one:

 

$args = array(        

&#039;category__in&#039; =&gt; $category_ids,  

&#039;child_of&#039; =&gt; 104,

&#039;post__not_in&#039; =&gt; array($post-&gt;ID),

&#039;orderby&#039;=&gt; &#039;rand&#039;,  

&#039;showposts&#039; =&gt; 100,

&#039;ignore_sticky_posts&#039; =&gt; 1  

);

 

and nothing

 

help? tnks!</description>
		<content:encoded><![CDATA[<p>hi!</p>
<p>i need some help&#8230;</p>
<p>How i can filter.. the category, but if i have parent and child categories and only i show the child post. ex:</p>
<p>- product (all product, this is the parent) (id 104)</p>
<p>       &#8211; KindOfProducts (subcategory, this is the child) (id 109)</p>
<p>       &#8211; KindOfProductsTwo (subcategory, this is the child) (id 110)</p>
<p>in products have all post but just need show related from the child: KindOfProducts.</p>
<p>i try whit this:</p>
<p>$args = array(        </p>
<p>&#8216;category__in&#8217; =&gt; $category_ids,  </p>
<p>&#8216;category__not_in&#8217; =&gt; 104,</p>
<p>&#8216;post__not_in&#8217; =&gt; array($post-&gt;ID),</p>
<p>&#8216;orderby&#8217;=&gt; &#8216;rand&#8217;,  </p>
<p>&#8216;showposts&#8217; =&gt; 100,</p>
<p>&#8216;ignore_sticky_posts&#8217; =&gt; 1  </p>
<p>);</p>
<p>but dont showme nothing&#8230;</p>
<p>and i try whit this other one:</p>
<p>$args = array(        </p>
<p>&#8216;category__in&#8217; =&gt; $category_ids,  </p>
<p>&#8216;child_of&#8217; =&gt; 104,</p>
<p>&#8216;post__not_in&#8217; =&gt; array($post-&gt;ID),</p>
<p>&#8216;orderby&#8217;=&gt; &#8216;rand&#8217;,  </p>
<p>&#8216;showposts&#8217; =&gt; 100,</p>
<p>&#8216;ignore_sticky_posts&#8217; =&gt; 1  </p>
<p>);</p>
<p>and nothing</p>
<p>help? tnks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imranhunzai</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-124055</link>
		<dc:creator>imranhunzai</dc:creator>
		<pubDate>Sat, 29 Oct 2011 16:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-124055</guid>
		<description>Absolutely awesome! and yeah it helps.</description>
		<content:encoded><![CDATA[<p>Absolutely awesome! and yeah it helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 8MEDIA</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-123829</link>
		<dc:creator>8MEDIA</dc:creator>
		<pubDate>Sat, 22 Oct 2011 23:42:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-123829</guid>
		<description>amazing post ,, thanks :D</description>
		<content:encoded><![CDATA[<p>amazing post ,, thanks <img src='http://cdn.wpbeginner.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shaileshtr</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-123511</link>
		<dc:creator>shaileshtr</dc:creator>
		<pubDate>Mon, 03 Oct 2011 03:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-123511</guid>
		<description>It is good to show related post in wordpress blog without plugiN. iIt will consume less bandwidth and time to load. http://shareitto.com Thanks for your suggestion.</description>
		<content:encoded><![CDATA[<p>It is good to show related post in wordpress blog without plugiN. iIt will consume less bandwidth and time to load. <a href="http://shareitto.com" rel="nofollow">http://shareitto.com</a> Thanks for your suggestion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zioneyemedia</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-123485</link>
		<dc:creator>zioneyemedia</dc:creator>
		<pubDate>Fri, 30 Sep 2011 05:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-123485</guid>
		<description>I do have a question on this: I&#039;m wrestling on the code to capture posts from child categories versus parent categories. Any advice?</description>
		<content:encoded><![CDATA[<p>I do have a question on this: I&#8217;m wrestling on the code to capture posts from child categories versus parent categories. Any advice?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zioneyemedia</title>
		<link>http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/comment-page-1/#comment-123484</link>
		<dc:creator>zioneyemedia</dc:creator>
		<pubDate>Fri, 30 Sep 2011 04:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1231#comment-123484</guid>
		<description>Hey,

 

How I did it is I replaced the  and  codes with my own html and css. The  codes create lists for each post, and that is usually in a vertical fashion.

------------------

&lt;a href=&quot;&quot; rel=&quot;bookmark&quot; title=&quot;&quot;&gt;&lt;/a&gt;  &lt;a href=&quot;&quot; rel=&quot;bookmark&quot;  title=&quot;&quot;&gt;&lt;/a&gt;   

------------------

I replaced the opening  with  and replaced the closing  with  as my html tags. Then I write my CSS to fit that specific div class needs on your website. For example, a sample pleft class could look like this:

 

.pleft {float:left; padding:2px; margin:10px; width:278px; height:190px;}

 

I use the float: selector on my CSS to move posts horizontally, and the margins and padding to give each post spacing within each other. I added in a specific width and height for additional examples.

 

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>How I did it is I replaced the  and  codes with my own html and css. The  codes create lists for each post, and that is usually in a vertical fashion.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>&lt;a href=&quot;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;"&gt;  &lt;a href=&quot;&#8221; rel=&#8221;bookmark&#8221;  title=&#8221;"&gt;   </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I replaced the opening  with  and replaced the closing  with  as my html tags. Then I write my CSS to fit that specific div class needs on your website. For example, a sample pleft class could look like this:</p>
<p>.pleft {float:left; padding:2px; margin:10px; width:278px; height:190px;}</p>
<p>I use the float: selector on my CSS to move posts horizontally, and the margins and padding to give each post spacing within each other. I added in a specific width and height for additional examples.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Content Delivery Network via cdn.wpbeginner.com

Served from: www.wpbeginner.com @ 2012-02-10 01:13:25 -->
