WordPress 2.3 Related Posts Plugin
September 12th, 2007 at 02:19am 雪山飞猪 浏览: 41,791
English
This plugin is only available from WordPress 2.3
WordPress Related Posts Plugin will generate a related posts via WordPress tags, and add the related posts to feed.

Installation and Usage:
- Upload the WPRP folder to the /wp-content/plugins/ directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Place <?php wp_related_posts(); ?> in your templates
- Navigate to Manage Panel > Option > WordPress Related Posts to configure plugin output.
Release History
0.1 The initial version, Generate the related posts via WordPress 2.3 tags.
0.2 Add a option panel in the WordPress admin area to customize the related posts title and no related posts text, how may posts will be shown in the list, and whether show related posts in Feed or not.
0.3 This version fix 2 bugs which will disply unpublished post and attachment to related posts. Add 1 function which can let user choose which categories aren't showed in related posts, and last we have added po file, you can use it to translate this plugin to your own language. Thanks paopao help to finish this version.
0.31 fix 1 small bug, now you can put the plugin and language file in a folder, thanks Kretzschmar help to come out Germany laguage file.
0.4 fix 1 small bug that make the related post is not volid, add tow options which can let you add comments count and post date to related posts.
0.5 add an option which can let you choose what to dispaly when no related post and fix a SQL bug.
0.51 fix the bug occured in version 0.5 which close comment and ping for all posts.
0.6 fix the exclude category ID bug and add a function which auto add related posts after content. also change the option style to WordPress option style. And Change name to WordPress Related Posts
Download:wp23_related_posts.zip
If you have any problem, please leave me a comment.
You can donate via payapl to support the plugin's development,
中文
该插件只在 WordPress 的版本在 2.3 以上有效。
WordPress 相关日志插件会根据日志的 tag 的相关性产生一个相关日志列表。并且把相关日志列表添加到Feed 中。
安装和使用:
- 上传整个插件文件夹到 /wp-content/plugins/ 目录下
- 在插件菜单下激活插件
- 在模板文件中适当的位置插入 <?php wp_related_posts(); ?> 模板函数
- 在管理界面下,Manage > Option > WordPress Related Posts 中配置插件的输出
修改历史
0.1 初始版本,能够通过 WordPress 2.3 产生相关日志列表。
0.2 在管理区域增加一个 Option 子菜单,用于定制相关日志标题和没有相关日志时显示的文本,显示多少篇相关日志和是否显示到 Feed 中。
0.3 这个版本修正了两个 bug,增加一个功能,最好还提供了语言包,非常感谢 paopao 帮忙制作这个版本。
0.31 修正一个小 bug, 并且 Kretzschmar 帮忙制作了德文包。
0.4 修正一个小 bug,增加了两个选项,现在可以添加留言数和发布日期到相关日志中。
0.5 增加了一个选项,使得能够让用户决定如果没有相关日志时候,显示什么内容?并修改了一个 SQL 的 bug。
0.51 修正 0.5 版本的把所有日志 comment 和 ping 都关掉的 bug。
0.6 把后台设置页面的样式修改成符合 WordPress 2.5 的样式,修正了 exclude category 的问题。增加了自动在内容后增加相关日志的功能。并把名字改成了 WordPress Related Posts。
下载:wp23_related_posts.zip
引用请指向本文地址,而非下载地址,谢谢合作
如有什么问题,请给我留言!
作者:雪山飞猪
原文链接:WordPress 2.3 Related Posts Plugin
我爱水煮鱼版权所有,转载时必须以链接形式注明作者和原始出处及本声明。
1. libo | September 12th, 2007 at 3:12 am
貌似无法使用,有可能是你测试时使用的编码有问题.
我在一个DREAMHOST主机环境下,全部是utf8编码的全新安装没有任何插件的WP2.3 B3上测试,一旦激活这个插件,首页变成了空白,什么都没有了(还没有修改模板调用函数)
[回复该留言]
2. 雪山飞猪 | September 12th, 2007 at 3:24 am
我在我的 BH 主机上测试了没有问题!
[回复该留言]
3. libo | September 12th, 2007 at 3:28 am
楼上没明白我的意思 我强调的是站点的编码和数据库的编码全部为utf8的情况下没有测试通过
[回复该留言]
4. chengsun | September 12th, 2007 at 8:59 am
这是一个插件? 可是WP 2.3 不是 9 月 24 日才出来吗?
[回复该留言]
5. ideaonly | September 12th, 2007 at 9:49 am
题外话,这篇日志的内容我没有具体学习和验证,但这篇日志的添加方式我比较喜欢,英中文对照,便于阅读和查看。不错!
[回复该留言]
6. Wady | September 12th, 2007 at 9:58 am
WordPress 中文团队第二个作品,顶,哈哈
[回复该留言]
7. 雪山飞猪 | September 12th, 2007 at 11:36 am
@ libo,我的 BH 空间也是全新安装的。另外这个插件和编码没有任何关系。
@ chengsun,这是在2.3 Beta 3测试的时候做的插件。
[回复该留言]
8. 沈蚊 | September 12th, 2007 at 11:57 am
怎么能让rss输出时候让相关文章显示在more前面,正文中则显示在正文最后呢?
ps.“欢迎来自 http://www.bloglines.com 的朋友。本站关注 WordPress 及其相关技术,如果您是第一次来到这里,建议您订阅本博客”——偶已经是bloglines来的,干嘛还要订阅呀~~XD
[回复该留言]
9. libo | September 12th, 2007 at 2:54 pm
终于找到了原因,你试一下,开启gzip后,页面就无法显示了,刚刚在全新的WP 2.3B3上测试完
[回复该留言]
10. hanhao | September 12th, 2007 at 3:07 pm
谢谢,已经使用了
[回复该留言]
11. 雪山飞猪 | September 12th, 2007 at 3:27 pm
@ 沈蚊,我写的程序还不能辨别出 http://www.bloglines.com 是订阅器。因为太多订阅网站,不好写!
@ libo,和 gzip 没有关系,是我的插件 ?> 后多了几个空行,删除即可,或者使用我修改的版本!
[回复该留言]
12. libo | September 12th, 2007 at 3:31 pm
我不知道有没有关系 我的意思只是在开启Gzip的情况下有异常
[回复该留言]
13. libo | September 12th, 2007 at 3:52 pm
我手动修改了一下你的插件 不知道这样是否符合协议
1我把rated posts修改为了中文
2在FEED中显示的位置提前到紧挨文章,也就是把您位置参数中改成了9,否则位置会低于better_feed这个插件,不太符合阅读习惯
[回复该留言]
14. libo | September 12th, 2007 at 3:52 pm
如果可以这样做的话请告知我 我自己已经用了
[回复该留言]
15. 雪山飞猪 | September 12th, 2007 at 4:03 pm
@ libo,插件里面写了 GPL 协议, GPL 协议是允许你修改再发布的,你可以看看 维基 上面对 GPL 的说明。GNU通用公共許可證
另外我这个插件也是源自 UTW 相关日志函数。
[回复该留言]
16. libo | September 12th, 2007 at 4:20 pm
哦 我主要是修改了一些显示上的样式,增加了“暂时没有相关文章”等,已经发出来了 http://www.sediyer.cn
[回复该留言]
17. paopao | September 12th, 2007 at 4:33 pm
“可以功过参数 limit 来控制显示日志的数量”
错别字
[回复该留言]
18. 雪山飞猪 | September 12th, 2007 at 4:47 pm
@ paopao,这个都被你看出来,不过我是经常写错别字的。
[回复该留言]
19. paopao | September 13th, 2007 at 8:28 am
@雪山飞猪 我可是看得很认真的噢 :lol
[回复该留言]
20. Micas | September 13th, 2007 at 9:09 pm
不错啊,我也回头装一个。
[回复该留言]
21. Schulte | September 13th, 2007 at 11:32 pm
Great job. I'm sure this plugin will be well received.
[回复该留言]
22. vash | September 17th, 2007 at 12:40 am
When i call the function using
nothing happens it doesnt come up and it wipes the rest of my page out can you please help
[回复该留言]
23. 雪山飞猪 | September 17th, 2007 at 12:50 am
Hi vash, I had a look you blog, your blog is powered by WordPress 2.2.2 and this plugin only works on WordPress 2.3 beta 1 or above!
[回复该留言]
24. YouON | September 19th, 2007 at 7:39 am
i got this
Fatal error: Call to undefined function wp_get_post_tags() in /wp-content/plugins/wordpress-23-related-posts-plugin/wp23_related_posts.php on line 71
what's means?
[回复该留言]
25. 雪山飞猪 | September 19th, 2007 at 8:51 am
hi YouON, this plugin is only available for WordPress 2.3 beta1 or above
[回复该留言]
26. 优酷吧 | September 21st, 2007 at 12:07 pm
i got this
Fatal error: Call to undefined function wp_get_post_tags() in /wp-content/plugins/wordpress-23-related-posts-plugin/wp23_related_posts.php on line 71
[回复该留言]
27. 雪山飞猪 | September 21st, 2007 at 8:54 pm
Hi 优酷吧 , again, this plugin is only available for WordPress 2.3 beta1 or above
[回复该留言]
28. Eleven | September 21st, 2007 at 11:11 pm
麻烦一下,出了点问题。
我用wordpress 2.3RC,使用了这个插件后,在Related Posts列表里面出现了附件的链接。
* Joke
* Hahaha
* wlw4.jpg
* wlw.jpg
* wlinstaller.exe
我确认我没有这样的日志。更不会给附件添加tag,况且我不会。
请问下,这个问题是由什么引起的?
[回复该留言]
29. 雪山飞猪 | September 21st, 2007 at 11:17 pm
@ Eleven,能否告诉我你的网址,我帮你看看,或许这个是这个插件的 BUG。
[回复该留言]
30. Eleven | September 22nd, 2007 at 12:03 am
好的,谢谢,这个帖子下面就出现来这个问题。
http://skylast.com/2007/09/20/safari-303.html
[回复该留言]
31. 雪山飞猪 | September 22nd, 2007 at 12:08 am
这个问题还真的没有考虑到,我这两天有点忙,我过些天修改之后,再给你!也希望能够到时候帮忙测试下!
[回复该留言]
32. Kretzschmar | September 23rd, 2007 at 7:57 pm
I found a small bug.
In line 150 change:
_e
to
__.
[回复该留言]
33. 雪山飞猪 | September 23rd, 2007 at 8:04 pm
Hi Kretzschmar, thanks for your help!
[回复该留言]
34. Kretzschmar | September 26th, 2007 at 12:07 am
Right now all your strings are gettexted BUT you didn't add a proper textdomain. Are you interested in the needed fixes to make your plugin properly translate?
I could make a german translation too. I will do those changes if you add it to the base plugin. So future version will be translated too without needing me to change the plugin again and again.
[回复该留言]
35. 雪山飞猪 | September 26th, 2007 at 12:20 am
@ Kretzschmar, that is kind of you if you can translate it to German Version, I will contact with you when I finish add the textdomain. is it ok to send a mail to you?
[回复该留言]
36. Damien Riley | September 26th, 2007 at 1:53 am
Is there any way to somehow migrate all UTW tags to this new native system? I was previously using UTW tags to drive my related posts.
[回复该留言]
37. Emmanuel | September 26th, 2007 at 2:10 am
Hi,
Great plugin! I noticed that a few users suggested some bug fixes. I wanted to mention that I am having a problem with the text size of your plugin. If I do not enter any text in the text fields of your plugin's options, the text displayed shows up at the correct size. However, if I enter some custom text in the fields then the text does not show up at the right size, even though your plugin is called within a span that adjusts the size to 95%. Could you please have a look at this, I'm not sure if it's related to the previous bugs mentioned.
Thanks!!
P.S. Damien Riley, Wordpress 2.3 has a built in import feature that can import all your tags from UTW. Look for it in your dashboard under MANAGE > IMPORT.
[回复该留言]
38. Baris Unver | September 26th, 2007 at 8:16 am
When I try to edit the plugin, it always messes up eventually. The line starting with "$q=..." is so horrible, please fix it!
[回复该留言]
39. kimkof | September 26th, 2007 at 3:14 pm
Pb in your plugin!
RelatedPost print the link of post which are no plublish....
[回复该留言]
40. Meyithi | September 26th, 2007 at 4:38 pm
Great plugin that should be very popular, however the output won't validate as XHTML which means that many will be reluctant to use it.
[回复该留言]
41. Mario | September 26th, 2007 at 5:35 pm
Your plugin is really helpful but there is one problem I have found using it. You should escape the post titles correct. For example when I have a post with an "&" your plugin should output "&".
Another thing could be helpful:
Can you integrate an input field in the admin panel to exclude/include categories per ID. Lots of wordpress sites are using one kategorie for photo post or for a portfolio. I don't want them to be listed in the related posts section.
best
Mario
[回复该留言]
42. yuanzhu | September 26th, 2007 at 5:48 pm
lol, eagering for the new version's release!
[回复该留言]
43. 雪山飞猪 | September 26th, 2007 at 6:19 pm
Thanks for all of you's suggestion, I am working on the next version, I hope I can release it tomorrow morning (BJ time)
[回复该留言]
44. GoGo | September 27th, 2007 at 3:25 pm
的确不错,很实用,下次更新可否添加个-是否显示列表标题的选项,这样就可以在修改模板的时候自定义标题样式,当然如果可以在设置里直接定义列表标题样式就更好啦
[回复该留言]
45. underone | September 27th, 2007 at 10:19 pm
有个觉得合理的建议
增加一个选项:
当没有相关文章的时候,选择自动调用当前分类下的文章(随机N篇)
[回复该留言]
46. 雪山飞猪 | September 27th, 2007 at 11:33 pm
@ underone,这个我也想过,这是第三版想到的是修正问题和出语言包,所以没有制作,下个版本,制作,呵呵!
[回复该留言]
47. Kretzschmar | September 27th, 2007 at 11:46 pm
Nice to have a gettexted version but you should make a small change to have it a bit more conveinient.
I changed the textdomaincall so all mo files can resist in the plugin folder. In your version you have to copy them to the base plugin folder of wordpress.
I made a german translation too. So just write me a mail and I send you my commented changes plus the german translation.
[回复该留言]
48. 丁亮 | September 28th, 2007 at 11:59 am
怎么没有汉化呢.
怎么样设置才能汉化啊?
[回复该留言]
49. paopao | September 28th, 2007 at 10:15 pm
@丁亮
设置WordPress的语言为zh_CN
把mo文件放到/plugins/目录
[回复该留言]
50. Iliyan Darganov | September 29th, 2007 at 2:30 am
Hi, here is the bulgarian translation for your plugin: http://www.darganov.com/internet-and-seo/balgarski-prevod-na-wp23-related-posts-130.html
Direct download link: http://www.darganov.com/wp-content/uploads/2007/09/wp23_related_posts-bg.zip
I found what I think is a bug. Even though wp23_related_posts.php is in a subdirectory, it searches for the translation files in the [wordpress_dir]/wp-content/plugins/ directory and not into the subdirectory.
[回复该留言]
51. 雪山飞猪 | September 29th, 2007 at 2:36 am
hi Iliyan Darganov, the new version 0.31 solve the problem you memtioned.
I will add your bulgarian translation next version, thanks for you help.
[回复该留言]
52. Iliyan Darganov | September 29th, 2007 at 5:47 am
The problem I mentioned was found using 0.31 + WP 2.3.
[回复该留言]
53. osez | September 29th, 2007 at 2:58 pm
i dont see any related post in the feed after i choosed the feed option, must i add a code somewhere for that?
thanks
[回复该留言]
54. 雪山飞猪 | September 29th, 2007 at 3:10 pm
Hi osez, coz you use the feedburner burned feed, if you check your oringnal feed, the related posts have been already added to your feed.
[回复该留言]
55. fxyjg | September 30th, 2007 at 10:57 am
为什么我的装了这个插件后,不但没效果,连别的内容都显示不出来了呢
http://www.idl-envi.org.cn
麻烦有知道的高手帮我看看啊
小弟在此谢过了
[回复该留言]
56. 雪山飞猪 | September 30th, 2007 at 11:09 am
@fxyjp,你修改模板文件修改错了吧?
[回复该留言]
57. fxyjg | September 30th, 2007 at 11:14 am
没有啊
我就在single.php里面找了个地方把调用函数放进去了,怎么就这样了呢
[回复该留言]
58. 雪山飞猪 | September 30th, 2007 at 11:16 am
肯定是你修改错误了,我给你发邮件了!
[回复该留言]
59. fxyjg | September 30th, 2007 at 11:19 am
谢谢你的热心啊
收到你的评论邮件了,没收到别的邮件啊
请问怎么才能正确引用,这个插件呢
[回复该留言]
60. fxyjg | September 30th, 2007 at 11:23 am
我发给你了啊,你看看
[回复该留言]
61. fxyjg | September 30th, 2007 at 11:25 am
真是非常感谢你的热心:)
[回复该留言]
62. dupola | October 1st, 2007 at 2:45 am
非常好。。我还没升级。升级后就用这个。。。
[回复该留言]
63. dupola | October 1st, 2007 at 2:46 am
怎么我的头像变这样了。。。。。
[回复该留言]
64. 雪山飞猪 | October 1st, 2007 at 1:13 pm
@ dupola,我这里空间有问题,我是用了 Gravatar 缓存,可能过段时间就ok!
[回复该留言]
65. Cj B | October 2nd, 2007 at 2:57 am
Hello. Great plugin, but it always returns 0 related posts. What do I have to do to get it to give me related posts?
[回复该留言]
66. nala | October 2nd, 2007 at 5:12 am
Nice Site!
[回复该留言]
67. oline | October 2nd, 2007 at 7:15 pm
不错,比原来一个老外开发的好,老外那个没有调用代码,结果自定义不了在哪里显示相关内容。
[回复该留言]
68. 雪山飞猪 | October 2nd, 2007 at 11:11 pm
hi CjB, I just have a look your site, seems you don't add tag to your post, so this plugin can't work on your blog
[回复该留言]
69. Martin | October 3rd, 2007 at 12:59 pm
hi, thanks for making this excellent plugin, best one i have found.
could you tell me how to change the "related post" text that appears above the realted posts. changing the options in the plugin settings doesnt seem to alter the title displayed.
i viewed the source code and saw the title was wrapped in h3 tags, i would like to change it to h2 or make it bold. how do i do this?
[回复该留言]
70. 雪山飞猪 | October 3rd, 2007 at 2:06 pm
Hi Martin, in this case, you should modify the source code, change h3 to h2 or anything else you like!
[回复该留言]
71. Neil | October 5th, 2007 at 4:58 pm
谢谢你们提供了一个这么好的插件,我做了一个繁体中文的翻译,欢迎到我的blog下载:
http://www.wmfield.idv.tw/487
再次感谢!
[回复该留言]
72. Scot Hacker | October 6th, 2007 at 6:30 am
This is great! Thanks. I'd really like the ability to insert the publication date of each related post before the the title, e.g.:
2007-05-11 | Who's Tops in Chinese Literature?
I could hack the plugin to do this, but won't if this is a planned feature.
Thanks,
Scot
[回复该留言]
73. Scot Hacker | October 6th, 2007 at 7:50 am
Ah - looks like SimpleTags has complete formatting options for the rendered output, so I'll use that. Thanks though.
[回复该留言]
74. 雪山飞猪 | October 6th, 2007 at 1:05 pm
Hi Scot, Somple tags is great plugin, it contain almost the functions related to tags, seems I will stop to development my plugin.
[回复该留言]
75. underone | October 9th, 2007 at 2:05 pm
有0.4了?!
[回复该留言]
76. 雪山飞猪 | October 9th, 2007 at 2:07 pm
@ underone,对,还没有写日志!先上传了!
[回复该留言]
77. Baris Unver | October 9th, 2007 at 10:03 pm
I sent the Turkish translation weeks ago, but appearently you did not add it to the new version
I sent again, hop you'll add it this time.
[回复该留言]
78. 雪山飞猪 | October 9th, 2007 at 11:41 pm
Hi Baris Unver. sorry for I missed your mail last time, I will add it for you soon.
[回复该留言]
79. Fer | October 10th, 2007 at 12:42 am
Hi,
Great plugin! I have a question: how do you format the related post entry font size? I´ve been playing with the code without success, but I´ve managed to remove the bullet from the list. Specifically, I want to have bigger font size in the related post list. Any help would be greatly appreciated. Thanks.
[回复该留言]
80. 雪山飞猪 | October 10th, 2007 at 12:57 am
Hi Fer,
if you look inside the html souce code, the relate posts list have the related_post class, you can use this class to format it in CSS.
[回复该留言]
81. Mosey | October 10th, 2007 at 8:56 am
謝謝您continue 'Related posts'...我到目前為止還沒換到2.3就是因為很多plugin不compatible. 讀了Comment 68 有一個很好的提議唷! 好像是說如果可以的話,可以算一算在找到的related posts中,有哪些是有比較多tag是match的...給的重要性也就比較大.不知有什麼想法呢?
謝謝!
[回复该留言]
82. treblam | October 12th, 2007 at 6:31 pm
觉得gogo的提议不错,应该再增加一个是否显示列表标题的选项。
[回复该留言]
83. even | October 13th, 2007 at 6:22 am
水煮鱼,你好。
我装了这个插件也出现和60楼的fxyjg一样的情况,相关文章没有列出来,而且函数以下的内容都无法显示了。
我曾将分类转换成tag,之前的分类较多,大致是这种情况,不知道有什么解决办法,我发现即使是用Simple Tags也会出现同样的问题。
请问,知道如何解决吗?谢谢。
[回复该留言]
84. Trevor Greenfield | October 14th, 2007 at 2:09 am
Where in the coding do I add the line of code;
I am getting an error when I add it to the head area and body area in my template.
Error is;
Fatal error: Call to undefined function: wp_get_post_tags() in /home/sites/bettafishkeeping.com/public_html/wp-content/plugins/WP23RP/wp23_related_posts.php on line 38
Thank you,
[回复该留言]
85. 雪山飞猪 | October 14th, 2007 at 2:23 am
@ Trevor Greenfiled, this plugin is only availiable for WordPress 2.3, and I have checked your WP is 2.04
[回复该留言]
86. Rick | October 16th, 2007 at 2:46 am
In what wordpress file should I add the code?
[回复该留言]
87. Rick | October 16th, 2007 at 2:53 am
Nevermind. Figured it out. Add the code to your single.php file. That file will be in your template directory.
[回复该留言]
88. 嘉林 | October 16th, 2007 at 8:09 am
谢谢哟,我用上了。不错!
[回复该留言]
89. Nath @ Reformed Geek | October 16th, 2007 at 5:53 pm
Is it possible for you to officially edit the code so that the "No Related Posts Text:" actually appears as text under the "Related Posts Title" heading. It looks a bit strange having the text be the heading. Thanks.
[回复该留言]
90. Skaldrom Y. Sarg | October 17th, 2007 at 3:57 pm
A wonderful Plugin, thnx a lot!
One Problem: If you have apostrophes (") in your blog title, it invalidates the html in the link. If you would change the following lines, the problem will dissappear (because of the htmlentities):
Line 172:
echo '<a>ID).'" title="'.htmlentities($relate_post-> post_title) .'">'.$relate_post-> post_title.'</a>';
Line 216:
$content = $content . '<a>ID).'" title="'.htmlentities($relate_post->post_title) .'">'.$relate_post-> post_title.'</a>';
[回复该留言]
91. 雪山飞猪 | October 17th, 2007 at 4:38 pm
Hi Skaldrom, I think this problem is solved in verison 0.4
[回复该留言]
92. 小哀 | October 18th, 2007 at 9:56 pm
Fatal error: Call to undefined function: wp_get_post_tags() in /home/skybob/domains/seops.cn/public_html/blog/wp-content/plugins/WP23RP/wp23_related_posts.php on line 38
这个是为什么????????????
[回复该留言]
93. 雪山飞猪 | October 18th, 2007 at 10:07 pm
@小哀,这个只适合 WordPress 2.3
[回复该留言]
94. 安之成 | October 23rd, 2007 at 1:22 pm
我装的2.3怎么没有TAG功能啊,装上UTW后又不支持中文TAG...
[回复该留言]
95. Dhan | October 23rd, 2007 at 7:49 pm
I'm using your plugin (ver 0.4) on WP 2.3
This is good plugin since we use tag as relation key. The question is how can I/we limit the displayed related post? Say I want to limit only 10 displayed.
You can check the plugin in action on http://www.fundkitchen.com
Thanks
[回复该留言]
96. Shortd81 | October 26th, 2007 at 8:39 am
I've installed the plugin but where do I put the code?
I've tried putting in a number of places and it's still not showing any related post at all.
[回复该留言]
97. 正月初一 | October 26th, 2007 at 9:53 am
恩,喜欢啊!这个比simple-tags更有特色,希望以后加点更加有用的东西进去.比如随即显示
[回复该留言]
98. 嘉林 | October 26th, 2007 at 10:29 am
呵,看到有好多评论……
我用起来觉得非常不错啊。
[回复该留言]
99. Laundro | October 26th, 2007 at 8:47 pm
Exclude does not work with .40. I've tried using the ID# and the actual word. Am I missing something?
[回复该留言]
100. 雪山飞猪 | October 26th, 2007 at 9:13 pm
@Laindro, try to only input 40, if you want exclude two categories, input 40,41
[回复该留言]
101. ilees | November 2nd, 2007 at 11:19 am
3。在模板文件中适当的位置插入 模板函数
请问具体放在哪?
[回复该留言]
102. xBodhi | November 4th, 2007 at 7:45 am
貌似官方只更新到了0.4版…… 审核中?
小猪哥放一个本地连接吧 嘿嘿
[回复该留言]
103. 雪山飞猪 | November 4th, 2007 at 3:16 pm
@xBodhi 现在可以了,昨天上传的时候有点问题!
[回复该留言]
104. hegfirose | November 4th, 2007 at 7:20 pm
升级到0.5以后,遇到了几个比较大的问题:
1、评论功能自动关闭
2、TrackBack URI自动关闭
3、Tag读取错误,出现的为相关日志的Tag
不知是插件冲突还是其他原因?
谢谢!
[回复该留言]
105. 雪山飞猪 | November 4th, 2007 at 7:30 pm
@hegfirose 你说的问题和这个插件应该没有关系吧?
给我地址,我帮你看看!
[回复该留言]
106. cnzzr | November 4th, 2007 at 9:51 pm
升级到0.5以后,遇到了几个比较大的问题:
1、评论功能自动关闭
2、TrackBack URI自动关闭
3、Tag读取错误,出现的为相关日志的Tag
而换成0.4后就没有以上瓿。
应该是代码中的变量影响了程序其他函数的执行。
[回复该留言]
107. 正月初一 | November 4th, 2007 at 10:27 pm
晕出错了 ,,,,没备份现在怎么半啊??
[回复该留言]
108. 正月初一 | November 4th, 2007 at 10:50 pm
大哥你不带留一点余地的,所有的地方不是链接回这里就是被你更新了,气死我了.
[回复该留言]
109. cnzzr | November 4th, 2007 at 10:53 pm
还是等水煮鱼把这问题解决再启用些插件吧。
[回复该留言]
110. 正月初一 | November 4th, 2007 at 11:17 pm
真快马上0.51了
[回复该留言]
111. 雪山飞猪 | November 4th, 2007 at 11:25 pm
不好意思,各位,请下在0.51版本,欢迎告诉我新版本的使用结果。
[回复该留言]
112. 老髦 | November 5th, 2007 at 12:44 am
还好睡觉前来看了下,果然是个BUG,找了一晚上关于评论被关闭的问题,不过还是感谢飞猪 这么及时的解决了问题!!
[回复该留言]
113. 無法顯示網頁 | November 5th, 2007 at 1:17 am
我用了新版本的 WordPress 2.3 Related Posts Plugin 發生一個問題,
我的 Blog 無法同時使用 Brian's Threaded Comments 這個 Plug-in 耶!
如果同時使用會出現一個 Brian's Threaded Comments 造成的錯誤訊息:
ERROR:
Threaded Comments can't find the 'addcomment' div.
This is probably because you have changed the comments.php file.
Make sure there is a tag around the form that has the id 'addcomment'
但我記得前幾天用 WordPress 2.3 Related Posts Plugin v0.40 的時候是正常的!
[回复该留言]
114. 無法顯示網頁 | November 5th, 2007 at 1:22 am
唉呀~ 我剛剛沒有注意您的更新,
目前更新為 WordPress 2.3 Related Posts Plugin v0.51 已經正常了!
嗚~ 害我查了好久才發現這個問題。
不過,你這個 Plug-in 很棒呢!感謝嘿~
[回复该留言]
115. 雪山飞猪 | November 5th, 2007 at 1:23 am
@無法顯示網頁 已经更新到0.51,麻烦重新下载下!
[回复该留言]
116. 正月初一 | November 5th, 2007 at 9:47 am
一切OK!
昨天更新了0.5害我一直找以前版本(由于对博主有太多的信心就没备份)
不过1个小时的样子已经更新到0.51了,现在感觉不错
[回复该留言]
117. 大猫 | November 5th, 2007 at 4:39 pm
留言又出错了...
IE6内核 maxthon套子...
[回复该留言]
118. hegfirose | November 5th, 2007 at 4:45 pm
呵呵,水煮鱼的效率还真高啊!
各位达人先试试用用看!
[回复该留言]
119. favorgame | November 6th, 2007 at 12:53 pm
什么效果啊?图片不错哦
[回复该留言]
120. jfly | November 7th, 2007 at 4:58 pm
希望能够按相关度排名。
如果A贴和B贴有2个相同的Tag,应该比只有1个Tag相同的相关度高吧。
[回复该留言]
121. 雪山飞猪 | November 7th, 2007 at 5:00 pm
@jfly 第一个版本就是按照这个排的,你可以自己测试下看看!
[回复该留言]
122. 正月初一 | November 7th, 2007 at 6:45 pm
要是把站静态化,然后选择“相关日志显示到Feed中”就会出现Trackback和rss不能正常。
不过如果你要不用静态话插件的话应该没什么问题。
我用的是cos-html-cache
[回复该留言]
123. 雪山飞猪 | November 7th, 2007 at 6:53 pm
@正月初一 偶还研究不懂 cos-html-cache 这么高深的插件
[回复该留言]
124. 正月初一 | November 7th, 2007 at 7:16 pm
你这个评论里面这些小图片真漂亮啊!
[回复该留言]
125. jfly | November 7th, 2007 at 9:03 pm
已经按照相关度排序了吗?那很好哦。不过可不可以搞个排序的选项呢:相关度、日期、标题。
[回复该留言]
126. Ufuk Eskici | November 9th, 2007 at 8:23 pm
Does it work under wp 2.3.1?
[回复该留言]
127. 雪山飞猪 | November 10th, 2007 at 2:32 am
@Ufuk Eskici, yes!
[回复该留言]
128. 刀客 | November 10th, 2007 at 3:57 am
“3.在模板文件中适当的位置插入 模板函数”我在page.php里插入了模板函数
"4.在管理界面下,Manage > Option > WP23 Related Posts 中配置插件的输出”但没有看到有WP23 Related Posts 菜单,不知如何输出。
请指教,谢谢!
[回复该留言]
129. kevindy | November 11th, 2007 at 2:49 am
why my posts are Unpublished?
[回复该留言]
130. ayssss | November 11th, 2007 at 8:43 pm
首先谢谢您的这个插件,很不错。
我现在有个问题是,显示相关文章列表的时候,每一行前边会有一个圆点,而这圆点跟我blog的风格不太搭。请您指点一下,应该怎么样才能不显示那个圆点,而直接显示后边的文字呢,谢谢。
[回复该留言]
131. 傻瓜 | November 12th, 2007 at 1:18 pm
非常不错
和 underone 相同的建议:
当没有相关文章的时候,选择自动调用当前分类下的文章(随机N篇)
[回复该留言]
132. My-Hou 乄吥務㊣業﹎ | November 12th, 2007 at 6:44 pm
用上了·····想在侧栏显示相关日志应该怎样作??有时间就pm我邮箱帮下我!!!
谢谢
[回复该留言]
133. Ufuk Eskici | November 12th, 2007 at 7:28 pm
Why dos the plugin only show the first 3 letters of the dates of the posts (I mean months)? How can I fix it?
[回复该留言]
134. 雪山飞猪 | November 12th, 2007 at 7:34 pm
@Ufuk Eskici the date foramt is same as your setting on the options.
[回复该留言]
135. Ufuk Eskici | November 12th, 2007 at 7:40 pm
I see, thank you.
[回复该留言]
136. Will | November 13th, 2007 at 1:32 am
Why is this site full of "??????????"
[回复该留言]
137. 雪山飞猪 | November 13th, 2007 at 2:18 am
It is Chinese, seem your opration system can't support Chinese.
[回复该留言]
138. DT | November 13th, 2007 at 3:33 am
Hi...this looks like a great plugin, but I can't seem to get it to work. Where am I inserting the code? I tried to find single.php file as mentioned above, but I get a file not found error.
thanks in advance for the help.
[回复该留言]
139. 安之成 | November 14th, 2007 at 2:47 am
用上了,多谢!!!
[回复该留言]
140. My-Hou 乄不務㊣業﹎ | November 14th, 2007 at 11:48 pm
这个真的很不错!用上···
[回复该留言]
141. 果果 | November 15th, 2007 at 12:08 pm
如果可以随机显示相关文章就好了
[回复该留言]
142. 裴庆新 | November 17th, 2007 at 4:00 pm
下载完了不能用啊?
[回复该留言]
143. Sean | November 19th, 2007 at 2:58 am
I am redoing our Music Site and am trying to implement WP 2.3 for the news stories. Problem is it can't generate related stories via tags for some reason. But it does work if I tell it to list 'Random' stories. In the 'tags' box I wrote 'Doherty' in several different posts thinking it would link them together - but it still doesn't. Instead, it just says 'No related posts'. Any suggestions?
[回复该留言]
144. 雪山飞猪 | November 19th, 2007 at 11:50 am
@Sean, would you please give me your WP blog address to have a look?
[回复该留言]
145. seo 'tukela | November 20th, 2007 at 11:18 am
您是从 http://www.google.com 搜索 WordPress 来到这里。本站关注 WordPress 及其相关技术,如果您是第一次来到这里,建议您订阅本博客
这个能看到来路插件是什么?知道的告诉下,谢谢了。
[回复该留言]
146. 雪山飞猪 | November 20th, 2007 at 3:57 pm
Landing Site
[回复该留言]
147. Michael | November 20th, 2007 at 11:04 pm
I have seen two people asking in this forum, about where one is suppose to add the code in the templates to make this work but they id not receive any reply, anyway nn posted here.
I would like to know the same, where does one add the code in the templates ????????
Thanks
[回复该留言]
148. 雪山飞猪 | November 20th, 2007 at 11:07 pm
@michael. Single.php
[回复该留言]
149. jfly | November 23rd, 2007 at 8:31 pm
根据tag没有相关日志时,是否可以把同一分类的日志作为相关日志呢?
[回复该留言]
150. Sean | November 24th, 2007 at 3:39 am
@雪山飞猪. The temp site while we redesign it for WP is http://www.pensatos.com/news2. Like I said, I can get the random function to work. But I can't get it to work but not the ability for it to link similar stories. I've typed the same keywords in the line for both articles (similar) but they still don't find one another.
[回复该留言]
151. Sean | November 24th, 2007 at 3:43 am
@雪山飞猪. Sorry - they are working on the news code right now but a good example of two articles I am trying to link are http://pensatos.com/news2/2006/06/02/doherty%e2%80%99s-needle-in-a-haystack/ and http://pensatos.com/news2/2006/06/01/pete-doherty-detained-on-flight/
[回复该留言]
152. CrazySperm | November 26th, 2007 at 2:00 am
发现一个问题
wp2.3的tag是可以设定多个tag的,用了这个插件,当文章有多个tag的时候,两篇文章必须说有个tag都一样才能关联上,例如有一篇文章的tag是A,B,C,而另外一篇文章的tag是A,B就关联不上了。
可不可以修改一下比较的方式?
[回复该留言]
153. Sean | November 26th, 2007 at 2:16 am
Nothing? Help?
[回复该留言]
154. 雪山飞猪 | November 26th, 2007 at 10:27 am
@sean, I will write a mail to you!
@CrazySperm, 这个插件是如果两篇文章的 tag 相似的越多,越靠前面。然后仔细看了下你的博客,请在各个 tag 之间用英文的,区分开,用中文的,就会成文一个 tag,我的插件本身没有你说的问题!
[回复该留言]
155. CrazySperm | November 26th, 2007 at 8:06 pm
原来是要用半角的逗号 -_-!
感谢感谢
[回复该留言]
156. nydalu | November 29th, 2007 at 1:03 pm
我也爱上水煮鱼了.呵呵..你的插件很好.
[回复该留言]
157. 压克力 | November 30th, 2007 at 2:20 pm
这插件我也想用,不过我是用在英文wordpress下的,不知道会不会有问题,先试下看
[回复该留言]
158. Julie | December 2nd, 2007 at 9:29 pm
How can I exclude a category id because when I write a number nothing happening, posts from that category continuing to display in random selection. Please help me!
[回复该留言]
159. 雪山飞猪 | December 2nd, 2007 at 11:55 pm
@Julie I think it is a bug of the plugin, I will fix it in the future!
[回复该留言]
160. Johan | December 4th, 2007 at 4:15 pm
Is there a way to limit the number of related articles shown in the template itself ?
I used UTW before, and I showed 5 related articles in the sidebar, and 3 related articles below the article.
Great work btw !
[回复该留言]
161. 雪山飞猪 | December 4th, 2007 at 4:42 pm
@Johan, no!
[回复该留言]
162. 黑色饼干 | December 4th, 2007 at 11:59 pm
现在好像有新版本的了
[回复该留言]
163. 堕落鱼 | December 15th, 2007 at 9:49 pm
我下0.21的时候提示SQL的一个错误,说什么gone away,不知道这个怎么样,先下来吧
[回复该留言]
164. Nick | December 16th, 2007 at 12:25 am
Great plugin but it seems like it just takes recent tags, i thing it should randomize the tags. That way new content can link back to old content and vice versa.
[回复该留言]
165. 雪山飞猪 | December 16th, 2007 at 7:57 pm
@Nick the plugin will take having most same tags posts in the first.
[回复该留言]
166. Doug | December 19th, 2007 at 10:56 am
How can I have it 'list' the posts. . .like adding a BR tag after each one, so it's readable
[回复该留言]
167. 雪山飞猪 | December 19th, 2007 at 11:34 am
@Doug my plugin don't have the function you mentioned.
[回复该留言]
168. bgirl | December 21st, 2007 at 7:06 pm
Thanks for making this plugin!
To make related posts appear, I need to add tags to each post as I write it?
Thanks!
[回复该留言]
169. Tim Wheatley | December 22nd, 2007 at 12:47 am
bgirl - yes. If you assign "bgirl" as a tag to a post, then in another post assign "bgirl" as a tag, this plugin will show those posts to each other as related.
Thanks for the plugin!
[回复该留言]
170. SEO | December 22nd, 2007 at 12:06 pm
用的是z-blog,看到如此强大的wp,看来得转了。
[回复该留言]
171. evden eve | December 26th, 2007 at 12:30 am
thx for this plugin
[回复该留言]
172. china tour | December 27th, 2007 at 10:00 pm
学习了,英文有没有像贵站的这种模板的?
[回复该留言]
雪山飞猪 reply on December 28, 2007:
GOOGLE BLIX
[回复该留言]
173. Alessandro | December 31st, 2007 at 7:10 pm
I found a BUG in your plugin. This bug is related to translation. I corrected the BUG and I add ITALIAN translation.
You can found all at this address: http://www.fiorotto.com/file/wordpress-23-related-posts-plugin.zip
Best regards.
[回复该留言]
雪山飞猪 reply on December 31, 2007:
Alessandro, Thanks for your help!
[回复该留言]
174. Wolfie | January 1st, 2008 at 5:34 am
Hi,
The plugin works great on tags, but I'm looking for something that does the same thing but with categories; is there any way to edit your plugin so that it does this?
Thanks
[回复该留言]
雪山飞猪 reply on January 1, 2008:
Hi Wolfie,
I think it can works with categories if you can edit it!
[回复该留言]
175. Wolfie | January 1st, 2008 at 9:56 am
Ah. That's where the problems come in; I've got as much experience of PHP coding as I have of walking on the moon! Can you offer me any help and tell me which bits to edit?
[回复该留言]
雪山飞猪 reply on January 1, 2008:
I am a little bit busy these days, so I can't help you, sorry!
[回复该留言]
176. Wolfie | January 1st, 2008 at 9:09 pm
Fair enough. Thanks anyway.
[回复该留言]
177. Supersky | January 7th, 2008 at 3:50 pm
插件很不错,不过用下来提个建议哦,对于喜欢改模板的人来说,希望能把Related Posts Title做成可以定义为不显示,否则就无法融合到模板里去了。虽然自己改代码不难,不过既然插件化了就不需要再区改代码了对吧,全部后台能管理就好。
呵呵,这个其实是个小问题,总的来说还是很不错的!
[回复该留言]
Supersky reply on January 7, 2008:
刚想到的。。。或者可以自己定义Title所用的标签,不一定是,像我现在用的模板就是的标签。
[回复该留言]
178. 黄德峻 | January 9th, 2008 at 8:03 pm
当我选择Random Post的时候,显示出很多文章。不知道能不能够设定文章显示数量?
[回复该留言]
179. BangkokDan | January 16th, 2008 at 10:25 am
Tks for this excellent plugin!
One request: I prefer to add my own TITLE with my own color.
What lines do I have to delete in the php-file to have no title?
(to delete, for instance, the whole line RANDOM POSTS)
Tks for your feedback!
[回复该留言]
180. BangkokDan | January 16th, 2008 at 3:45 pm
Got it! Thank you. Simply changed the h3-code.
[回复该留言]
雪山飞猪 reply on January 16, 2008:
Sorry, I just see your problme, great, you have solve it.
[回复该留言]
181. mickeylili | January 20th, 2008 at 8:22 pm
原来这个插件就是煮鱼老兄做的,今天才知道~~~
[回复该留言]
182. mickeylili | January 20th, 2008 at 9:56 pm
建议参考一下Simple Tags里的“Related Posts”功能,加入“Automatically display related posts into post content”的功能。
[回复该留言]
雪山飞猪 reply on January 20, 2008:
这个功能其实很简单,呵呵,但是我在想有没有必要,很多的想法都不同的!
[回复该留言]
183. oal | January 23rd, 2008 at 12:40 pm
hi, this is a great plugin which i love but i have challenge with getting it to be showing on posts.
is there anything i can do?
[回复该留言]
雪山飞猪 reply on January 24, 2008:
Sorry, I don't follow you, do you mean you can show related posts on your single page?
[回复该留言]
184. Kay | January 24th, 2008 at 11:39 am
This is a great plug-in!
It works on 2.3.2 for me, but I have a few suggestions for improvements/new features.
Are you still developing this?
[回复该留言]
雪山飞猪 reply on January 24, 2008:
yes, it is kind of you if you can give me suggestions
[回复该留言]
185. TheBloggerTips | January 24th, 2008 at 6:01 pm
Hi,
I have installed the 4 times "related post plugin" but it still not showing in wordpress plugin and unable to activate it, do you know what problem with this installation?
[回复该留言]
186. shabooty | January 26th, 2008 at 11:25 am
good stuff thank you!
[回复该留言]
187. SUN | January 26th, 2008 at 3:52 pm
quite good! many thanks!!
[回复该留言]
188. Sarah | January 26th, 2008 at 4:54 pm
Hello
Thank you for the plugin. I read the comments and understand that I can style the output with css.
Would you be able to provide some sample code on how to change the font type, size, color.
I'm very new to the world of blogging and am not familiar with css.
Thank you
[回复该留言]
雪山飞猪 reply on January 27, 2008:
have a look here!
[回复该留言]
189. Konenwebs | January 26th, 2008 at 10:05 pm
Any one can tell me how to install it?
[回复该留言]
雪山飞猪 reply on January 27, 2008:
1. Upload the WP23RP folder to the /wp-content/plugins/ directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Place < ?php wp23_related_posts(); ?> in your templates
4. Navigate to Manage Panel > Option > WP23 Related Posts to configure plugin output.
[回复该留言]
190. Jenny | February 2nd, 2008 at 11:47 am
awesome plugin. i am definitely gonna mess with this on my new theme. thanks.
[回复该留言]
雪山飞猪 reply on February 4, 2008:
when you finish youre new them, can you tell me?
[回复该留言]
191. nanokultur | February 3rd, 2008 at 5:10 am
Hello,
I have a feature request. Could you add a button like this
x only display related post in same category
So that posts are only displayed from the same category? this would be great!!!!!!!!
[回复该留言]
雪山飞猪 reply on February 4, 2008:
Great idea, I will implement it when I have time!
[回复该留言]
192. Erick | February 4th, 2008 at 2:11 am
Hello. Very useful sounding plugin. But couple of things:
1. How long does it take to do the fullindex of MYSQL tables? All my posts are coming up with "No Related Posts".
2. How can I set it up so that if there are no related posts, then there's no such section at all? I mean, I dont even want to show the pointless text "No Related Posts".
Thanks! Pls email me if you reply to this.
[回复该留言]
雪山飞猪 reply on February 5, 2008:
1. the plungin use tag not fulltext to generate related posts.
2. if you don't want to show No Related Posts. I think you should modify the source code.
[回复该留言]
193. jack | February 5th, 2008 at 11:17 am
Good question! Erick! “ I dont even want to show the pointless text "No Related Posts". ” that's what i want to ask fairyfish actually.
[回复该留言]
雪山飞猪 reply on February 5, 2008:
same as my replay to Erick.
[回复该留言]
194. Erick | February 5th, 2008 at 12:07 pm
Thanks, but I think related posts based on tag is not very useful.
I found this plugin for those who are interested: http://snipurl.com/wp_related_posts
Thanks!
[回复该留言]
雪山飞猪 reply on February 5, 2008:
haha, it deponds, someone like use tags to generate related post, someone don't like. anyway, thanks for your advince.
[回复该留言]
195. veryhanhan | February 18th, 2008 at 7:34 pm
我想请教,在模板的适当位置,就是在哪里?
[回复该留言]
196. Jaymin Patel | February 22nd, 2008 at 1:34 am
This plugin is really great. I have feature request. There should be one more option in the backend to display nothing, not even title 'Related Posts', when there are no related posts.
PS: I have checked out this plugin on Wordpress MU and it works with MU as well.
Cheers!
[回复该留言]
197. db0 | February 23rd, 2008 at 4:54 am
Thanks for this plugin. It works great. however I am trying to use the exclude function but it does not seem to work correct. Whenever I put any id there, it ends up excluding posts that don't fall into that category.
In any case this is just a very minor thing. A nice addition would be the ability to exclude tags as well.
Cheers!
[回复该留言]
198. panyanxiang | February 26th, 2008 at 9:47 pm
我使用这个插件很久了,但是都没有反应,不知道是哪里有问题!?
[回复该留言]
199. Miki | February 27th, 2008 at 5:08 am
I like this plugin a lot
Is it possible to display a thumbnail instead of thread title?
Maybe I can use the thumbnail from your other plugin?
[回复该留言]
200. Mats Dagerlind | March 2nd, 2008 at 9:22 am
The posts
http://demofon.se/?p=96
and
http://demofon.se/?p=81
share the tags
integration
and
invandring
as you can see at the bottom of each post.
Still your plugin won't recognize them as related - as you can see at the upper right in the sidebar (Inga relaterade artiklar means No related posts in Swedish). What can be the problem? Surely two identical tags must be enough to make the post related - right?
[回复该留言]
201. Mats Dagerlind | March 3rd, 2008 at 7:17 am
Since you haven't yet answered my comment, I take the liberty to add some more to my complaint.
Now, I have added tags to all my blog posts, and now som related posts are showing in the list - or should I say 'unrelated' since they seem to be completely random and have no tags in common. And no, I have not checked the random post option in the settings.
To be honest, I don't understand what this plugin is doing, if I can't get it to show the relevant posts, I have to get rid of it. I hope there is an explanation or a simple bug or something.
/Mats
[回复该留言]
雪山飞猪 reply on March 3, 2008:
Hi Mats, cos I don't understand the language of your blog, it is hard for me to check the problem. do you have gtalk or anything else IM tools, we can talk it directly.
[回复该留言]
202. Mats Dagerlind | March 4th, 2008 at 2:14 am
Hi,
I have narrowed down the problem. Your plugin works just fine as long as the code snippet is in the main page (single.php) as I have done now. But if I try to place it in the sidebar, I get completely unrelated post suggestions.
Also, I noticed this is not only true for your plugin but for other tag-based related post plugins as well. Somehow these plugins does not correctly idetify which post is loaded, perhaps you need to reset some variable values in order to make it work, or there is something related just to the theme I'm using. Any suggestions?
The language is Swedish by the way. The only IM app I have installed is Windows Live Messenger. You ougt to find me if you search for Mats Dagerlind.
[回复该留言]