Google opened their +1 button to all sites today. I was thinking about adding it to my site, but if there are plans to add it to ShareDaddy I'd just as soon hold off and do it the easy way.
Google opened their +1 button to all sites today. I was thinking about adding it to my site, but if there are plans to add it to ShareDaddy I'd just as soon hold off and do it the easy way.
I'd like to +1 this suggestion!
Agreed, this would be a nice option for ShareDaddy.
At the moment, I suppose it might be possible to add Google +1 to ShareDaddy as a custom link (ie, Add a New Service) but I'm not sure.
+1 for this. looked into adding it as a custom service, but doesn't seem to follow the same "sharing url" format as most I've seen... just a piece of js.
We've just released a Google +1 plugin that could take care of it in the interim
I checked out the Google +1 Plugin - one major issue, it inserts the button inside the last paragraph of the post instead of after it. So it ends up with a lot of whitespace after the button.
It looks like a simple change:
//add_filter ('the_content', 'google1button', 1);
add_filter ('the_content', 'google1button');
It would still be nice to have this built into ShareDaddy so everything would be in one group, on one line - it uses less space and looks better. But this is a nice interim solution.
+1 would also like the new twitter one.
Alex, what is the new twitter one? One of these? https://twitter.com/about/resources/tweetbutton
No, the Follow button.
Ah - I did that by using a text widget and copying the button code from Twitter.
currently using it.
Yes, please add Google Plus One button.
I did some modifications to the Jetpack ShareDaddy plugin to put in Google +1 support. It's always on, but until ShareDaddy is updated, I guess it will do. Details in my blog post:
http://www.shazron.com/2011/06/04/google-1-with-wordpress-and-jetpack-sharedaddy/
If you like it, maybe you can +1 it? ;)
FWIW, the Google +1 plugin mentioned above by Farms - WPMU DEV above has some problems. When activated, the content display of some (seemingly random) posts and pages is completely disabled.
Unfortunately, it appears to work at first, so I had it enabled for a couple of days before I realized that some of my content was missing... which makes it more dangerous than a plugin that doesn't work at all, as far as I'm concerned.
Hopefully they'll fix it... they seem to have their sht together otherwise.
Thanks, shazron. I've got it working on my site with your code (I used the second plug-in, since JMathewGore said the other had problems).
Hmm, popular mobile browsers cannot see the +1 button. I tried on an iPhone 4 and iPad with latest firmware. Same with an Android Nexus One with 2.3.4 (using the built in browser).
It DOES however work with Android with the mobile Firefox 4 and 5 beta browsers, and Palm Pre 2 WebOS (latest firmware). With the Pre 2, I had a lot of dialogs pop up to ask me to trust Google's certificates, however.
In their FAQ Google says it "may" be supported:
http://www.google.com/support/webmasters/bin/answer.py?answer=1140194
Q. Will users on mobile browsers see the +1 button?
A. We are not including the +1 button on mobile search results at this time. However, users may be able to see any +1 buttons you have added to your web pages.
My guess is, there is an untrusted cert issue through one of the Google API calls, which just fails silently (which WebOS handles and Firefox doesn't care about).
Thanks Shazron!
Very simple instructions! Worked perfectly!
I have implemented Google +1 into Sharedaddy as an Sharedaddy Service, you can configure the size, language and if you would like to show count under the Sharedaddy admin panel:
http://p0l0.binware.org/index.php/2011/06/03/google-1-for-sharedaddy/
P0l0 - Thanks for this. But you had some errors in the main code, maybe introduced by the editor, that I cleaned up. Here's the diff:
1c1
< < ?php
---
> <?php
149c149
< < ?php
---
> <?php
158c158
< < ?php
---
> <?php
195c195
< return '<g:plusone size="' . $this->_size . '" count="' . $this->_count . '"></g:plusone>';
---
> return '<g:plusone size="' . $this->_size . '" count="' . $this->_count . '" href="' . get_permalink() . '"></g:plusone>';
209,211c209,211
< < ?php foreach ($this->_optionsSize as $value=>$name): ?>
< <option value="<?php echo $value; ?>" <="" ?php="" if="" ($this-="">_size == $value): ?> selected="selected"< ?php endif; ?>>< ?php _e($name, 'sharedaddy'); ?>
< < ?php endforeach; ?>
---
> <?php foreach ($this->_optionsSize as $value=>$name): ?>
> <option value="<?php echo $value; ?>" <?php if($this->_size == $value): ?> selected="selected"<?php endif; ?>><?php _e($name, 'sharedaddy'); ?>
> <?php endforeach; ?>
218,220c218,220
< < ?php foreach ($this->_optionsLanguage as $value=>$name): ?>
< <option value="<?php echo $value; ?>" <="" ?php="" if="" ($this-="">_language == $value): ?> selected="selected"< ?php endif; ?>>< ?php _e($name, 'sharedaddy'); ?>
< < ?php endforeach; ?>
---
> <?php foreach ($this->_optionsLanguage as $value=>$name): ?>
> <option value="<?php echo $value; ?>" <?php if($this->_language == $value): ?> selected="selected"<?php endif; ?>><?php _e($name, 'sharedaddy'); ?>
> <?php endforeach; ?>
226c226
< <input type="checkbox" <?php="" if="" ($this-="">_count == 'true') { echo ' checked="checked"'; } ?> name="count" /> Show Count
---
> <input type="checkbox" <?php if($this->_count == 'true') { echo ' checked="checked"'; } ?> name="count" /> Show Count
230c230
< < ?php
---
> <?php
269d268
< </webcoder_at_binware_dot_org>
You'll notice I also made one change to insert the permalink so the +1 button works on index pages, etc. Otherwise every link on the page links to the page's URL, which is the default.
I recommend using the 'Medium' size button and adding this to sharing.css:
.sharing li.share-googleplusone div { padding: 2px 0 0 0; }
It helps align the +1 button with the rest of the row. Otherwise it is higher than the others and looks a little weird.
Thanks again for doing the hard work of bringing this into ShareDaddy!
Thanks megazone, it was a combination from WordPress XHTML filter + Google Syntax Highlighter. Now the code should be displayed correctly.
I also added the href attribute to the code.
Thanks p0l0, i got it working on my blog.
Just in case if anyone doesn't know how to apply the patch,
i upload the Sharedaddy plugins + your patch on my blog:
http://www.ivankristianto.com/downloads/sharedaddy-patched.zip
It is based on Sharedaddy 0.2.12
Thanks
Just so you all know, I mentioned above the the Google +1 Plugin wasn't working properly....
An update was released today, and it does appear to be working correctly now, without hiding any of my content. So, there's another option.
- Matthew
Also really wanting this to work with sharedaddy for nice clean formatting purposes. do we have an ETA for this addition?
Karen - If you use P0l0's patch it works, I'm using it on my site (GizmoLovers.com). (Which is in the middle of an overhaul pending a relaunch, so forgive the overall look, I'm not done. ;-) )
Maybe I'm missing something here, but ShareDaddy seems very primitive compared to other services. It's the one part of Jetpack I deactivate.
AddToAny not only has +1 (and lots of other services) but also allows you to choose whether to include the buttons on pages vs posts. ShareThis is good too but doesn't yet have +1.
Huyz - I don't know that you're missing anything, but not everyone has the same needs. Personally I think AddToAny is just too much for my needs, it has a lot of bells & whistles that I have no interest in. ShareDaddy is 'primitive' compared to some other options, but that's not a bad thing. I used to use Sociable, but I ended up deciding even that was more than I needed. I ended up deciding simpler was better, and the services included in ShareDaddy were all I really wanted/needed. I used to allow a lot more through Sociable - but they never got used, people only used the 'big' services to share - Facebook, Twitter, and Digg mainly. So why clutter things up with all of the other links?
That's one of the great things about WordPress and the plugins - you can customize it to your own needs and wants. What works for one site may not work for another. Different sites, different audiences, and different intentions. AddToAny is a great plugin, but not everyone is going to want or need the extra features.
@megazone Got it, thanks for the explanation.
Ultimately, I'm with you. I'd prefer having just a few links. So that's why I just installed this one: http://wordpress.org/extend/plugins/only-tweet-like-share-and-google-1/
It has all 4 major services, and that's all: twitter, FB share, FB like, +1
and it allows you to disable on pages.
Automatic added +1 to Sharedaddy on wordpress.com, so i guess that they will do it to Sharedaddy to self hosted blogs...
You know what, Sharedaddy seems to work better than all the other sharing plugins I've looked at, so I'm switching to it.
But Marco's extension for Google +1 doesn't work quite right for me.
So I revised his plugin: http://huyz.us/2011/google-1-for-sharedaddy-revised/
Until Sharedaddy gets update to include +1... I switched to the one huyz mentioned above. Thanks for the tip.
You must log in to post.