Pages

Display a Retweet Button On Your Site







With Twitter getting so much exposure, as a blogger you should already be using it to your advantage. Power of twitter is like no other because it is word of mouth advertising. To make this easier on your readers, what you can do is place a prominent retweet button, so they can retweet the article with one click. Not only just that, but you should make it the way so you can track the retweets as well. That is where tweetmeme widget comes in.
In this tutorial we will have you create a button that will link to the text in the following format:
RT @ Title of the Post – Link
Add the following code in the template file of your choosing most likely single.php
For the Large Button:
1<script type="text/javascript">
2tweetmeme_source = 'wpbeginner';
3</script>
4<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"> </script>
For the Compact Button:
1<script type='text/javascript'>
2tweetmeme_style = "compact";
3tweetmeme_source = 'wpbeginner';
4</script>
Remember to change the source to your twitter account name, this way you will not only promote your account to get more followers, but your article will be promoted as well.

No comments:

Post a Comment