Add Share on Orkut button on WordPress blog

ADVERTISEMENTS

share-on-orkut-buttonOrkut went for extreme makeover and got little closer to Facebook. Besides user interface changes, new features were also introduced. Just like Facebook and Twitter, now you can also add ‘Share on Orkut’ button to your WordPress blog. A click on Share on Orkut button will post specific webpage link on your Orkut profile updates.

Share on Orkut WordPress plugin

1. Download Share on Orkut plugin.
2. Unzip and upload to your plugins folder of WordPress install.
3. Goto Plugin and activate Share on Orkut plugin.

After activation, Share on Orkut button will appear at the end of each post. If you want to customize button position, then use manaul method to add this button.

Manual method for share on Orkut button

1. Login into your WordPress dashboard.
2. Goto Theme Editor and open header.php file (backup theme first!).
3. Copy and paste following code in header.php file:

<script type=”text/javascript” src=”http://www.google.com/jsapi”></script>
<script type=”text/javascript”>
  google.load(‘orkut.share’, ‘1’);
  google.setOnLoadCallback(function() {
    var params = {};
    params[google.orkut.share.Field.TITLE] = ‘Interesting Page!’;
    params[google.orkut.share.Field.DESTINATION_URL] = ‘<?php the_permalink() ?>’;
    var connection = new google.orkut.share.Connection(params);
    document.getElementById(‘orkut-share’).onclick =
      function(e) { connection.send(‘orkut.com’, {}); };
  }, true);
</script>

4. Save the file and then paste following code in single.php where you want button to appear.

<span id=”orkut-share” style=”cursor:pointer;”>
<img src=”http://i47.tinypic.com/2hggvt0.gif”/>
</span>

Above [http://i47.tinypic.com/2hggvt0.gif] image is hosted on tinypic website. You can download and upload on your own server and then replace the image URL for faster loading. [via TricksDaddy]

SHARE
 

Comments

  1. i found a nice tutorial here. try it out.

    whatjainsays.blogspot.com/2010/09/how-to-add-share-on-orkut-button-to.html

  2. The plugin u have listed doesnt work any more..

    i have seen a cool plugin developed recently for orkut

    here it is

    http://wordpress.org/extend/plugins/add-to-orkut/

  3. The script works fine but I don´t what is happening, the first time i tried the share button on my site, the window pop up and then I could choose the beste image for describe the post, and now, there´s no such option anymore?! Why? Google changed something?

Add a Comment

*