Stopwords are common words like “the” or “at” that don’t really add much to the word frequency count statistics but might dominate due to how oftne they are used.
Why fork WP Word Count?
UPDATE TO THE UPDATE
WP Word Count has been off the plugin directory again since June 2024, and the redlettuce website is no longer available, so I guess it’s done for good this time.
UPDATE
WP Word Count is back on the plugin directory, but still seems to be getting very little attention from the developers.
Since I’ve already done all the work to fork it and publish it in the plugin directory, I’ll continue to support this version going forward.
Also Just Writing Statistics has a lot of features that were only included in the Pro version of WP Word Count, so there’s that too.
WP Word Count is by far the best plugin of its kind, however it is, as far as I can tell, abandoned at this point.
Even worse, the existing plugin has a known security vulnerability in it and so wordpress.org has closed the repository.
As such, a fork is required to fix the security issue and bring the plugin functionality back.
I’ve got a very large site, how’s the performance going to be?
Statistics are inherently resource intensive, the large your site is, the slower the statistic generation will be.
For the general content/monthly/yearly/author based statistics, these should remain quick to display no matter the site size as a custom table is used to gather the data whenever a item is saved.
For Tags and Categories this is not the case and these are calculated at display time. Even with a largish site, this should not be significant, a few seconds at worst. If this becomes an issue I’ll look into converting this code over to a custom table as well.
Why do I see post types in the settings tab that I don’t see on any of the statistics tabs?
If a post type has no items associated with it, Just Writing Statistics will not include it in the statistic displays.
Do I really have to calculate the statistics by date range?
Probably not, but make sure to wait for the progress bar to disappear before reloading the page. If it is running for more than five minutes, then it’s probably failed silently and you’ll need to break up the calculation into chunks.
However, even on a modest hosting provider, it would take hundreds of thousands (maybe millions) of posts to get to this point.
How do the Just Writing Statistics Shortcodes work?
There are two shortcodes available:
- [just-writing-statistics] will display the number of words on any page or post.
- [just-writing-statistics-reading-time] will display the reading time of words on any page or post.
Every Just Writing Statistics shortcode can be extended with “before” and “after” attributes to add text or HTML before and after the result.
Example: [just-writing-statistics before=”This post has” after=” total words.”]