Create Simple Post Views Counter

0
24

Create Simple Post Views Counter

You are looking to create post views counter to monitor traffic your WordPress website? Or simply you are looking to “show off” to everyone that posts on website getting a lot of attention? The best way to do that is displayed the page views on your website. Currently, a number of WordPress themes available already supports this feature, however, is not always have a theme. So what is the optimal solution? Currently, just few WordPress themes support this feature, so where is the solution?

Previously, when thinking of integrating the page views counter then the WP-PostViews always is the top choice. However, using this plugin is quite complex and can cause broken interface if using in the wrong way. Forget WP-PostViews right away, because now we’ve got an other great plugin. And in the article today, I want to introduce the plugin “Post Views Counter” – a completely worthy alternative to create simple post views counter.

Create Simple Post Views Counter

1. First, as usual, you need to install and activate the plugin Post Views Counter.

2. Next, go to Settings ⟹ Post Views Counter. Here, you will find the setting page includes two tabs: General and Display. In the General tab, you can configure as follow:

Create Simple Post Views Counter

? Post Types Count: Select post types for which post views will be counted.
Counter Mode: Select the method of collecting post views data. If you are using any of the caching plugins select Javascript..
Post Views Column: Display post views count column for each of the selected post types.
Restrict Edit: restrict post views editing to admins only.
Time Between Counts: Enter the time between single user visit count. You should enter 0 value.
Reset Data Interval: Delete single day post views data older than specified above. You should enter 0 value.
Flush Object Cache Interval: How often to flush cached view counts from the object cache into the database. This feature is used only if a persistent object cache is detected and the interval is greater than 0. You should enter 0 value.
Exclude Visitors: Use it to hide the post views counter from selected type of visitors.
Exclude IPs: Enter the IP addresses to be excluded from post views count.
WP-PostViews: Import post views data from WP-PostViews plugin.
Deactivation: Delete all plugin data on deactivation.

⟹  Click the Save Changes button to save.

3. Switch to the Display tab. You can set up as shown below.

Create Simple Post Views Counter

? Post Views Label: Enter the label for the post views counter field.
Post Type: Select post types for which the views count will be displayed.
Page Type: Select page types where the views count will be displayed.
User Type: Use it to hide the post views counter from selected type of visitors.
Position: Select where would you like to display the post views counter. Use [post-views] shortcode for manual display.
Display Style: Choose how to display the post views counter.
Icon Class: Enter the post views icon class. Any of the Dashicons classes are available.

⟹ Click the Save Changes button to save.

You can also edit the CSS to make the counter look better. Gook luck! ?

Create Simple Post Views Counter

You know other methods more effectively to create post views counter in WordPress? Please share with us by using the comment box below.

If you like this article, please subscribe to my website to regularly update the best, the latest posts by email. Thank you very much. ?

Subscribe to Hippo Review via Email

Enter your email address to subscribe to Hippo Review and receive notifications of new posts by email.

LEAVE A REPLY

Please enter your comment!
Please enter your name here