首页 » WordPress 插件 » WordPress 2.3 Related Posts Plugin 0.4

WordPress 2.3 Related Posts Plugin 0.4

October 9th, 2007 at 02:47pm 雪山飞猪 浏览: 1,782

升级了一下,增加了两个选项,使得能够添加相关日志的留言数和发布日期,解决了如果相关日志的标题中如果还有一些特殊字符引起的通不过 XHTML 验证问题!

下个版本将增加一个选项,让用户决定如果没有相关日志时候,显示什么内容?现在只是简单显示 "没有相关日志" 字符,个人觉得可以显示随机日志,或者别的东东,你可以留言告诉我!

下载地址和介绍请看:WordPress 2.3 Related Posts Plugin

另外感谢:
Iliyan Darganov 帮忙制作了保加利亚语言包
Alex 帮忙制作了希腊语言包
Neil 帮忙制作了繁体语言包

作者:雪山飞猪
原文链接:WordPress 2.3 Related Posts Plugin 0.4
我爱水煮鱼版权所有,转载时必须以链接形式注明作者和原始出处及本声明。

17fav 收藏本文

del.ici.ous: 1 -- Technorati: 4

13 条评论 添加你的评论

  • 1. 安胖  |  October 9th, 2007 at 3:13 pm

    升级升级~

    [回复该留言]

  • 2. xddxz  |  October 9th, 2007 at 4:02 pm

    恩我觉得应该可以随机显示一定分类里面的文章最好了。或者直接选取一些文章让他们随机显示。谢谢你的插件。

    [回复该留言]

  • 3. kusanagi  |  October 9th, 2007 at 4:55 pm

    能多显示个随机文章最好了,还想知道个,把相关日志的发表时间显示在日志名称后面,需要改哪里?

    [回复该留言]

  • 4. cpiz  |  October 9th, 2007 at 7:14 pm

    加选项吧,可选择随机文章,最热门文章或指定几篇文章.

    [回复该留言]

  • 5. 主角博客  |  October 9th, 2007 at 7:53 pm

    如果"没有相关日志",能够随机显示其他日志更好啦。建议这样做一个。

    [回复该留言]

  • 6. oline  |  October 10th, 2007 at 10:15 am

    没相关文章时,应该允许随机显示同分类下的文章比较合理。比如过去有许多文章并没有标上TAG,所有就没办法显示出来了。

    [回复该留言]

  • 7. nowhy  |  October 11th, 2007 at 7:43 pm

    为什么我升级了以后就不能用了?以前用0.3的时候都是正常的,升级到0.4以后前台就不显示了。。。。

    [回复该留言]

  • 8. Jiwei  |  October 13th, 2007 at 2:52 am

    Excellent plug-in! Thank you for make it available publicly. Here's a couple of suggestions for future improvement.

    1. The documentation states "Place " in your templates". You may care to specify which template. I found single-post.php the best, if not the only place.
    2. Unzip the download file creates WP23RP in a subdirectory, and WordPress cannot discover the new plug-in. It's be better it unzips to WP23RP right away

    [回复该留言]

  • 9. Let's gotolab  |  October 27th, 2007 at 1:04 pm

    很重要的问题,在线盼回音.
    我安装你的插件后,在博客首页出现问题,
    问题如下:
    我将调用代码放置在博客的独立文章页中.
    我的独立文章页分如下几块:
    1.header
    2.post
    3.reply
    4.foot
    当我把代码放到不同的位置后,页面刷新,然后页面内容就会被相同文章的代码截断掉.后面部分无法显示,留下一串error代码,如下:
    Fatal error: Call to undefined function wp_get_post_tags() in /home/.shepherd/gotolab/gotolab/wp-content/plugins/WP23RP/wp23_related_posts.php on line 38

    [回复该留言]

  • 10. Let's gotolab  |  October 27th, 2007 at 1:07 pm

    然后我根据error提示到该插件目录下找到wp23_related_posts.php.在该文件的38行发现如下内容:
    $tags = wp_get_post_tags($post->ID);

    我对PHP语言一窍不通.只能大概的猜测,这里是调用tags来执行的.是这样嘛?

    此问题如何解决?
    在线盼复!

    [回复该留言]

  • 11. 雪山飞猪  |  October 27th, 2007 at 1:42 pm

    @Let's gotolab,你看插件的名字 WordPress 2.3 Related Post,就知道只适用于2.3,你2.2.2怎么用呢?呵呵

    [回复该留言]

  • 12. Krishna  |  November 6th, 2007 at 3:03 pm

    Thanks for your wonderful plugin. is there a way to entirely hide if there are no related posts? Thanks in advance

    [回复该留言]

  • 13. chengsun  |  May 26th, 2008 at 12:16 am

    Dennis 你好, 想向你请教一下. 我将这个 plug-in 加入一个新的主题当中 (StudioPress -Red), 可是, 这个插件显示出来的文字和主题本身的不一样, 位置也有一点点靠向外边, 我应该如何修改呢? 你可以看看这两个图, 了解我所说的情况.
    http://cid-6abeff331ed738bb.skydrive.live.com/self.aspx/Public/error1.JPG
    http://cid-6abeff331ed738bb.skydrive.live.com/self.aspx/Public/error2.JPG

    [回复该留言]

发表评论

必须

必填,打死不公开

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

主题推荐:World of Warcraft WordPress 2.3 中文包下载突破 1W


订阅

本站推荐

正在更新

分类

Clicki

抓虾