转载自:幸福收藏夹
http://www.happinesz.cn/my-projects/
今天,应该是个特别的日子,因为定了一个一直都很想要拥有的插件 – CN Social Bookmarks。其实与其说是自己写的,更应该说只是自己修改的而。首先感谢zhu8,他的Add Bookmarks的想法让我有写这样一个插件,既方便到自己,也可以方便到大家。更重要的是:支持中文社会化网络书签(Social Bookmarks)的发展。
事实上,以前就在想,为什么好好的中文文章,提交到Digg.com又没多少人看,为什么不提到到更有用的书签呢,比如Diglog.com和收客网、趣摘等。个人挺看到收客和趣摘的,因为都挺让人喜欢!特别是今天和他们的内部人员交流,感觉他们都不错,所以先向大家推荐一下。
现在,就来介绍一下这个插件吧:
* 安装使用:(wordpress 2.3下测试完好!)
* 1\ 下载插件,并解压;
* 2\ 将整个文件平上传到wp-content/plugins/目录下;
* 3\ 在你想要显示的地方加入这个函数:
- <? if (function_exists(‘cn_social_bookmarks‘)) { cn_social_bookmarks(); } ?>
* 4\ 测试,并享受其给你带来的方便吧.
插件默认的显示方式是本文显示,如果我想改为图标显示的话,请打开cn-social-bookmarks.php,修改第16行。links : 表示显示文字链接;icon : 表示显示图标链接。
嗯,就这么简单,让你方便提交到各大主流的中文社会化网络书签,享受分享与之带来的流量的乐趣吧:-)。
下 载: 本站下载(0.2) | 分流下载 | Demo(0.1)
(注:本来只是做像DIGG一样的社会化网络书签,由于博客的要求,0.2版增加了百度搜藏、天天网摘、和QQ书签,支掉了被GFW的DIGLOG及带来流量不多的黑米书签)
———Usage in English———
* Install & Configure -Basic (just visit the plugin homepage for advanced usage!)
* 1\ Upload the Whole cn-social-bookmark folder into your Wordpress plugins directory.
such as: yourblog.com/wp-content/plugins/cn-social-bookmarks/
* 2\ Activate it via the Plugins area in the admin.
* 3\ Put this code where you want the social bookmark links to show up:
<? if (function_exists(’cn_social_bookmarks’)) { cn_social_bookmarks(); } ?>
Important! It must be in the post loop. Above the comments is a great spot. This will not work in the sidebar.
* 4\ Test it!
* 5\ Just Have Fun!
The default look of the plugins is show in TEXT, if you want to change a default to show ICON inteal of TEXT.Open the cn-social-bookmarks.php and modify in the 16th row.Change the”links” to “icon”,and the plugin will display a set show in icons.
Yes,it is so simple! Have Fun!
写完中英文介绍了,最后希望大家有什么意见都能提出来。谢谢!