<?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: Show Related Post in WordPress Without a Plugin</title>
	<atom:link href="http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/</link>
	<description>Learn about the latest in Web Development - as soon as I do.</description>
	<lastBuildDate>Wed, 17 Mar 2010 23:13:18 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: komoloves</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2629</link>
		<dc:creator>komoloves</dc:creator>
		<pubDate>Mon, 01 Mar 2010 22:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2629</guid>
		<description>Hello, i have been use get_the_ID() for the correct functionaly, with Post-ID no work ok. 
I pass the code to function, i don&#039;t known with this code seem ok.
Thanks.</description>
		<content:encoded><![CDATA[<p>Hello, i have been use get_the_ID() for the correct functionaly, with Post-ID no work ok.<br />
I pass the code to function, i don&#8217;t known with this code seem ok.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ognjen Knaus</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2627</link>
		<dc:creator>Ognjen Knaus</dc:creator>
		<pubDate>Fri, 26 Feb 2010 14:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2627</guid>
		<description>I&#039;ve just added bellow this line:
&#039;tag__in&#039; =&gt; $tag_ids,

this line (random option):
&#039;orderby&#039;=&gt;&#039;rand&#039;,

so it displays different thumbnails each time page is refreshed cause I have a twitter backgrounds gallery and don&#039;t care much about the text :)

You can see it here how it works:
http://www.twitterevolutions.com/umbrella-in-the-grass-twitter-background/

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just added bellow this line:<br />
&#8216;tag__in&#8217; =&gt; $tag_ids,</p>
<p>this line (random option):<br />
&#8216;orderby&#8217;=&gt;&#8217;rand&#8217;,</p>
<p>so it displays different thumbnails each time page is refreshed cause I have a twitter backgrounds gallery and don&#8217;t care much about the text <img src='http://www.bin-co.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can see it here how it works:<br />
<a href="http://www.twitterevolutions.com/umbrella-in-the-grass-twitter-background/" rel="nofollow">http://www.twitterevolutions.com/umbrella-in-the-grass-twitter-background/</a></p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mores</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2599</link>
		<dc:creator>mores</dc:creator>
		<pubDate>Tue, 09 Feb 2010 19:55:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2599</guid>
		<description>No problemo, glad it worked out.</description>
		<content:encoded><![CDATA[<p>No problemo, glad it worked out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: psd to wordpress</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2598</link>
		<dc:creator>psd to wordpress</dc:creator>
		<pubDate>Tue, 09 Feb 2010 19:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2598</guid>
		<description>Thanks mores that worked perfectly. And I actually found the correct spot to place it in. I was so close.....lol - I appreciate the help.</description>
		<content:encoded><![CDATA[<p>Thanks mores that worked perfectly. And I actually found the correct spot to place it in. I was so close&#8230;..lol &#8211; I appreciate the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mores</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2597</link>
		<dc:creator>mores</dc:creator>
		<pubDate>Tue, 09 Feb 2010 19:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2597</guid>
		<description>The entire code basically is something like 
&lt;code&gt;if ($tags) { do a lot of stuff}&lt;/code&gt;
Change that to 
&lt;code&gt;if ($tags) { do a lot of stuff} else {echo &#039;Sorry, no related posts&#039;}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>The entire code basically is something like<br />
<code>if ($tags) { do a lot of stuff}</code><br />
Change that to<br />
<code>if ($tags) { do a lot of stuff} else {echo 'Sorry, no related posts'}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: psd to wordpress</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2596</link>
		<dc:creator>psd to wordpress</dc:creator>
		<pubDate>Tue, 09 Feb 2010 14:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2596</guid>
		<description>This is an awesome bit of code and thank you for sharing. I have used it on numerous occasions but  one question I have been meaning to ask is this:

If there are no related posts, how can I get something like &quot;There are no related posts at this time&quot; to display. 

I have been playing around with it for a while but haven&#039;t gotten it to work. Any ideas or suggestions would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>This is an awesome bit of code and thank you for sharing. I have used it on numerous occasions but  one question I have been meaning to ask is this:</p>
<p>If there are no related posts, how can I get something like &#8220;There are no related posts at this time&#8221; to display. </p>
<p>I have been playing around with it for a while but haven&#8217;t gotten it to work. Any ideas or suggestions would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mores</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2584</link>
		<dc:creator>mores</dc:creator>
		<pubDate>Thu, 04 Feb 2010 13:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2584</guid>
		<description>Ansar, find this line:
&lt;code&gt;&#039;tag__in&#039; =&gt; $tag_ids,&lt;/code&gt;
and add this line beneath it:
&lt;code&gt;&#039;orderby&#039;=&gt;&#039;title&#039;,&lt;/code&gt;

This will sort by the first letter of the title.</description>
		<content:encoded><![CDATA[<p>Ansar, find this line:<br />
<code>'tag__in' =&gt; $tag_ids,</code><br />
and add this line beneath it:<br />
<code>'orderby'=&gt;'title',</code></p>
<p>This will sort by the first letter of the title.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ansar</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2583</link>
		<dc:creator>Ansar</dc:creator>
		<pubDate>Thu, 04 Feb 2010 11:06:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2583</guid>
		<description>Great post,
 it is very useful for my site,
I m using this script for listing all posts, it works perfectly, but I need this list sort by alphabetic order,
Can anybody help me plz….</description>
		<content:encoded><![CDATA[<p>Great post,<br />
 it is very useful for my site,<br />
I m using this script for listing all posts, it works perfectly, but I need this list sort by alphabetic order,<br />
Can anybody help me plz….</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mores</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2565</link>
		<dc:creator>mores</dc:creator>
		<pubDate>Sat, 23 Jan 2010 09:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2565</guid>
		<description>Can I look at that somewhere?
I suspect you&#039;re using this code in the wrong part of the loop.

Or do I misunderstand and you get the comments for the current AND related post in one?</description>
		<content:encoded><![CDATA[<p>Can I look at that somewhere?<br />
I suspect you&#8217;re using this code in the wrong part of the loop.</p>
<p>Or do I misunderstand and you get the comments for the current AND related post in one?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Says</title>
		<link>http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/comment-page-1/#comment-2563</link>
		<dc:creator>Says</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=256#comment-2563</guid>
		<description>@mores, thanks this is the exact code I&#039;ve been searching the past 4 days for. Only problem is it messes up my comments. Comments for the current post are also added to the last &quot;related&quot; post. Do you have a work around for that?</description>
		<content:encoded><![CDATA[<p>@mores, thanks this is the exact code I&#8217;ve been searching the past 4 days for. Only problem is it messes up my comments. Comments for the current post are also added to the last &#8220;related&#8221; post. Do you have a work around for that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
