Tech geek. Life geek.

Tag: plusone

How to Add Google +1 Button

Google announce to release Google +1 Button to third party.
It is good tool for Blogger.
To add it on site, or blog like my MovableType blog, just two script need to be added.
1) Add following tag code to your head or just before your close body tag

<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>

2)Place this tag where you want the +1 button to render

<g:plusone></g:plusone>

I put the first script into MovableType templates, including index, entry, page.
Then put the second script into the main menu part.
It is not on the post body, but shown on navigating menu.

Continue reading

© 2020 David Yin's Blog

Theme by Anders NorenUp ↑