How to install and set up the wordpress pageview plugin (wp-postview)?

How to install and set up the wordpress pageview plugin (wp-postview)?

As a webmaster, what I care most about is how many readers my articles are and which articles are popular among visitors. However, as a newbie, how to set this up is a headache. The editor also went through this step by step, and today I will share with you how to set up and install the browsing number plug-in.

1. Installation of wp-postview

WP-Postviews is very easy to install. Just search for: WP-Postviews in the WP backend plug-in column and you can install it directly. After installation, enable it and you can start collecting statistics.

2. Calling WP-Postviews

If you want your website to display the number of page views on the page, you need to modify your current theme and insert the following code where you need to call the number of page views in the page source code:

<?php if(function_exists('the_views')) { the_views(); } ?>
Then the number of article views can be displayed on the front end.
However, there is a problem. The default unit of the wp-postview plugin page views is Views, which is not in line with Chinese habits. It is recommended to change Views to Chinese. How to modify it?

Click settings (right click) and wp-postview will appear. Open it, find the Views Template column, delete VIEWS in %VIEW_COUNT% VIEWS or change it to Chinese characters, then save it.

If you need information from the editor, you can add the editor's QQ: 1413889027

<<:  How to set up the breadcrumb navigation in WordPress? How to create a breadcrumb navigation?

>>:  There are several plugins that must be installed for wordpress, and WP plugins that must be installed to build a website.

Recommend

Look here, how a marine life version of "Game of Thrones" is being staged?

The coral reef area of ​​the Indian Ocean and the...

How much does it cost to join Datong Rubber and Plastic Mini Program?

How much does it cost to join the Datong Rubber a...

Is Delta still prevalent in China? Are there any new variants? Official response

Recently, the number of newly infected people in ...

The monetization rules of private domain traffic

Private domain traffic belongs to a single indivi...

Why do many people listen to their voice messages again after sending them?

Have you noticed that many people around you will...

Why is Apple Pay dominating the United States but marginalized in China?

Apple Pay has developed rapidly in the United Sta...