MailCounter 顯示出文章被轉(zhuǎn)寄的次數(shù)
這項工具是由 The Next Web 所開發(fā),如果你想知道你的文章被轉(zhuǎn)寄的多不多,只要將語法加入網(wǎng)頁即可。使用教學(xué)MailCounter 的顯示樣式如下:JavaScript 語法:將以下源代碼復(fù)制
使用教學(xué)
MailCounter 的顯示樣式如下:
JavaScript 語法:將以下源代碼復(fù)制到你的網(wǎng)站要顯示按鈕的位置,記得將 http://yoururlhere.com 和 title of your page here 變更為頁面網(wǎng)址以及頁面標(biāo)題。<iframe src="http://getmailcounter.com/mailcounter/?url=http://yoururlhere.com&title=title of your page here" height="64" width="50" frameborder="0" scrolling="no"></iframe> WordPress 語法(自己架設(shè)WordPress):復(fù)製以下源代碼,加入你的模版 single.php 和 index.php 等檔案里。<?phpecho '<iframe src="http://getmailcounter.com/mailcounter/?url=';urlencode(the_permalink());echo '&title=';urlencode(the_title());echo '" height="64" width="50" frameborder="0" scrolling="no" ></iframe>';?>網(wǎng)址:http://getmailcounter.com/(原文)