开发者 |
gregross
redlettuce |
---|---|
更新时间 | 2024年7月12日 09:15 |
PHP版本: | 4.6 及以上 |
WordPress版本: | 6.5.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
just-writing-statistics
to the /wp-content/plugins/
directoryUPDATE 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.
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.
If a post type has no items associated with it, Just Writing Statistics will not include it in the statistic displays.
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 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.
There are two shortcodes available: