How To Add Google’s +1 Button To Your Pligg Site

Posted by | August 3, 2011 | Hacks, News

Adding the Google+ button to your Pligg Site is strain forward, follow these instructions and you will have a Google+ button in less then 5 min.

Steps to implement the Google+ button on your Pligg site

  1. Open header.tpl
  2. Just before the closing head tag add the following code <script type=”text/javascript” src=”http://apis.google.com/js/plusone.js”></script>
  3. Save
  4. Open link_summary.tpl
  5. Add the following code where you want the button to appear <g:plusone expr:href=’{$url}’ size=”medium”></g:plusone>
  6. Save
Thats all it takes to get the Google+ button on your Pligg Site.
For more buttons sizes and more options visit http://code.google.com/apis/+1button/#button-sizes

201 total views, 1 today