Monday , 22 January 2018
Technology News
Home / Twitter / Retweet Button Anywhere In Worpress Blog

Retweet Button Anywhere In Worpress Blog

To encourage your audience to tweet your content on Tweeter this button is useful and very effective. The button shows a live count of the number of times your webpage or blog post has been tweeted as shown below. Retweet is one more way to promote your post through tweeter. Trust me, this method is very popular and very effective technique.



There are lot of plugins available for using this button on your WordPress blog and also most of the WordPress bloggers are already using this button on their blog with help of most plugins like TweetMeme Retweet-Button. But with some restriction like placing button on particular place like on home page or with the summarized post so it will not be suitable to you.

This is very basic Java script code which will help you out to put this button TweetMeme Retweet-Button anywhere you want on your WordPress blog, you don’t need to install any plugin. Just need to put some code in your WordPress theme.


Retweet Button Code

1) Copy the following Java Script Code
<script type="text/javascript">
tweetmeme_url = '<?php the_permalink(); ?>';
tweetmeme_source = 'Tweeter_UserName';
<script type="text/javascript" src=""></script>


2) Paste this Java Script code on a Notepad. Then replace the text in red color with your tweeter user name.

3) Then copy and paste modified script (with your user name) anywhere you want in WordPress site.

I used this java script for putting this button on my home page as shown in following for an example.

If  you do like this post just retweet this post with help of button given shown in the figure given above. :)

Article is helpful for using retweet button for wordpress, retweet button for html page, retweet button for website, retweet button code, retweet button not working.

code lt home java script code javascript post script type Text text javascript theme 1 TweetMeme

About Sandeep Kale

Avatar for Sandeep Kale
Sandeep Kale, Founder and chief editor of Tricks Window. He is a Software Engineer and a self developed blogger and designer behind Tricks Window. He lives in Pune, India. If you like This post, you can follow Tips And Tricks Window on Twitter OR Subscribe to Tricks Window feed via RSS OR EMAIL to receive instant updates.
Previous: Google PageRank Update * (PR Update) On 27 June 2011
Next: Google Plus ( + ) Theme Like Facebook

Leave a Reply

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