我爱水煮鱼 » WordPress » WordPress 2.3 Related Posts Plugin 0.4

WordPress 2.3 Related Posts Plugin 0.4

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

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

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

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

标签:

分享到:

请选择你看完该文章的感受:

不错 超赞 无聊 扯谈 不解 路过
  1. 恩我觉得应该可以随机显示一定分类里面的文章最好了。或者直接选取一些文章让他们随机显示。谢谢你的插件。

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

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

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

  5. 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

  6. 很重要的问题,在线盼回音.
    我安装你的插件后,在博客首页出现问题,
    问题如下:
    我将调用代码放置在博客的独立文章页中.
    我的独立文章页分如下几块:
    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

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

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

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

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

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