WP-PostViews的作者是Lester 'GaMerZ' Chan，目前有200,000+个有效安装。已经Tested with 5.4.1版本的wordpress。
You may place it in archive.php, single.php, post.php or page.php also.
Add Anywhere Below It (The Place You Want The Views To Show):
Or you can use the shortcode [views] or [views id="1"] (where 1 is the post ID) in a post
Go to WP-Admin -> Settings -> PostViews to configure the plugin.
Plugin icon by Iconmoon from Flaticon
I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.
NEW: Add Post Author in views template
NEW: Bump for WordPress 5.3
NEW: Added postviews_should_count filter
FIXED: Change to (int) from intval() and use sanitize_key() with it.
NEW: Use WP_Query() for most/least viewed posts
NEW: Bump WordPress 4.7
NEW: Template variable %POST_CATEGORY_ID%. It returns Post’s Category ID. If you are using Yoast SEO Plugin, it will return the priority Category ID. Props @FunFrog-BY
FIXED: In preview mode, don’t count views
NEW: Add %POST_THUMBNAIL% to template variables
修复：WordPress 4.3 中小工具构造函数中的通知
FIXED: Integration with WP-Stats
NEW: Shortcode [views] or [views id=”POST_ID”]` to embed view count into post
NEW: Added template variable %VIEW_COUNT_ROUNDED% to support rounded view count like 10.1k or 11.2M
NEW: Added action hook ‘postviews_increment_views’ and ‘postviews_increment_views_ajax’
NEW: Allow custom post type to be chosen under the widget
NEW: Allow user to not use AJAX to update the views even though WP_CACHE is true
NEW: Supports MultiSite Network Activation
NEW: Add %POST_DATE% and %POST_TIME% to template variables
NEW: Add China isearch engines bots
NEW: Ability to pass in an array of post types for get_most/least_*() functions. Props Leo Plaw.
FIXED: Moved uninstall to uninstall.php and hence fix missing nonce. Props Julio Potier.
FIXED: Notices and better way to get views from meta. Props daankortenbach.
FIXED: No longer needing add_post_meta() if update_post_meta() fails.
Version 1.65 (02-06-2013)
FIXED: Views not showing in WP-Admin if “Display Options” is not set to “Display to everyone”