首页 > 其他 > 详细

分享代码 Twitter,Facebook,Google,Yahoo,Linkedined

时间:2015-05-11 16:12:26      阅读:199      评论:0      收藏:0      [点我收藏+]

1: 分享到twitter的代码

<a href="http://twitter.com/home?status=<?php the_permalink(); ?>
<?php the_title(); ?>" 
title="分享到 Twitter" target="_blank" rel="nofollow">
Twitter
</a>

2: 分享到Facebook的代码

<a href="http://www.facebook.com/sharer.php?u=
<?php the_permalink();?>&t=<?php the_title(); ?>" 
target="blank">Facebook</a>

3:分享到Google的代码

<a href="http://www.google.com/bookmarks/mark?op
=add&bkmk=<?php the_permalink() ?>&title=
<?php the_title(); ?>">Google</a>

4:分享到yahoo

<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=
<?php the_permalink() ?>&t=<?php the_title(); ?>" 
target="_blank">雅虎</a>

5:分享到linkedin

<a href="http://www.linkedin.com/shareArticle?mini=true&url=
<?phpthe_permalink(); ?>&title=<?php the_title(); ?>
&source=ADD_YOUR_BLOG_URL_HERE">
<img src="ADD_IMAGE_URL_HERE" /></a>

分享代码 Twitter,Facebook,Google,Yahoo,Linkedined

原文:http://blog.csdn.net/aangjava/article/details/45644017

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!