Skip to content

How to add the Google +1 button to WordPress

by Max Wenzin on August 31st, 2011
Wordpress +1

To add the Google +1 button to your WordPress site in less than 5 minutes:



Go to http://www.google.com/webmasters/+1/button/

It will tell you what code snipplets you need to put on your site. The problem is that you cannot put stuff in the header section of WordPress without a plugin. (Well, you CAN hack the WordPress source, but that’s not recommended since your hacks will disappear when you upgrade the next time.) So, install and activate the Header-Footer WordPress plugin.

Now, in WordPress Admin, go to Settings / Header and Footer and enter the code snipplets provided from the Google Webmasters +1 button page. The js link snipplet goes into the “HTML code to be inserted in the head section of each page” section and the +1 button snipplet goes into both “Code to be inserted after each post” and “Code to be inserted after each post” sections. This can ofcourse be altered to suit your preference.

Done! Enjoy! Profit! Socialize! Like! +1!

From → WordPress

Comments are closed.