Hi!
My Retweet Button in the sidebar has suddenly become empty:
Haven't changed anything on my site. Any idea what could be wrong?
Thanks!
Renco
Hi!
My Retweet Button in the sidebar has suddenly become empty:
Haven't changed anything on my site. Any idea what could be wrong?
Thanks!
Renco
Yes, Kriesi used the tweetmeme service for the tweet button. Unfortunately the service doesn't exist anymore ( http://tweetmeme.com/ ) and the button code api is useless at the moment. You can try to replace the tweetmeme script with the standard twitter button though. Open up index.php and replace following line:
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
with:
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
The documentation to the twitter button api can be found here (eg you can add a counter, etc.): https://dev.twitter.com/docs/tweet-button
You must log in to post.