wordpress plugin – search engine related posts

Table of content

Description

English version

When someone is referred from a search engine like Google, the plugin show your blog content matched the terms they search for.

中文说明

当用户从google搜索到你的博客上,这个wordpress 插件会根据用户搜索的关键词显示你的博客上更多的相关内容。目前也只对google生效,下一个版本将对baidu生效。

这个插件完全使用javascript加上google的api完成,不需要占用服务器端的资源,环保且安全。

Usage

English version:

  • unzip it
  • Put <div style="display:none" id="search_content"></div> at the place in your template where you want the list of related posts
  • Copy search_related_posts.php to direcotry wp-contents/plugin and activate the plugin.
  • done!

中文说明:

  • 解压
  • 在wordpress模板中添加一个id为search_content的html标签,比如
    CODE:
    1. <div id="search_content" style="display:none;">
    2. <h1>相关搜索结果</h1>
    3. </div>

  • 复制search_related_posts.php到wp-contents/plugin目录,并激活插件.
  • done! 现在你可以试着从google搜索上先搜到自己的博客,然后点击进去看看插件的效果。

Download

latest search engine related posts

History

作者: Volcano 发表于May 2, 2008 at 1:42 pm

版权信息: 可以任意转载, 转载时请务必以超链接形式标明文章原始出处作者信息及此声明

Tags: ,,

18 条评论 »

  1. 天真 于 2008-05-04 @ 23:09:41 留言

    呃。。。尝试了,只是到现在还没有结果。。你这边用着了吗?

  2. volcano 于 2008-05-05 @ 01:19:12 留言

    用上了啊,可以看这个链接
    http://www.google.cn/search?q=firebug&aq=-1&oq=&complete=1&hl=zh-CN&hs=8mh

    点击进入本站之后,在页面最右边能看到相关的搜索结果的

  3. Sanny Rizky Jatnika 于 2009-02-26 @ 15:44:19 留言

    Did You share the English version for this Plugin? thanks bfore

  4. baron 于 2009-03-29 @ 01:42:56 留言

    Works great, thank you

  5. Damian 于 2009-04-03 @ 07:33:14 留言

    Good job with this plugin, works perfect, thanks.

  6. Adrian 于 2009-05-07 @ 00:46:44 留言

    Great plugin, very helpful, best regards.

  7. morgan 于 2009-07-18 @ 11:00:57 留言

    相關搜尋結果link將我的網站名中的hyphen去除了,造成404。你能幫我嗎?

  8. eJewelrySource 于 2009-08-03 @ 13:37:50 留言

    Thank you. I am going to give it a try.

  9. ozgun 于 2009-08-23 @ 19:38:36 留言

    Thank. Great plugin.

  10. Satya Prakash 于 2009-09-27 @ 02:52:37 留言

    I will suggest a fix!

    On my blog, my url was not working because of .replace(“-”, “”).
    I have “-” in my domain name itself.
    I have removed that. Was there a reason for this? I have tested it and it is working now.
    The file where I have modified is serp-min.js.

  11. Gazduire web 于 2009-10-23 @ 04:07:42 留言

    Thanks, good works! Bravo! :)

  12. fetu 于 2010-01-04 @ 07:48:18 留言

    hello, i’m uber noob in blogging and i don’t know what template are you talking about. i don’t know how to do this
    “Put at the place in your template where you want the list of related posts”

    what i wanted to do is make a related post links on the post itself.

  13. photowork 于 2010-04-03 @ 07:59:25 留言

    Thank you for a great plugin. I’m very appreciate it. Cheers!

  14. Tom 于 2010-05-14 @ 17:45:55 留言

    Hi there,

    you should check for results before showing the div like so:
    if(o.length>2){a.style.display=”block”}

    This works better, when having a headline or sth. in the div.

    Regards,
    Tom

  15. Tom 于 2010-05-14 @ 17:46:22 留言

    by the way, great plugin :D

  16. hyip 于 2010-06-12 @ 21:54:59 留言

    Where do I find settings for this plugin? How do I know if it works properly. Thanks.

  17. Eletronica Circuitos 于 2010-08-08 @ 01:34:28 留言

    Good job with this plugin, works perfect for me, thanks.

  18. Nguyen 于 2010-08-25 @ 18:23:36 留言

    That’s really a good plugin for WP. Great job !

RSS 为此帖反馈评论

留条评论