<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Tag: post-word-count</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Tag: post-word-count</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 11:12:55 +0000</pubDate>

<item>
<title>LJK on "[Plugin: Post Word Count] How to just count the words in a single post"</title>
<link>http://wordpress.org/support/topic/268607#post-1067303</link>
<pubDate>Thu, 07 May 2009 10:52:27 +0000</pubDate>
<dc:creator>LJK</dc:creator>
<guid isPermaLink="false">1067303@http://wordpress.org/support/</guid>
<description>&#60;p&#62;The plugin (and code within it) suggests that using the shortcode will only return the wordcount for that post if you're viewing a single post, however I get the total word count on both index.php and single.php. &#60;/p&#62;
&#60;p&#62;Is this because I'm using 2.7? Is there any tweaks I can do to make it work on single posts?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/post-word-count/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/post-word-count/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>tomontoast on "Post Word Count - how to exclude pages, only count words in Posts not Pages?"</title>
<link>http://wordpress.org/support/topic/262038#post-1045370</link>
<pubDate>Tue, 14 Apr 2009 07:19:38 +0000</pubDate>
<dc:creator>tomontoast</dc:creator>
<guid isPermaLink="false">1045370@http://wordpress.org/support/</guid>
<description>&#60;p&#62;It was counting the total # of words in Posts &#38;amp; Pages. The following modification excludes pages:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($single) $query = &#38;quot;SELECT post_content FROM $wpdb-&#38;gt;posts WHERE ID = &#38;#39;$id&#38;#39; AND post_type=&#38;#39;post&#38;#39;&#38;quot;;
	else $query = &#38;quot;SELECT post_content FROM $wpdb-&#38;gt;posts WHERE post_status = &#38;#39;publish&#38;#39; AND post_date &#38;lt; &#38;#39;$now&#38;#39; AND post_type=&#38;#39;post&#38;#39;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Dgold on "Post Word Count - how to exclude pages, only count words in Posts not Pages?"</title>
<link>http://wordpress.org/support/topic/262038#post-1045360</link>
<pubDate>Tue, 14 Apr 2009 06:55:11 +0000</pubDate>
<dc:creator>Dgold</dc:creator>
<guid isPermaLink="false">1045360@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Can anyone tell if this plugin counts the total # of words in Posts &#38;amp; Pages, or Just Posts?&#60;/p&#62;
&#60;p&#62;I want to count just the posts.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/post-word-count/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/post-word-count/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;the relevant part of the plugin code may be this,&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ($single) $query = &#38;quot;SELECT post_content FROM $wpdb-&#38;gt;posts WHERE ID = &#38;#39;$id&#38;#39;&#38;quot;;
	else $query = &#38;quot;SELECT post_content FROM $wpdb-&#38;gt;posts WHERE post_status = &#38;#39;publish&#38;#39; AND post_date &#38;lt; &#38;#39;$now&#38;#39;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;How to exclude Pages from it?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
