先選擇範本→編輯HTML→勾選展開小裝置範本
綠色字-註解藍色字-原程式碼
紅色字-加入程式嗎?
----加在文章頁身body-----------------------------------------------------------------------------------
<div class='post-header'>
<div class='post-header-line-1'/>
</div>
<b:if cond='data:blog.metaDescription == ""'>
<!-- Then use the post body as the schema.org description,
for good G+/FB snippeting. -->
<div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='description articleBody'>
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=true&width=450&action=like&font=verdana&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height: 65px;'/>
<data:post.body/> 加在這行上面Body
----加在文章頁腳footer----------------------------------------------------------------------------------
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
<b:if cond='data:top.showAuthor'>
參考:
http://littlebmix.blogspot.tw/2012/07/google-bloggerfacebooklike-button.html
http://design-forces.blogspot.com/2011/10/html-blogger-facebook.html
沒有留言:
張貼留言