![[How to] Customize Retweet Feature in Multiauthor Wordpress blogs HowtoCustomizeRetweetFeatureinMultiauthorWordpressblogs11 [How to] Customize Retweet Feature in Multiauthor Wordpress blogs](http://tech18.com/wp-content/uploads/2010/04/HowtoCustomizeRetweetFeatureinMultiauthorWordpressblogs11.jpg)
Twitter is the vital source for bloggers to share and promote their content. Retweet allows visitors to share the content using their twitter account. All bloggers are using Retweet button on their blogs to get huge traffic from twitter. Today i am going to share with you a simple trick where in you can customize your Retweet feature in your Multiauthor WordPress blog.
In Multiauthor blogs , when Authors post their content , it is well displayed and shared with others through various social bookmarking sites. Twitter is one among them. We use Retweet button on each post to get more traffic. When visitors click on Retweet button , it connects their twitter account and hence tweets the post in the following format :
RT @twitter-id <———–Post-title———-> <Post url>.
[Using Tweetmeme plugin]. So in Multiauthor blogs , whoever may be the Author but by default the twitter-id is always of the Admin of that blog. So here i will be showing how to replace the default twitter-id with the Author’s twitter-id
. To do this you must use Tweetmeme plugin and follow the below steps :
Step 1: Adding a New field in Author’s bio
- In this step instead of adding a new field in Author’s bio , i would use the existing empty field in the Author’s bio as shown below
![[How to] Customize Retweet Feature in Multiauthor Wordpress blogs changelabelstep1 thumb11 [How to] Customize Retweet Feature in Multiauthor Wordpress blogs](http://tech18.com/wp-content/uploads/2010/04/changelabelstep1_thumb11.jpg)
- As shown in the above image , we would change the label “AIM” to “Twitter id” or “Twitter id without @” [without quotes]. Here is how it is :
Firstly login to your ftp and point to the root directory where you have installed wordpress.
![[How to] Customize Retweet Feature in Multiauthor Wordpress blogs 1 thumb11 [How to] Customize Retweet Feature in Multiauthor Wordpress blogs](http://tech18.com/wp-content/uploads/2010/04/1_thumb11.jpg)
Search for “AIM” in the file and change it to “Twitter-id without @”. [without quotes] as shown below:
![[How to] Customize Retweet Feature in Multiauthor Wordpress blogs changelabel thumb1 [How to] Customize Retweet Feature in Multiauthor Wordpress blogs](http://tech18.com/wp-content/uploads/2010/04/changelabel_thumb1.jpg)
![[How to] Customize Retweet Feature in Multiauthor Wordpress blogs laststep thumb1 [How to] Customize Retweet Feature in Multiauthor Wordpress blogs](http://tech18.com/wp-content/uploads/2010/04/laststep_thumb1.jpg)
Step 2 : Adding block of codes Tweetmeme plugin file
Now we will be editing the tweetmeme plugin file to achieve this Retweet feature
. Follow the steps as shown below :
![[How to] Customize Retweet Feature in Multiauthor Wordpress blogs step21 thumb11 [How to] Customize Retweet Feature in Multiauthor Wordpress blogs](http://tech18.com/wp-content/uploads/2010/04/step21_thumb11.jpg)
![[How to] Customize Retweet Feature in Multiauthor Wordpress blogs step22 thumb1 [How to] Customize Retweet Feature in Multiauthor Wordpress blogs](http://tech18.com/wp-content/uploads/2010/04/step22_thumb1.jpg)
- After opening the tweetmeme.php file , edit the following codes as shown below :
Search for “global $post;” [Without quotes] and for the first search add the below code under it
// Block of code added by sunil jain on 28 Mar 2010
$author_info = get_userdata($post->post_author);
$retweetid = $author_info->aim ? $author_info->aim: get_option('tm_source');
//End of block
Have a look at the screen shot :
![[How to] Customize Retweet Feature in Multiauthor Wordpress blogs step23 thumb11 [How to] Customize Retweet Feature in Multiauthor Wordpress blogs](http://tech18.com/wp-content/uploads/2010/04/step23_thumb11.jpg)
- Search for “ if (get_option(‘tm_source’)) {“ [without quotes] and replace it with the below code :
Have a look at the screenshot below :
![[How to] Customize Retweet Feature in Multiauthor Wordpress blogs step2411 [How to] Customize Retweet Feature in Multiauthor Wordpress blogs](http://tech18.com/wp-content/uploads/2010/04/step2411.jpg)
Note : If any author doesn’t want to use his/her twitter id then by default Admin can insert his/her Twitter id to the options of Tweetmeme Plugin Settings page via WordPress Dashboard as shown below :
==============================================================================================
Pingback: Tweets that mention [How to] Customize Retweet Feature in Multiauthor Wordpress blogs Blogging -- Topsy.com
Pingback: uberVU - social comments
Pingback: Elizabeth Alraune
Pingback: Diana Adams
Pingback: Rajeev Edmonds
Pingback: Most Tweeted Articles by Digital Photography Experts
Pingback: Sidharth
Pingback: wp-popular.com » Blog Archive » [How to] Customize Retweet Feature in Multiauthor Wordpress blogs Blogging
Pingback: Harsh Agrawal
Pingback: Misty Belardo
Pingback: AussieSire
Pingback: Rajeev Edmonds
Pingback: limeshot