How to Add a Retweet Button on Your Blog291

How-to-Add-a-Retweet-Button-on-Your-BlogHow-to-Add-a-Retweet-Button-on-Your-Blog
Author: InfoBeep - December 6, 2017 | subject to copyright

The more, your website content is shared, there is more probability you are going to have lots of visitors. And, since Twitter is one of the growing social platform adding a retweet button could be an advantage for you.

So, if you want to add a retweet button on your site and allow your viewers to share your blog post through the site. We have mentioned 2 different ways to do that:

You can install and activate Tweetmeme plugin to your site. It will automatically display retweet button on your post. Also, you need to visit setting page and enter your twitter username. For eg: RT @yourtwitterusername

The second option is by pasting code in templates file.

For large Button:

<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-wp-preserve="%3Cscript%20type%3D%22text%2Fjavascript%22%3E%0Atweetmeme_source%20%3D%20'wpbeginner'%3B%0A%3C%2Fscript%3E" data-mce-resize="false" data-mce-placeholder="1" class="mce-object" width="20" height="20" alt="<script>" title="<script>" />
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-wp-preserve="%3Cscript%20type%3D%22text%2Fjavascript%22%20src%3D%22http%3A%2F%2Ftweetmeme.com%2Fi%2Fscripts%2Fbutton.js%22%3E%3C%2Fscript%3E" data-mce-resize="false" data-mce-placeholder="1" class="mce-object" width="20" height="20" alt="<script>" title="<script>" />

For compact button:

<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-wp-preserve="%3Cscript%20type%3D'text%2Fjavascript'%3E%0Atweetmeme_style%20%3D%20%22compact%22%3B%0Atweetmeme_source%20%3D%20'wpbeginner'%3B%0A%3C%2Fscript%3E" data-mce-resize="false" data-mce-placeholder="1" class="mce-object" width="20" height="20" alt="<script>" title="<script>" />