Enter your Email Address:

Orkut Share API allows website owners to enable their visitors to share the content on their website, with visitors’ friends on orkut.

Implimenting this share button in orkut is very easy all you need is to follow some few easy simple steps as mention in below steps.

Adding Orkut Share button in WordPress Themes

Open header.php file of your theme file and enter below 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] = '<?php the_title() ?>';
        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>

Update the page and Move to Single.php or any place where you put this Orkut Share buttonand place below Code.

<span id="orkut-share" style="cursor:pointer; border:0px solid black">
     <img src="http://3.bp.blogspot.com/_eEuHGVw5WLg/SwpFfy4rMqI/AAAAAAAAAAk/jdm-zBiDdv8/s320/share.gif" alt="Share Orkut" />
    </span>

Save the Changes and you are Done.




 

Enter your Email Address:

Scrapur.com