[英]Twitter button count not work, it always displays 0
劇本:
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
代碼:
<?php
$variable = '<a name="twitter_share" href="http://twitter.com/share" data-url="'.urlencode(get_permalink($post->ID)).'" data-counturl="'.urlencode(get_permalink($post->ID)).'" data-count="horizontal" class="twitter-share-button" >Tweet</a>';
?>
它成功發送了推文,但在我的網站頁面圖標中不計算推文的數量,它保持不變,值為0。
解決方案已接受,在此先感謝。
我從這里找出這個問題的答案,
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.