RiProV2美化-点击文章阅读随机增加浏览量

功能介绍

当用户访问本站一篇文章的时候,会在你后台设置的浏览数量范围随机取值增加文章浏览量,没有人观看时会显示0人浏览,不太好,此数据相当于伪造了用户浏览的次数!

配置教程

首先利用宝塔或则FTP打开/inc/options下的admin-options.php文件把下面代码放在20行左右

array(
'id' => 'is_read_views',
'type' => 'switcher',
'title' => '随机增加文章浏览阅读量',
'label' => '启用后可自定义每次浏览时增加的阅读量',
'default' => false,
),
array(
'id' => 'read_views',
'type' => 'text',
'title' => '阅读量',
'dependency' => array( 'is_read_views', '==', 'true' ),
'desc' => '示例:如果要点击一次增加100以内的阅读量,那就填写100',
'default' => '100',
),

最后在主题根目录下打开functions.php将以下代码放在最后即可

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
日主题系列

RiProV2美化-全新弹窗公告

2022-10-21 9:25:23

日主题系列

RiProV2美化-删除文章同时删除图片

2022-10-21 10:15:52

16 条回复 A文章作者 M管理员
  1. zxc8888

    牛掰

  2. zxc8888

    123

  3. 静听梦碎

    RiProV2美化-点击文章阅读随机增加浏览量

  4. mico

    屌的呀

  5. 小姐姐

    隐藏内容,评论后阅读

  6. 努力搬砖

    我要……

  7. sss11

    66

  8. 八月

    不错

  9. allen

    2222

  10. Hi, Neat post. There is a problem along with your website in internet explorer, would test this텶E still is the market chief and a good section of other folks will pass over your magnificent writing due to this problem.

  11. I do not even know how I ended up here, but I thought this post was great. I don’t know who you are but definitely you’re going to a famous blogger if you aren’t already 😉 Cheers!

  12. Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! However, how could we communicate?

  13. Fantastic beat ! I would like to apprentice while you amend your web site, how could i subscribe for a blog site? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear concept

  14. Fantastic site. Lots of helpful information here. I am sending it to some friends ans additionally sharing in delicious. And of course, thanks for your effort!

  15. Hi, Neat post. There’s an issue together with your web site in internet explorer, may test this텶E still is the marketplace chief and a good component of people will pass over your fantastic writing due to this problem.

  16. Simply desire to say your article is as surprising. The clearness in your post is simply excellent and i could assume you are an expert on this subject. Fine with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please carry on the gratifying work.

个人中心
今日签到
有新私信 私信列表
搜索
赣ICP备2021010644号-1