MailCounter 显示出文章被转寄的次数
MailCounter 显示出文章被转寄的次数
发布时间:2016-12-21 来源:查字典编辑
摘要:这项工具是由TheNextWeb所开发,如果你想知道你的文章被转寄的多不多,只要将语法加入网页即可。使用教学MailCounter的显示样式...

这项工具是由 The Next Web 所开发,如果你想知道你的文章被转寄的多不多,只要将语法加入网页即可。

使用教学

MailCounter 的显示样式如下:

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

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/(原文)

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新建站经验学习
热门建站经验学习
建站子分类