♥ ; 如何为帖子添加 Facebook Like Button

如图、

【Design / 设计】 > 【Edit / 修改 Html】 > 【打勾 Expand Widget Templates】 ::

Ctrl + F 、找 :
<data:post.body/>
然后 Copy 以下代码 、
Paste 在 <div class='post-header-line-1'/> 的 上面下面 ;)

<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&amp;layout=standard&amp;show-faces=true&amp;width=530&amp;height=60&amp;action=like&amp;colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px'/>  

Paste 在上面的话、Like button 就出现在帖子的上面 ;
Paste 在下面的话、Like button 就出现在帖子的下面

预览查看 、
确定后才保存模板噢 =)

Ah Waii 
筆。

No comments:

Post a Comment