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.
Join Globinch on Social Media
Follow Globinch
Popular Posts
- Turn your Windows 7 Computer Into a Personal Wi-Fi Hotspot 20 comment(s) | 26,459 view(s)
- Search Engines for File Sharing Sites : Rapidshare Search, Megaupload and More 2 comment(s) | 18,455 view(s)
- Google Translate Now supports Bengali, Gujarati, Kannada, Tamil and Telugu 2 comment(s) | 17,344 view(s)
- Best PDF OCR Tools to Convert Scanned images to Text / Word Documents 4 comment(s) | 13,616 view(s)
- Google Top Searches Today – Hot Google Search Words today 8 comment(s) | 13,497 view(s)
- Globinch Search 0 comment(s) | 10,385 view(s)
- Access Blocked sites, Unblock Restricted Websites 16 comment(s) | 9,453 view(s)
- Password Revealer – How To Reveal- Show Password Behind Asterisks? 1 comment(s) | 8,517 view(s)
- Play Angry Birds Game Free and Offline in Chrome Browser 1 comment(s) | 8,244 view(s)
- Free Online OCR Software to Convert Images Into Searchable PDF, Doc, HTML or Text 2 comment(s) | 8,082 view(s)
Recent Articles
- How to Use Wi-Fi the Secure Way
- 5 Apps to Boost Android Performance
- Building a Smarter Site Using a WordPress Platform
- Samsung Galaxy S IV Smartphone :Summary of All the Radical Innovations
- 5 Killer Tips to Increase Traffic to Your Blog
- Domain Parking to Make Genuine Money Online
- SEO Is Not Dead, But You Need to Upgrade The Process
- A Complete SEO Guide on Using Social Media for Better SERPs
- When Should You Use Geotargeting or Setting Geographic Target in Google Webmaster Tools?
- How To Optimize Your Google+ Page And Profile For Search Engines








