Jquery 共享Google Plus计数器始终显示零
我正在WordPress博客中使用Sharre脚本。Facebook和Twitter计数器工作正常,但Google+计数器始终显示为零 以下是我使用的代码:Jquery 共享Google Plus计数器始终显示零,jquery,css,google-plus,google-plus-one,social-media,Jquery,Css,Google Plus,Google Plus One,Social Media,我正在WordPress博客中使用Sharre脚本。Facebook和Twitter计数器工作正常,但Google+计数器始终显示为零 以下是我使用的代码: jQuery('#googleplus').sharrre({ share: { googlePlus: true }, template: '<a class="box" href="#"><div class="co
jQuery('#googleplus').sharrre({
share: {
googlePlus: true
},
template: '<a class="box" href="#"><div class="count" href="#">{total}</div><div class="share"><i class="icon-google-plus-sign"></i></div></a>',
enableHover: false,
enableTracking: true,
urlCurl: '',
click: function(api, options){
api.simulateClick();
api.openPopup('googlePlus');
}
});
jQuery(“#googleplus”).sharre({
分享:{
谷歌+:没错
},
模板:“”,
enablehaver:false,
enableTracking:正确,
urlCurl:“”,
单击:函数(api、选项){
api.simulateClick();
api.openPopup('googlePlus');
}
});
我试着把URL和所有可能的东西都放在URL中,但没有成功
请帮助。错误是:
href = "#"
代码的第节。从字符串中删除
#
(默认为当前页面)或输入页面的规范路径。您的URL添加到哪里?我在那里没有看到任何URL。如果没有要获取的URL,它将始终为0。