首页 » WordPress 插件 » Where did they go from here 插件修改版

Where did they go from here 插件修改版

May 27th, 2008 at 12:13pm 雪山飞猪 浏览: 918

Where did they go from here? 是一个记录读者在你博客上的浏览记录的插件,它能够显示读过这篇日志的读者同时也读了的日志列表。但是原来版本中有一个很不好的地方,就是会记录浏览的静态页面,个人感觉这样很不好,因为每个页面都会有静态页面的链接,这样会造成很多这样的浏览历史列表中出现重复的静态页面链接。

我把这个插件修改了下,让它只记录浏览过的日志。并且把其中的自动把这个列表功能取消。现在你调用这个插件需要手动在 single.php 模板中加入 show_where_they_go() 这个函数。

插件下载之后安装激活即可,如果一段时间之后还没有出现浏览记录,清查看下你主题的 footer.php 文件中是否有 <?php wp_footer(); ?> 函数。

插件下载:Where did they go from here

英文版清查看这里

作者:雪山飞猪
原文链接:Where did they go from here 插件修改版
我爱水煮鱼版权所有,转载时必须以链接形式注明作者和原始出处及本声明。

17fav 收藏本文

PR: 3 / del.ici.ous: 2 / Technorati: 1

17 条评论 添加你的评论

  • 1. tsian  |  May 27th, 2008 at 11:12 pm

    沙发!

    [回复该留言]

  • 2. tsian  |  May 27th, 2008 at 11:12 pm

    啧啧,我真强大。
    挥一挥键盘,不带走一个板凳。

    [回复该留言]

    雪山飞猪 reply on May 27, 2008:

    为什么我眼里深含着泪水,因为我深爱着这个博客。

    BS 抢沙发兼板凳的人。

    [回复该留言]

  • 3. Black-Xstar  |  May 28th, 2008 at 12:43 am

    是不是底部那个:
    你在本站浏览了 9266 次,上次浏览是在……
    这个东西啊?

    [回复该留言]

    大话 reply on May 28, 2008:

    不是吧,好像水煮鱼之前有用,现在没看到了

    [回复该留言]

    雪山飞猪 reply on May 28, 2008:

    哈哈,不用了,和相关日之列表完全重复。

    [回复该留言]

  • 4. Black-Xstar  |  May 28th, 2008 at 12:44 am

    “清查看下你主题的”
    “英文版清查看这里”

    不是“清”,是“请”。
    唉,老是打错字。

    [回复该留言]

  • 5. stephen  |  May 29th, 2008 at 11:28 am

    谢谢啦,已经下载激活了,估计要等一段时间在把函数加上,现在加上基本上都是空的。

    [回复该留言]

  • 6. 9NPC  |  May 29th, 2008 at 3:38 pm

    感谢~如果原来启用过的了,是不是直接覆盖修改就行? :idea:

    [回复该留言]

  • 7. 正在连接中  |  May 29th, 2008 at 3:50 pm

    show_where_they_go()

    在single.php里面加了 show_where_they_go()

    但是在日志还是显示 show_where_they_go() 这段字母

    [回复该留言]

    雪山飞猪 reply on May 29, 2008:

    麻烦先看下简单得 php!

    [回复该留言]

    正在连接中 reply on May 29, 2008:

    我这样添加是否正确。

    [回复该留言]

    正在连接中 reply on May 29, 2008:

    《?php show_where_they_go(); ?》

    [回复该留言]

  • 8. 流星  |  August 2nd, 2008 at 1:47 am

    一安装之后,点击启用,结果就提示

    该插件会引发致命错误,无法启用。

    Fatal error: Cannot redeclare add_wherego_count() (previously declared in /www/martinkim/WWW/hyp/wp-content/plugins/wp-stickiness.php:68) in /www/martinkim/WWW/hyp/wp-content/plugins/wheredidtheygov1.php on line 92

    我用ue打开,把92行的那个结束括号删除,再次上传,结果又提示110错误,这回没法解决了……

    [回复该留言]

    雪山飞猪 reply on August 2, 2008:

    wp-stickiness.php 这个插件包括了 wheredidtheygov 的功能啊。

    [回复该留言]

    流星 reply on August 2, 2008:

    wp-stickiness.php
    这个我启用了
    但是没看到成果,估计是我流量问题

    恩,不搞wheredidthey了

    [回复该留言]

Trackbacks / Pingbacks

发表评论

必须

必填,打死不公开

:mrgreen: :neutral: :twisted: :arrow: :shock: :smile: :???: :cool: :evil: :grin: :idea: :oops: :razz: :roll: :wink: :cry: :eek: :lol: :mad: :sad: :!: :?:

AideRSS WordPress Plugin 100 天,30 个插件


WooThemes - Premium WordPress Themes Club

订阅

本站推荐

正在更新

分类

Clicki