• Home
  • Services
  • Facebook
  • Privacy Policy

TricksDaddy

  • Home
  • Services
  • Facebook
  • Privacy Policy

How To Add Orkut Share Button To WordPress And Blogger Blogs ?

Orkut has recently released orkut Share API for its users. Orkut users can now share and promote interesting content from the Internet with their orkut friends easily with just few clicks. The shared content will appear in their activity updates.

Facebook users already have this feature. Most of the bloggers and webmasters use Facebook share option to share and promote their content on Facebook. Its one of the best methods to promote their content. It seems Orkut is following Facebook in looks and in features too.

Add Orkut Share Button To WordPress Blogs

If you are using WordPress as your blogging platform, here is detailed tutorial to add orkut share button to your blog :

  • Go to theme editor of your wordpress blog and open header.php file.
  • Now copy and paste the 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>
  • Click on Update file button.
  • Open single.php file.
  • Now copy and paste the following code in single.php file where you want to display the button
    <span id="orkut-share" style="cursor:pointer;">
    <img src="http://i48.tinypic.com/2d98wtg.gif"/>
    </span>
  • Click on Update file button again.
  • That’s all. Navigate to your blog to see the changes.

Add Orkut Share Button To Blogger Blogs

Follow the steps given below to add orkut share button to blogger blogs:
(Note : Before following this procedure, please take a backup of your template)

  • First of all sign in to your blogger blog and go to Layout -> Edit HTML.
  • Now click on Expand Widget templates.
  • Now copy and paste the following code above </head>
    <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] = '<data:post.url/>';
        var connection = new google.orkut.share.Connection(params);
        document.getElementById('orkut-share').onclick =
          function(e) { connection.send('orkut.com', {}); };
      }, true);
    </script>
  • Now search for the following code in your template :
    <div class='post-header-line-1'>

    and paste the following code below it :

    <span id="orkut-share" style="cursor:pointer;">
    <img src="http://i48.tinypic.com/2d98wtg.gif"/>
    </span>
  • That’s all. Save your template and see the changes.

If you are facing any difficulty adding this button button to your blog, always feel free to contact me via comments or contact me page πŸ™‚

Also read : Add A Retweet Button To Your Posts On Blogger Blog With Tweetmeme

Share On
 Previous Article TricksDaddy Theme Updated
Next Article   Easily Add Orkut Share Button to WordPress Blogs With ‘Share on Orkut’ WordPress Plugin

13 Comments

  1. Pavan Somu
    November 30, 2009 at 12:52 pm

    The article was well explained Simran. Thanks for the share. Here is my tweet about the article
    .-= Pavan Somu´s last blog ..Searching For DVD Cutter, Try DVD Knife =-.

    • Simran
      November 30, 2009 at 7:53 pm

      Thanks for the retweet mate πŸ™‚

  2. Rajesh Kanuri
    November 30, 2009 at 1:27 pm

    Thanks for the share.. I add thi s to my blog

    Offtopic: to which id should i send you the wave invitation.. πŸ™‚
    .-= Rajesh Kanuri´s last blog ..How to Increase Twitter Followers =-.

    • Simran
      November 30, 2009 at 7:46 pm

      The one that I used with my comment at your blog.

  3. Dan*
    November 30, 2009 at 6:29 pm

    this is cool…… thanx
    .-= Dan*´s last blog ..Skip Captcha and Countdown while Downloading From Megaupload =-.

  4. Diana
    December 20, 2009 at 1:20 am

    Thank you, that´s very nice! I’m not into using plugins for everything.
    .-= Diana´s last blog ..Texto de Ouro =-.

  5. Robin
    December 28, 2009 at 7:45 pm

    This is very useful article written by you
    .-= Robin´s last blog ..Get 10$ For Just SignUp With Crucial Paradigm Affiliates Program =-.

  6. Rohit
    January 11, 2010 at 10:06 pm

    I am not able to add the orkut share button on my blog. I cannot find the second code on my blog.
    “:”
    .-= Rohit´s last blog ..Modified Maruti Suzuki Cars | Modified Wagon R =-.

  7. FOR THE HORDE
    October 20, 2010 at 4:00 am

    DUDE AWSOME tutorial

    CONGRATS

  8. Zohan @ ScreamingTips
    June 16, 2011 at 12:03 pm

    Awesome tutorial buddy πŸ™‚ Loved it Thank you for the share

  9. Pingback: Easily Add Orkut Share Button to Wordpress Blogs With ‘Share on Orkut’ Wordpress Plugin
  10. Pingback: How To Add Facebook Like Button To Wordpress Blog
  11. Pingback: How To Add Floating Facebook Digg Twitter StumbleUpon Buttons To Wordpress Blog Without Any Plugin
Β© Copyright. Theme by BloomPixel.