当前位置: 移动技术网 > 网络运营>推广>网站建设 > MailCounter 显示出文章被转寄的次数

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

2019年05月31日  | 移动技术网网络运营  | 我要评论
MailCounter是一个蛮好用的功能,只要在博客内加入一个语法,就能让使用者轻松转寄文章,并显示出文章被转寄的次数,如同 TweetMeme 或 Facebook 的按钮。... 10-01-16
这项工具是由 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/(原文)

如您对本文有疑问或者有任何想说的,请 点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网