Google Buzz 是 Google 推出的整合在 Gmail 中分享个人状态信息和其他动态的工具,只要是 Gmail 用户,就可以在 Buzz 中通过空开或者私密的方式来分享文字,图片,视频等信息,在移动设备中,还可以通过 Buzz 向好友分享地理位置,并且 Google Buzz 还可以直接导入个人的 Twitter,Picasa,Google Reader,博客等各种内容。 由于 Google Buzz 整合到 Gmail 中,所以这个服务一开始,就有非常多的用户,那么如何让博客读者把你的博客中的日志分享到 Google Buzz 中,让你的博客日志在更多的用户分享和传播呢?今天我就讲解下如何添加 Google Buzz 按钮到 WordPress 博客当中。
添加 Google Buzz 按钮到 WordPress 博客当中非常简单,只要在博客主题的 single.php
文件中添加如下代码即可:
<div id="google_buzz"><a href="http://www.google.com/reader/link?url=<?php echo urlencode(get_permalink());?>&title=<?php echo urlencode($post->post_title);?>&srcURL=<?php echo urlencode(get_option('home'));?>" target="_blank" rel="nofollow external">分享到 Google Buzz</a></div>
效果如下所示:
当然了,如果你先添加代码麻烦,这里还有几个插件,可以让你无需修改主题自动添加 Google Buzz 按钮到 WordPress 博客。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有