※本篇內文資訊參考如下※
- -
※更新文章日期: 2017-09-15
最新的FB、Google+、推特twitter網頁分享按鈕語法
適用於wordpress網站系統
整理官方最新自動會有圖案分享按鈕
Facebook
<iframe src="https://www.facebook.com/plugins/
share_button.php?href=<?php the_permalink(); ?>
&layout=button&size=large&mobile_iframe=
false&appId=程式代號&width=65&height=28"
width="65" height="28" style="border:none;overflow:hidden"
scrolling="no" frameborder="0"
allowTransparency="true"></iframe>
GOOGLE+
<script src="https://apis.google.com/js/platform.js" async defer>
{lang: 'zh-TW'}
</script>
<div class="g-plus" data-action="share"
data-annotation="bubble" data-height="24"></div>
推特Twitter
<a href="https://twitter.com/share" class=
"twitter-share-button" data-size=
"large">Tweet</a> <script>
!function(d,s,id){var js,fjs=
d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?
'http':'https';if(!d.getElementById(id))
{js=d.createElement(s);js.id=id;js.src=p+':
//platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js,fjs);}}
(document, 'script', 'twitter-wjs');</script>