WP Year End Stats
Displays fancy stats about your blog which you can include in your year end review posts.
Requires PHP 5.3 or higher. Will not work in PHP 5.2.x
Features
The plugin currently supports the following stats
- Total number of posts per year
- Total number of comments per year
- Total number of words written per year
- Average length of posts per year
Shortcode
You can use the following shortcode to display stats in your blog.
`[yes_stats type="post_num" start_year="2004" end_year="2014" range="to" post_type="post" post_status="publish" title="Title of the graph" height="500" width="500" ] ```
The yes_stats shortcode can have the following attributes
typeβ The type of graph. The following are the allowed values.post_numβ Number of posts by year (default)comment_numβ Number of posts by yearpost_avg_lengthβ Average length of posts by yearpost_totoal_lengthβ Total length of posts by year
start_yearβ The first year for the graph (default: current year)end_yearβ The last year for the graph (default: current year)rangeβ How the years should be treated. Possible values areto(default) andandpost_typeβ The post type for which the graph should be generated (default: post)post_statusβ The post status for which the graph should be generated (default: publish)titleβ Title for the graphheightβ Height of the graph (Default: 500px)widthβ Width of the graph (Default: 500px)
TODO
The following are the features that I am thinking of adding to the Plugin, when I get some free time. If you have any feature request or want to increase the priority of a particular feature, then let me know.
- Add more stats
- Make the graphs more configurable
- Cache the stats
Support
- If you have found a bug/issue or have a feature request, then post them in github issues
- If you have a question about usage or need help to troubleshoot, then post in WordPress forums or leave a comment in pluginsβs home page
- If you like the Plugin, then kindly leave a review/feedback at WordPress repo page.
- If you find this Plugin useful or and wanted to say thank you, then there are ways to make me happy π and I would really appreciate if you can do one of those.
- Checkout other WordPress Plugins that I have written
- If anything else, then contact me in twitter.
Translation
The pot file is available with the Plugin. If you are willing to do translation for the Plugin,
use the pot file to create the .po files for your language and let me know.
Credits
- Thanks to Alex King for his blog stats SQL scripts and for the inspiration.
- Thanks to the excellent Flot JavaScript library.
Readme Generator
This Readme file was generated using wp-readme, which generates readme files for WordPress Plugins.
| Domain | Exposures | Headers | Last Checked |
|---|---|---|---|
| s*r*p*s*n*s*q*i*s.com | A | 2026-04-21 15:11:53 | |
| f*m*u*s*.com (WP 6.9) | F | 2026-04-17 15:24:33 | |
| f*m*u*p*x.com (WP 6.9) | F | 2026-04-17 15:19:24 | |
| f*m*u*n*.com (WP 6.9) | F | 2026-04-17 15:19:23 | |
| f*m*u*h*u*t*n.com (WP 6.9) | F | 2026-04-17 15:14:30 | |
| f*m*u*d*.com (WP 6.9) | F | 2026-04-17 15:09:19 | |
| r*c*e*d*n*e*m*n*.com (WP 6.9.4) | F | 2026-04-11 19:04:43 | |
| d*n*e*m*n*.org (WP 6.9.4) | F | 2026-04-11 01:31:18 | |
| t*e*t*i*e.com | β | 2025-11-11 00:49:58 | |
| s*s*r*m.com | β | 2025-11-10 10:32:43 |