How to Display Post Views Stats in WordPress

How to Display Post Views Stats in WordPress

At present, most webmasters have already realized the importance of the high-quality web contents, and continue coming out the great posts for their visitors. However, whether these readers are satisfied with your articles? Whether you have got their preferences? Are they interested in your words? These questions, to be frank, are hard for you to find the answers. It is true that you can start the survey among your readers to ask for the feedbacks, but personally, we think the easiest way to figure out whether your posts are successful is to get the post views statistics. The more views a post gets, the more successful it can be.

In addition, if you have some content contributors working on your site, you can have a deep insight into their working quality by knowing the viewing numbers of the posts edited by them. Even, you can have a clear idea of the online ranking for each individual post. The higher a post is ranked, the more views it can get.
Now, we’d like to come out a simple tutorial that introduces how to display post views stats in WordPress.

Option 1 – Use the Post Views Stats Plugin

With the Post Views Stats plugin, you can easily keep the real-time track of all the views for your posts and pages made by each website visitor. In addition, there is no need to make any configuration of it, and the only thing you need to do is to have it installed and activated properly on your WordPress site.

Now, you can directly click the Post Views Stats button from the admin panel of WordPress. And then, you can decide the time range for getting the statistics of your post views. Note that you can determine the month and date of the time range. After that, you simply need to click the Submit button.

Date Range

Here, this plugin will automatically display all your posts that have been published, updated, edited and viewed within your determined time range. The display order is based on the views your posts have got. From this list, you can know the post ID, the article title, the author, the comment number and the post views stats clearly.

Input Date Range

Besides, if you do not want to check the post views this way, you can also click the All Posts button from the Posts tab. Here, you can find a new column that is named as View Count right after the Date column, with which you can know how many times a special post has been checked by your visitors. Also, you can check the pages views by clicking Pages > All Pages.

View Count

In addition to showcasing the post views stats on your WordPress dashboard, this plugin also allows you to display the most popular blog posts that get the most post views on the website front-end. This not only helps you learn more about your published posts, but also gives the reading recommendations for your readers.

To do this, you can leverage the Post Views Stats widget offered by this plugin by clicking Appearance > Widgets. After dragging the widget into the sidebar, you only need to decide how many popular posts can be listed.

Post Views Stats Widget

Even, you can use the below PHP code into your template file to place the popular posts list at anywhere you want.

PHP Code for Post Views

Option 2 – Use the BAW Post Views Count Plugin

Actually, the BAW Post Views Count plugin achieves the same function as that of the previous plugin, helping you show the post views on both the dashboard and the front-end of your WordPress site. However, when comparing these two options, this one can be viewed as the advanced choice that gives you more freedom and flexibility.

After installing it, you need to click the Settings > Post Views Count button. Here, you can decide some settings of it as following.

  • Whether to showcase the views counter in the bottom of the post content.
  • Whether to count the views for the logged readers.
  • Whether to count the post views for the website admin.
  • Which content types can be counted for the views, which include Posts, Pages, Media, Revisions and Navigation Items.

Now, you can directly click the All Posts button or the All Pages button to get the post views stats from the newly added column of Post Views Count.

Post Views Count

In addition, you can enter the editing screen of each post or page. Here, you can find a new meta box on the left hand. With it, you can know how many times the content has been checked on the daily, weekly, monthly and even the yearly basis.

Post Views Count Box

If you want to display the most popular posts on your sidebar, you can use the Most Viewed Posts widget here. This time, you are allowed to decide how many posts to be listed on what time range, the posts of which authors can be showcased, whether to show the posts count and many more.

Most Viewed Posts Widget

In addition, if you allow the display of the views count, you can also change the count number as you want. For this, you only need to enter the editing page of the target post and move to the Post Views Count box. Here, you can click the views number and edit the value.