14 May 2008
word count plugins for habari
November's still five months away, but I'm thinking ahead. I've written two simple plugins for Habari that will let me easily see how many words I've written* toward the 50,000 word goal of National Novel Writing Month. These plugins provide a quick and easy tally of words used in individual posts and all posts with a given tag.
Requirements
version 0.4.1 of Habari or later
Download
These will always link to the most recent versions:
Word Count by Tag
Post Word Count
Installation and use
Word Count by Tag
Unzip wordcountbytag.zip in /user/plugins. Then activate and configure it in the Plugins Admin page. If you leave the 'tags to include' box empty it will count all words from published posts with all tags.
Here is the template tag for adding to your theme:
echo $word_count;Post Word Count
Unzip postwordcount.zip in /user/plugins. Then activate it in the Plugins Admin page. There is nothing to configure.
Here is the template tag for adding to your theme, inside the posts loop:
echo PostWordCount::get_word_count( $post->content_out );
Comments and questions should be left below. Subsequent updates and releases will likely appear on the plugin page, not here.
* Or rather, how far behind I am, if my typical progress from the last several years progress is any indication.
no comments on word count plugins for habari
add your comment
I can and will moderate any and all comments at my discretion. I will not ever display or reveal your email address without your permission.