Showing post views is nice feature. Many client want to show post/page views on pages. Where in this wordpress tutorial, we will show, How to show post views using post meta data.
There are many wordpress plugins available for counting post views. Here are some, If you don’t want to modify your wordpress theme code.
Count post views without wordpress plugin using meta data
Automated method
Add following wordpress plugin and show post views
Post Views Counter allows you to display how many times a post, page or custom post type had been viewed with this simple, fast and easy to use plugin.
For more information, check out plugin page at dFactory or plugin support forum.
Features include:
Option to select post types for which post views will be counted and displayed.
2 methods of collecting post views data: PHP and Javascript, for greater flexibility
Option to set time between counts
Excluding counts from visitors: bots, logged in users, selected user roles
Excluding users by IPs
Restricting display by user roles
One-click data import from WP-PostViews
Post views display position, automatic or manual via shortcode