码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-05-11 16:14:57      阅读:535      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!