(+84) 463.28.7979

How to Add a Retweet Button on Your Blog


Twitter has seen exponential growth in the past year which is the reason why more and more bloggers are now sharing their stories on twitter. If you haven’t seen one of the cool Retweet buttons on some of most famous blogs, then you are missing out.

In this article, we will show you how to add a Retweet Button in all of your posts, so your audience can Tweet your stories with one click.

There are two ways to add this button in your site. First is through the WordPress Plugin called Tweetmeme

Upload the plugin into /wp-content/plugins/ directory.

Activate it, and then visit the settings page.

You can change the RT @tweetmeme which is default to RT @yourusername. In our case it would be RT @wpbeginner.

This plugin also allows you to choose the location of the button placement. Top Right Corner, Top Left Corner, and so on.

The second way is to do it by placing the codes in your templates file of your choosing at the location that you desire.

For the Large Button:

<script type=”text/javascript”>
tweetmeme_source = ‘wpbeginner’;
</script>
<script type=”text/javascript” src=”http://tweetmeme.com/i/scripts/button.js”> </script>

For the Compact Button:

<script type=’text/javascript’>
tweetmeme_style = “compact”;
tweetmeme_source = ‘wpbeginner’;
</script>

Remember to change wpbeginner to your twitter name. Now you have a Retweet button on your posts. You are on your way to getting more exposure. Follow us on Twitter.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>