Jump to content

Help with Activation of Google Plus button


ilegales

Recommended Posts

Hello 

 

i have Leotheme and a while ago i asked them to remove the Google plus button

which they did..

 

Now i would like to reactivate it and i have the social.tpl file which shows the follow below

What should i write to turn on this button....

 

Thank you

 

  <!-- Google +1 Button -->

<div class="itemGooglePlusOneButton">

<g:plusone annotation="inline" width="120"></g:plusone>

<script type="text/javascript">

 (function() {

  window.___gcfg = { lang: 'en' }; // Define button default language here

   var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;

   po.src = 'https://apis.google.com/js/plusone.js';

   var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);

 })();

</script>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...