重要: 修改 Template前請先備份存檔
修改步驟 版面配置 (Template) → 修改 HTML (Edit HTML) → 把 展開小裝置範本 (Expand Widget Template) 打勾 來編輯範本的完整 HTML
將按鈕的程式碼加入你想要的位置 (任選其一)
a. 將按鈕置於文章標題前:
在 <h3 class='post-title'> 代碼前加入以下代碼:
<script>
document.write('<iframe 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" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:80px"></iframe>');
</script>
b. 將按鈕置於文章內容前或後:
在 <p><data:post.body/></p> 代碼前或後加入以下代碼:
<script>
document.write('<iframe 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" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:80px"></iframe>');
</script>
其他部落格程式碼請參考官網說明:
Like Button - Facebook ↓ 按鈕樣式如下
本週熱門
-
文 / 小Mic Google 翻譯是相當好用的東西,除了翻譯還有發音的功能,最近被網友拿來發音惡搞,透過中英文的組合,不僅可以Beatbox、繞口令,還可以唱台語歌曲,讓人聽了不覺莞爾,堪稱一絕,不得不佩服網友們的創意。以下按聆聽即可發音,或點連結前往Google 翻譯頁面。...
-
座位號碼除以4,餘1(右窗) 餘3(右道) 整除(左道) 餘2(左窗),記住1342。 文字版: 台鐵車廂座位表 窗 道 道 窗 1 3 4 2 5 7 8 6 9 11 12 10 13 15 16 14 17 19 20 ...
-
文 / 小Mic 繼金曲獎失利後,鬼才歌手黃明志,再接再厲發表新曲《擊敗人》,他將原本一本正經的情歌歌詞,以句尾連接句首的方式,大玩各種18禁文字諧音,讓人看了會心一笑。意想不到的詞彙連接法,讓人再次見到黃明志的創意發想。 藍叫(懶叫 台語的老二) 丟內樓道(粵語的幹你...
-
文 / 小Mic 這是最近紅透半邊天的小遊戲,推出至今已超過1億人次下載,簡單有趣,是打發時間的好玩意兒,原本都在手機上玩,但PC版玩起來拉弓的感覺又不同了,到底有多好玩,不妨親身體驗一下憤怒鳥的魅力。 可以下載放在隨身碟變成可攜版(支援 Windows XP/Vista...
-
1. 鄰居 一個男人在他妻子洗完澡後準備進浴室洗澡。這時,門鈴響了。 妻子迅速用浴巾裹住自己衝到門口。 當她打開門時,鄰居鮑伯站在那兒。 在她開口前,鮑伯說:「你如果把浴巾拿掉,我給你800美元。」 想了一會兒,這個女人拿掉浴巾赤裸地站在鮑伯面前。幾秒鐘後,鮑伯遞給她...
-
如圖 好機車! 錯! 誰說你除了「吃屎」什麼都不會? 解答如下: 臲卼 ㄋ一ㄝˋ ㄨˋ 虒亭 ㄙ ㄊㄧㄥˊ 鸑鷟 ㄩㄝˋ ㄓㄨㄛˊ 髽鬏 ㄓㄨㄚ ㄐㄧㄡ 娭毑 ㄒㄧ ㄗㄨㄛˇ 藠頭 ㄒㄧㄠˋ ㄊㄡˊ 檵木 ㄐㄧˋ ㄇㄨˋ 鼙叟 ㄆ...
-
文 / 小Mic 國片《KANO》話題持續發酵,讓人不免回顧起日治時期的台灣,臉友 姚桑 去年就製作了台灣日治時期的街景對照,還加上經典註解,讓人看了心有戚戚焉!究竟是今非昔比?還是昔非今比?答案自在你我心中! 特別感謝原作姚桑推薦本文 ※以下圖片經原作同意刊載(點圖放...
-
最近瘋狂聽 Gem Tang 唱的歌,特別推薦! 2014.02.07第6期《喜歡你》 原唱:黃家駒 名次:1 延伸閱讀: 「我是歌手」G.E.M. 鄧紫棋比賽曲目 「我是歌手」G.E.M. 鄧紫棋《一無所有》 「我是歌手」G.E.M. 鄧紫棋&am...
-
如果世界上真的有天使, 那麼天使應該就是這個女孩的模樣。 女孩的名字叫 Hailey Ford(海莉·福特), 4 年前,她與母親逛完雜貨鋪出來, 遇到了 Edward,一個流浪漢, 他坐在路邊,已經很多天沒吃飽飯了。 Hailey 拉著母親的衣角問: "我...
-
.個人資料. .姓 名: 潘劭勇 .暱 稱: 小Mic (Michael) .星 座: 水瓶座 .血 型: O型 .婚 姻: 未婚 .身 高: 168 公分(cm) .體 重: 58 公斤(kg) .個人簡介. 籍貫 台北市 學歷 國立臺北商業大學 經歷 好樂迪(...
10 則留言 :
謝謝喔~
我剛也加入了.
佳男: 不客氣! 我有去你的部落格看過, 非常不錯! 也按下「讚」了, 一起加油喔!
謝謝你提供的教學~^^
寫得很棒,謝謝你。
成功了,感謝~
舒適的生活, paladin, Jason: 不客氣嚘! 一起加油~ ^^
謝謝你提供的教學,非常棒!!!
Kevin: 不客氣! 一起加油喔~ ^^
感謝,我也加入了,謝謝你的教學!!!!
KuangTC: 不客氣嚘! 一起加油~ ^^
張貼留言