Google plus button is very important for every blog as Google search is impacted by Google plus one data.You can see your +1 metrics in your webmaster tools.Adding a Google +1 button near or below the title of the post can increase the chances of the readers sharing the post via Googleplus.
We have made a tutorial on how to add google plus one button without using plugins in wordpress
Add google plus button to wordpress theme:
Follow these simple steps
1.Open your header.php file via Filezilla FTP client or through Appearance>>Editor in your WordPress dashboard.
Note:Backup your files before editing it.
2.Now find the below code in your header.php file
3.Right before/above the above code paste the below code or the js code f
po.src = ‘https://apis.google.com/js/plusone.js’;
var s = document.getElementsByTagName(‘script’); s.parentNode.insertBefore(po, s);
4.Go to Google plus one customizer to customize the button as you want it .You can choose the sizes and annotation type as you want by seeing the preview.I have posted the code below for a medium size with bubble annotation.
5.Copy the below code and paste it where you want it to appear in your theme file.
<!– Place this tag where you want the +1 button to render –>
6.Now save your theme files.You did it.
You can also add Google plus one share button easily using a WordPress plugin.Here is the link for it
Plugin central- Install multiple plugins at once
Google +1 button resources :
For webmasters and programmers : Google +1 Button API
Hope you have added Google plus button to your WordPress theme successfully.If you face any problems in the appearance or placement of the button, do contact us via comments.We will be very glad to help you out.