WordPress.org

Support

Support » Plugins and Hacks » Post Word Count » [Plugin: Post Word Count] Exclude some categories from Post-Word-Count plugin

[Plugin: Post Word Count] Exclude some categories from Post-Word-Count plugin

  • I’m using the post-word-count plugin with the following modification to exclude pages from the wordcount:

    if ($single) $query = "SELECT post_content FROM $wpdb->posts WHERE ID = '$id' AND post_type='post'";
    	else $query = "SELECT post_content FROM $wpdb->posts WHERE post_status = 'publish' AND post_date < '$now' AND post_type='post'";

    However, I would also like to exclude some categories from the wordcount. How can I do that?

    http://wordpress.org/extend/plugins/post-word-count/

  • The topic ‘[Plugin: Post Word Count] Exclude some categories from Post-Word-Count plugin’ is closed to new replies.
Skip to toolbar