<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:coop="http://www.google.com/coop/namespace"
	>

<channel>
	<title>Manish Verma &#187; pingbacks</title>
	<atom:link href="http://manishlive.com/tag/pingbacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://manishlive.com</link>
	<description>Freelance Web Developer</description>
	<lastBuildDate>Tue, 02 Aug 2011 11:26:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>How to Separate Comments and Trackbacks</title>
		<link>http://manishlive.com/how-to-separate-comments-and-trackbacks/</link>
		<comments>http://manishlive.com/how-to-separate-comments-and-trackbacks/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 04:10:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[pingbacks]]></category>
		<category><![CDATA[trackbacks]]></category>

		<guid isPermaLink="false">http://manishlive.com/?p=65</guid>
		<description><![CDATA[Normally wordpress themes behaviour is to combine both comments and trackbacks / pingbacks together and display under the same list. To separate editing of comments.php required. First Step: Search for:...


No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Normally wordpress themes behaviour is to combine both comments and trackbacks / pingbacks together and display under the same list.</p>
<p>To separate editing of comments.php required.</p>
<p><strong>First Step:</strong></p>
<p>Search for:</p>
<pre class="brush: php; title: ; notranslate"> &lt;?php foreach ($comments as $comment) : ?&gt;  </pre>
<p>Add After this:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php $comment_type = get_comment_type(); ?&gt;
&lt;?php if($comment_type == 'comment') { ?&gt;
</pre>
<p><strong>Second Step:</strong></p>
<p>Search for:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php endforeach; /* end for each comment */ ?&gt; </pre>
<p>Add After this:</p>
<pre class="brush: php; title: ; notranslate"> &lt;?php } else { $trackback = true; } /* End of is_comment statement */ ?&gt;</pre>
<p><strong>Third Step:</strong></p>
<p>Search for:</p>
<pre class="brush: php; title: ; notranslate"> &lt;?php else : // this is displayed if there are no comments so far ?&gt;</pre>
<p>Add After this:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php if ($trackback == true) { ?&gt;
&lt;h3&gt;Trackbacks&lt;/h3&gt;
&lt;ol&gt;
&lt;?php foreach ($comments as $comment) : ?&gt;
&lt;?php $comment_type = get_comment_type(); ?&gt;
&lt;?php if($comment_type != 'comment') { ?&gt;
&lt;li&gt;&lt;?php comment_author_link() ?&gt;&lt;/li&gt;
&lt;?php } ?&gt;
&lt;?php endforeach; ?&gt;
&lt;/ol&gt;
&lt;?php } ?&gt;
</pre>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://manishlive.com/how-to-separate-comments-and-trackbacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
			<coop:keyword><![CDATA[Wordpress]]></coop:keyword>
		<coop:keyword><![CDATA[comments]]></coop:keyword>
		<coop:keyword><![CDATA[pingbacks]]></coop:keyword>
		<coop:keyword><![CDATA[trackbacks]]></coop:keyword>
	</item>
	</channel>
</rss>

