<?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/"
	>

<channel>
	<title>Tancave</title>
	<atom:link href="http://www.tancave.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tancave.com</link>
	<description>A blog, in the original way.</description>
	<lastBuildDate>Mon, 17 Oct 2011 23:47:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress: Mostrar numero de comentarios</title>
		<link>http://www.tancave.com/2011/10/17/wordpress-mostrar-numero-de-comentarios/</link>
		<comments>http://www.tancave.com/2011/10/17/wordpress-mostrar-numero-de-comentarios/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 23:47:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Comentarios]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://www.tancave.com/?p=4</guid>
		<description><![CDATA[Como mostrar el número de comentarios en un post, Plugin de Disqus instalado. Código: &#60;?php $comments_count = wp_count_comments($post-&#62;ID); echo " $comments_count-&#62;approved "; ?&#62; Total de comentarios en el website: &#60;?php $comments_count = wp_count_comments(); echo "Comments for site &#60;br /&#62;"; echo &#8230; <a href="http://www.tancave.com/2011/10/17/wordpress-mostrar-numero-de-comentarios/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Como mostrar el número de comentarios en un post, Plugin de Disqus instalado.</p>
<p>Código:</p>
<pre>&lt;?php
$comments_count = wp_count_comments($post-&gt;ID);
echo " $comments_count-&gt;approved ";
?&gt;</pre>
<p>Total de comentarios en el website:</p>
<pre>&lt;?php
$comments_count = wp_count_comments();
echo "Comments for site &lt;br /&gt;";
echo "Comments in moderation: " . $comments_count-&gt;moderated . "&lt;br /&gt;";
echo "Comments approved: " . $comments_count-&gt;approved . "&lt;br /&gt;";
echo "Comments in Spam: " . $comments_count-&gt;spam . "&lt;br /&gt;";
echo "Comments in Trash: " . $comments_count-&gt;trash . "&lt;br /&gt;";
echo "Total Comments: " . $comments_count-&gt;total_comments . "&lt;br /&gt;";
?&gt;</pre>
<p>Numero de comentarios por post:</p>
<pre>&lt;?php
$comments_count = wp_count_comments( 2492 );
echo "Comments for post 2492 &lt;br /&gt;";
echo "Comments in moderation: " . $comments_count-&gt;moderated . "&lt;br /&gt;";
echo "Comments approved: " . $comments_count-&gt;approved . "&lt;br /&gt;";
echo "Comments in Spam: " . $comments_count-&gt;spam . "&lt;br /&gt;";
echo "Comments in Trash: " . $comments_count-&gt;trash . "&lt;br /&gt;";
echo "Total Comments: " . $comments_count-&gt;total_comments . "&lt;br /&gt;";
?&gt;</pre>
<p>Referencia:</p>
<p><a href="http://codex.wordpress.org/Function_Reference/wp_count_comments" target="_blank">http://codex.wordpress.org/Function_Reference/wp_count_comments</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tancave.com/2011/10/17/wordpress-mostrar-numero-de-comentarios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.tancave.com/2011/08/01/hello-world/</link>
		<comments>http://www.tancave.com/2011/08/01/hello-world/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 16:36:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.tancave.com/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tancave.com/2011/08/01/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

