How to Add Google +1 Button To Website or Blog With No Plugins?
We already discussed about Google +1 Button Plugins For WordPress Blog. Google +1 Button helps people discover relevant content and if you add the +1 Button to your website or blog page lets users recommend your content. The recommended page will be visible to their friends and contacts. This may increase your site’s visibility.
Everybody can see aggregate annotations and Google signed-in users will see personalized annotations from their friends and contacts. When you compare Google Buzz button and Google +1 button, the Google +1 button recommend web content to people in the context of search results and buzz is used for sharing and starting conversations about interesting web content among your network.
How to Add Google +1 Button To Website or Blog Without Using Plugins?
Google provides code snippet that can be directly added to your website content or your page template. The Google +1 button is available in 40 languages and you can place multiple buttons in the same page.
Google +1 buttons are available in four different formats. Small (15px), medium (20px), standard (24px), and tall (60px).
The +1 button code is given below.
1 2 3 4 5 | <!-- Place this tag in your head or just before your close body tag --> <script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script> <!-- Place this tag where you want the +1 button to render --> <g:plusone></g:plusone> |
As mentioned above the first piece of code should be placed in <HEAD> section or before </BODY> tag. The second section of the code can be placed wherever you want the Google +1 button to appear. The above code is for normal button. If you want to add a different type of button, then you need to add a parameter in the code as shown below
1 2 | <!-- Place this tag where you want the +1 button to render --> <g:plusone size="small"></g:plusone> |
Similarly if you want to add a medium size(20px) button then add size=”medium” and for tall(60px) the parameter value will be size=”tall”.
Additionally you can add advanced options to the +1 button. In small, medium and standard buttons you can avoid the button count by adding the “count=”false” parameter.
1 2 | <!-- Place this tag where you want the +1 button to render --> <g:plusone size="small" count="false"></g:plusone> |
Also if you wat to add a URL to +1, you can add the href=”your_url_to_pls_one” parameter as given below.
1 2 | <!-- Place this tag where you want the +1 button to render --> <g:plusone size="small" count="false" href="your_url_to_plus_one"></g:plusone> |
Also if you are good at JavaScript you can add a callback function as below
1 2 | <!-- Place this tag where you want the +1 button to render --> <g:plusone size="small" count="false" callback="function()" href="your_url_to_plus_one"></g:plusone> |
Read the complete documentation on Adding the Google +1 button to your site.
Sign up or join Globinch on Social Media
Stay Connected
Follow globinch
Popular Posts
- Search Engines for File Sharing Sites : Rapidshare Search, Megaupload and More 6 comment(s) | 16258 view(s)
- Turn your Windows 7 Computer Into a Personal Wi-Fi Hotspot 15 comment(s) | 16117 view(s)
- Google Translate Now supports Bengali, Gujarati, Kannada, Tamil and Telugu 2 comment(s) | 15714 view(s)
- Google Top Searches Today – Hot Google Search Words today 12 comment(s) | 11559 view(s)
- Best PDF OCR Tools to Convert Scanned images to Text / Word Documents 20 comment(s) | 10154 view(s)
- Globinch Search 0 comment(s) | 8402 view(s)
- Access Blocked sites, Unblock Restricted Websites 15 comment(s) | 7313 view(s)
- Free Online OCR Software to Convert Images Into Searchable PDF, Doc, HTML or Text 3 comment(s) | 7238 view(s)
- Password Revealer – How To Reveal- Show Password Behind Asterisks? 7 comment(s) | 7180 view(s)
- Play Angry Birds Game Free and Offline in Chrome Browser 1 comment(s) | 7049 view(s)
Recent Articles
- Best Free Tools to Enlarge Images without Losing Quality
- How to Track Your Gmail Email and Schedule Gmail Mail Free?
- Google Webmaster Unnatural Links Detected Warning & Penalty
- How to Use Trial Software Version Forever Without Expire
- How to Use Folder as Drive or Convert Folder to Drive?
- Add Buttons, Message Boxes and Text Highlights in WordPress Post
- Top 20 Free WordPress Social Share Plugins
- rel=”shortlink” Short URL Indicator and Its WordPress Support
- Pagination SEO Using rel=”next” and rel=”prev” Link Attributes
- Watch Live IPL 2012 Season 5 Online on Your Computer or Mobile










Pingback: 60+ Most Useful WordPress Tips, Tricks, Tutorial and Hacks | Globinch