其实网络上有很多的关于把wordpress的文章收藏的书签,但是我觉得实用插件有插件的好处,直接添加一行代码有代码的好处,但是最近看了一个国外的网站提供的书签服务,觉得真是最全面的一个了,而且代码也是相对之简洁的。
网站地址为:http://www.addthis.com/
只需要在网站首页选择你所喜欢的样式,然后在single.php中合适的地方添加代码就可以了的,比如我选择了一个样式,得到代码为:<!– AddThis Button BEGIN –>
<div class=’addthis_toolbox addthis_default_style’ expr:addthis:title=’data:post.title’ expr:addthis:url=’data:post.url’><a href=’http://www.addthis.com/bookmark.php?v=250&username=xa-4c1c9f73681c4b39′ class=’addthis_button_compact’>Share</a>
<span class=’addthis_separator’>|</span>
<a class=’addthis_button_facebook’></a>
<a class=’addthis_button_myspace’></a>
<a class=’addthis_button_google’></a>
<a class=’addthis_button_twitter’></a>
</div>
<script type=”text/javascript” src=”http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4c1c9f73681c4b39″></script>
<!– AddThis Button END –>
Leave a Reply