【发布时间】:2016-01-04 01:47:06
【问题描述】:
我创建了简单的图标来在 Facebook、Pinterest 和 Twitter 上分享我的博客文章。 Facebook 链接过去可以工作,但现在不行了。我不确定 Pinterest 用什么。 Twitter 链接可以正常工作,但我想包含我的 Twitter 句柄。
您对如何使 Facebook 链接正常工作或在 Pinterest 中使用什么有任何建议?谢谢。
这是我一直在使用的:
<li><a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>" target="_blank"><span class="icon-facebook-1"></span></a></li>
<li><a href="http://twitter.com/home/?status=<?php the_title(); ?> - <?php the_permalink(); ?>" target="_blank""><span class="icon-twitter"></span></a></li>
【问题讨论】:
标签: facebook twitter share social pinterest