2014年6月24日 星期二

如何在Blogger中,讓每篇文章都能崁入Facebook「讚」呢






首先登入Blogger的控制台後點選「範本」「編輯HTML


在程式編輯區中找到下面這一行:post-footer-line post-footer-line-1,最後將這段程式碼貼在後面,最後儲存範本即可

<script>
document.write(&#39;&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=<data:post.url/>&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=verdana&amp;colorscheme=light&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; allowTransparency=&quot;true&quot; style=&quot;border:none; overflow:hidden; width:450px; height:65px&quot;&gt;&lt;/iframe&gt;&#39;);
</script>





MinYueChen . 2017 Copyright. All rights reserved. Designed by Blogger Template | Free Blogger Templates