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(); } ?> 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?
Measuring the height of Mount Tai, calculating th...
Around 8 a.m. local time on April 27, many people...
In the past two years, the Internet TV industry h...
[51CTO.com original article] Shi Yafeng is a full...
The user's first impression of a website is t...
51CTO Network+ Platform launched the "TechNe...
Umbrellas, sunscreen, sun-protective clothing, su...
As the holidays approach, many people are prepari...
According to Huawei, the new flagship Mate 8 is cu...
With the arrival of Teachers' Day, there must...
Wuhan Tea Tasting Contact Information I strongly ...
Long time no see. In this episode of 5 Minutes to...
“ A universal and recognized indicator dictionary...
Planning and production Source: Curious Doctor Ed...
Loading long image... Source: Chongqing Science a...