WordPress - Google 'plus one' button / Add-ons
I've been looking for a good Google+ plugin the WordPress blog engine, but I couldn't find any to satisfy all my needs. For that reason I've modified one, GPL just allows me this. This plugin came originally from the site Techlunatic written by the author Rohan Pawale.
New version can be downloaded from: Google (Plus One) Button WordPRess plugin by kms.
The plugin on the official Wordpress pages: Google (Plus One) Button by kms on WordPress.org.
UPDATE: Version 1.3.2 fixes a problem with the overlayed buttons on the frontpage. With left floating selection for the frontpage there will be, as from now on, only one button with the blogs url not with any of the posts'.
UPDATE: Version 1.3.1 got a new language file for german users. Now admin pages are available in three separate languages.
UPDATE: Version 1.2.1 fixes a problem with the plugin on the frontpage. The buttons displayed on front had all the same URL for the site, not for the individual posts.
Let's see what it has inside.
Seamless integration of Google+ button into your blog.
It is a great help for those who do not want to get their hands dirty with bits, and so did not put a G+ button on the blog yet. Or those who do want to get dirty, but see the value in the settings panel and want to use it, but not give up on any part of configuration freedom. So dive into more details
After installing there will be a new menuitem from where all the options can be managed.
Display

There are four display options which affect the rendering of the button, they are as follows:
| Normal | Small | Medium | Tall |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Button's design is also influenced by the choice whether we want to display hit-counter with it, or just the plain button.

Selecting displaying pages
There are options to display the button on the homepage or on posts pages. These two are independent from each other, but the button for a specific post on the homepage and the post's page will display the same amount of clicks.
Placing the button to the post

Button can be displayed below or above post or on both places at the same time. Besides that we can specify "floating" mode, or just pin the button to a pre-defined pixel on the page. Selecting floating-mode enables a new set of inputs at the bottom of the page.
Spacing above and left of

Spacings can be given in percentage, pixel or any other, in css valid, forms.
Button position
Fixed: button is pinned to the border of the browser, it won't move an inch when scrolling through the page.
Absolut: button is pinned to the top left corner of the page, so it moves with the content even when scrolling.
A little bit of SEO
The JavaScripts, which are rendering the button, can be put into the bottom of the page. So the meaningful content is loaded faster and the readers who are surfing with a clock can be pleased.

Manual placement
At last a little fun for those, who like to tweak themes and playing with pixels to get the most perfect layout. If you like the settings page, but you don't want to give up on things for it like self-seleted placement, simply select "placed manually" and put <?php rp_gpo_share(); ?> into the theme files where you'd like to see the button.
A little extra to the previous version
If you don't seem to like the words i've used or just want to share this plugin with a friend who speaks an other language, you can find the actual translation in the folder languages in the plugin's directory with all the text elements used.
New version can be downloaded from: Google (Plus One) Button WordPRess plugin by kms.
Happy hunting!
Written on: 2011-09-12 14:08:35




I'm curious what you think about this post. Please do not use abusive language, but share your thoughts. Any feedback is much appreciated, and will appear after some censoration.
Thank you for noticing, and telling me. The problem can be solved with the patch below:
If you're not familiar with diff syntax, the line prefixed with + has to go into the mentioned context at the bottom of gpo_display.php
Shortly I'll create a new version also.
Thanks again,
kms
Thank you, have fun using it.
kms
Yes, the two buttons have many similarities, and I also agree with you, that on a big growth G+ could dominate over FBL.
My thoughts about bought statistics are not so positive: How can you know the real amount behind this tactics?
In spite of this, I truly wish you growth with your site.
kms
The Google +1 button is similar to the facebook like button. However, I think the +1 button will dominate as the Google+ network grows.
Also, I found out that you can even buy +1 now on sites like http://*.com and http://*.com
What do you think about this?