代码实现分享到delicious和twitter
简单用几行代码实现分享到这两个地方。
<span class="twitter">P.S. 如果你喜欢本文,把它分享到<a href="http://twitter.com/home?status=我正在看《<?php the_title(); ?>》这篇文章,还不错。文章链接:< ?php the_permalink() ?>" title="Click to send this page to Twitter!"> Twitter </a></span><span class="delicious">或者收藏到<a href="http://del.icio.us/post?url=<?php the_permalink() ?>"> Delicious </a>。</span>
css可以这么写
.twitter a {font-weight:700;color:#33ccff;background-color:#fff;} .delicious a {font-weight:700;color:#3274D0;background-color:#fff;}
Add comment 二月 20th, 2009