-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
### Typecho文章浏览数排行插件Views v1.0.1 | ||
|
||
通过在文章数据表中自增字段views实现统计浏览次数效果并按排行输出热门文章列表。 | ||
|
||
输出访问次数: | ||
|
||
```<?php Views_Plugin::theViews(); ?>``` | ||
|
||
定制文字: | ||
|
||
```<?php Views_Plugin::theViews('有 ', ' 次点击'); ?>``` | ||
|
||
输出最受欢迎文章: | ||
|
||
```<?php Views_Plugin::theMostViewed(); ?>``` |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
安装方法 | ||
将下载到的压缩包解压, | ||
然后将文件夹名字重命名为alexarank | ||
然后传到插件目录即可 | ||
然后传到插件目录即可 | ||
|
||
输出排名数字: | ||
|
||
```<?php $this->alexa(); ?>``` | ||
|
||
###### 更多详见作者博客:https://qqdie.com/archives/alexa.html |