Wordpress自动社交链接

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Wordpress自动社交链接相关的知识,希望对你有一定的参考价值。

  1. // bookmark on Delicious
  2. <a rel="nofollow" href="http://delicious.com/post?url=<?php the_permalink(); ?>&amp;title=<?php echo urlencode(get_the_title($id)); ?>" title="Bookmark this post at Delicious">Bookmark at Delicious</a>
  3.  
  4. // submit to Digg
  5. <a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=<?php the_permalink(); ?>" title="Submit this post to Digg">Digg this!</a>
  6.  
  7. // tweet on Twitter
  8. <a rel="nofollow" href="http://twitter.com/home?status=<?php echo urlencode("Currently reading: "); ?><?php the_permalink(); ?>" title="Share this article with your Twitter followers">Tweet this!</a>
  9.  
  10. // submit to StumbleUpon
  11. <a rel="nofollow" href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php echo urlencode(get_the_title($id)); ?>" title="Share this post at StumbleUpon">Stumble this!</a>
  12.  
  13. // share on Facebook
  14. <a rel="nofollow" href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&amp;t=<?php echo urlencode(get_the_title($id)); ?>" title="Share this post on Facebook">Share on Facebook</a>
  15.  
  16. // submit to Blinklist
  17. <a rel="nofollow" href="http://blinklist.com/index.php?Action=Blink/addblink.php&amp;url=<?php the_permalink(); ?>&amp;Title=<?php echo urlencode(get_the_title($id)); ?>" title="Share this post on Blinklist" >Blink This!</a>
  18.  
  19. // store on Furl
  20. <a rel="nofollow" href="http://furl.net/storeIt.jsp?t=<?php echo urlencode(get_the_title($id)); ?>&amp;u=<?php the_permalink(); ?>" title="Share this post on Furl">Furl This!</a>
  21.  
  22. // submit to Reddit
  23. <a rel="nofollow" href="http://reddit.com/submit?url=<?php the_permalink(); ?>&amp;title=<?php echo urlencode(get_the_title($id)); ?>" title="Share this post on Reddit">Share on Reddit</a>

以上是关于Wordpress自动社交链接的主要内容,如果未能解决你的问题,请参考以下文章

WordPress中的自动社交媒体链接

html 如何在WordPress主题中添加社交媒体共享链接

修复社交3.4.4 Wordpress插件中的Digg链接

我的 Anchor 标签重定向到我自己的 Wordpress 网站/“我在标签中提供的链接”

社交计数 wordpress 插件

我应该如何处理:Wordpress 社交登录(网络)和 Flutter(移动)