用户名:
密 码: 记住
您当前的位置:首页 > 站长百科 > 建站经验

MailCounter 显示出文章被转寄的次数

时间:2015-01-18  来源:互联网  作者:佚名
这项工具是由 The Next Web 所开发,如果你想知道你的文章被转寄的多不多,只要将语法加入网页即可。

使用教学

MailCounter 的显示样式如下:

mailcounter-sample

JavaScript 语法:将以下源代码复制到你的网站要显示按钮的位置,记得将 http://yoururlhere.com 和 title of your page here 变更为页面网址以及页面标题。

复制代码代码如下:
<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 语法(自己架设WordPress):复製以下源代码,加入你的模版 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>';?>

网址:http://getmailcounter.com/(原文)

来顶一下
返回首页
返回首页
推荐资讯
【图文教程】dede织梦网站后台如何发表文章? 【图文教程】dede织梦网站后台如何对于新手站长可能不了解,dede织梦后台是如何发文章的。下面
2014站长圈十大事件:PR已死 移动算法兴起 2014站长圈十大事件:PR已死 移动算2014年即将过去,虽然站长圈相比过去几年稍显沉寂,但&ldquo
相关文章
    无相关信息
栏目更新
栏目热门