This article to the Code Farm Introduction Typecho Blog Article views statistics plug-ins stat, need to code farmers can refer to.
My new blog using the blog system is the Typecho blog system, the use of the time found that the blog system itself does not have the article browsing statistical functions, very unaccustomed. Search on the Internet after the discovery, there are related to the blog plug-ins can be implemented, the use of plug-ins is very simple, blog bar here is a brief description of the Typecho blog post page views plug-in stat usage method.
Stat Plugin installation using:
- Download the blog plugin stat and upload it to the usr/plugins/directory
- Login to the background of the blog, click the console option under the Plugin option to enter the plug-in list interface
- Activate page Views under the list of disabled plugins stat
- Click the Appearance option under the Console tab to enter the topic list screen
- Options "Edit current Appearance" option, then select the post.php file
- Add the following code in the relevant location of the post.php file
$this->views ();?>
Tip: You can add hints before and after the code, such as the number of views:
Original address: http://www.manongjc.com/article/740.html
Related reading:
Typecho article ranking plug-in implementation (by day rank, week rank, month rank, total rank)
Typecho article reading statistics and popular posts plugin views
Typecho plugin articleprotect-add access to articles
Typecho How to page pagination and article pagination
List of articles under call classification in Typecho
Typecho get the article All pictures
Typecho get the first picture of the article (thumbnail image)
The above describes the Typecho blog article views statistics plug-ins stat, including the typecho,stat aspects of the content, I hope that the PHP tutorial interested in a friend helpful.