Google +1 WordPress Plugin

If you like this plugin, I would really appreciate it if you would rate this plugin on WordPress.org… thanks!

Update 2: We’re on WordPress.org now – get it at http://wordpress.org/extend/plugins/wp-plus-one/

Update: Version 1.1 uploaded – adds the ability to enable/disable +1 buttons for pages and/or posts and adds the ability to disable +1 buttons on specific pages or posts (a la ShareDaddy).

Adds the Google +1 button to your website’s posts. Has a variety of options for button style and position, and exposes a wp_plus_one_button action for custom integration with the theme or other plugin.

Download WP Google +1 Plugin Now (from WordPress.org)

From Google:

The +1 button is shorthand for “this is pretty cool” or “you should check this out.”

Click +1 to publicly give something your stamp of approval. Your +1′s can help friends, contacts, and others on the web find the best stuff when they search.

+1′s are expected to influence a website’s search performance, so be sure you are integrated now.

Find out more about the +1 button

As easy as enabling a plugin!

Feel free to donate if you like it!

Download WP Google +1 Plugin Now (from WordPress.org)

Admin Panel Screenshot

288 thoughts on “Google +1 WordPress Plugin

    • This is a great plugin, but I have one small problem. I uncheck ” Show the +1 count with the button” and save it, but the count still shows on the page. When I go back to the settings, the box is checked again. I’ve tried different sizes but the same issue occurs. Any suggestions? See website above for example.

        • I hav eth esame problem. I remove the checkmark for the “Show the +1 count with the button” check box and save the settings. The checkmark comes right back on it’s own and the number box is still there. Suggestions? Otherwise I really like the plug-in.

          Thanks.

            • I’m working on an updated version that should fix this issue and be a lot easier to use with drag-and-drop placement of share buttons and support for Facebook, Twitter, and whatever else makes sense in a single plugin.

              • I am having same issue with unchecking the count option and it not saving. Will you email us when you have addressed this?

                In the meantime, I guess I’ll keep trying… and hope it finally saves.

                Thanks!
                Christine

                • It’s some kind of browser cache issue – it may be a little while before the update is out (it does things totally differently than before, so it’s not a simple fix), but some people have reported the box saving if you retry saving repeatedly – you might also try a different browser – it’s working for me on Google Chrome Beta channel.

  1. Pingback: How to add the Google Plus One (+1) Button to WordPress – Making Money With Android

  2. Thanks Jacob! You’ve done a great job with this plugin, I’m looking at setting it up on my own site now. I’ll let you know if I have any suggestions then. Keep up the good work!
    Cheers,
    David

  3. Pingback: Lappari | The Wiseman Project » Google +1 button

  4. Know why this may have added about an inch of footer to the right hand side of my website?
    Seems to have disturbed the layout.

  5. Pingback: 3 Ways To Add The +1 Button To Your WordPress Blog

  6. I don’t understand, the plugin don’t work on my site (I tried the two way in the admin of the plugin) but my template was made with artisteer … is it a problem?

  7. Yeah, this one.
    There’s about an inch of what appears to be footer to the right hand side of the page.
    It most definitely appeared only after I installed the plugin.
    I’d love it if you know why this may of happened, I’m otherwise very happy with the plugin. Go get it ppl.
    http://www.nogomagazine.com/

  8. Pingback: Google Plus One for Wordpress | Windows - Linux - Mac OSX Guides

  9. I just tried installing it, but it’s not showing up on my site no matter what settings I try. I am using the latest version of WordPress and the Graphene theme. Any suggestions as to why it’s not showing up?

      • Thanks again for all your help, Jacob – great support for this plugin! By the way, I posted a link to you on Facebook & LinkedIn and at least one person has already downloaded it. Now I’ve downloaded the update and turned Google AdSense back on in the theme settings – and your button isn’t showing again in Safari. Not even the indent this time. It does show up in Chrome & Firefox, after about a 5 second delay after the rest of the page loads. Thoughts?

        • Still related to that iframe security hack that AdSense is doing – it is causing Safari to stop executing JS from Google… if turning the “output in header” option on doesn’t fix it, then there’s not much you can do on the +1 front – perhaps you could see if anyone has a fix for the AdSense code in Safari.

          Thanks for sharing!

          • Slightly good news – it may have just been a lag after I updated the plugin, because now it is showing up on most pages, but not the home page for some reason. I do get the indent though. I think I’d rather give your button a chance to shine instead of AdSense for a while. Thanks again!

          • It seems to be working. My computer’s been functioning in a bit wierd way. It stayed there although I’d cleared the cache several times.
            Then I checked my site on another PC and everything was fine.

      • I installed it and tried to modify its appearance. It stayed in the top left corner no matter what I set. Finally I disabled and uninstalled. To my astonishment it was still there. Like a ghost, haunting my site till the end of digital times.
        What can I do? The plugin is uninstalled but the icons are there and functioning.

  10. It doesnt work for me. I installed the plugin on my wp but It doesnt appear yet (www.dzyara.com) . Does It Take Time to appear? What can I do to fix this ?

  11. Oh ya it was when I tried the widget. But now as I’m removing the widget it doesn’t appear anymore even if the plugin is still activated ! Whats the deal ?

  12. Hey Jacob
    I have put it on a new site im soon to launch (in french – see the link)
    it all works like a joy – many thanks for this
    however, it is very very slow in appearing on the page : you only see it after about 7 or 8 seconds, which almost renders it pointless
    This I presume is to do with my location in Paris, France?
    But can you think of a way to speed it up?

    • No way that I know of… the buttons are loading slowly as you described on my website as well and were not that way earlier today – I would guess that it’s an issue on Google’s side of things. This plugin simply writes a JS include tag from Google on the page, so it’s up to Google to be fast here. :)

  13. Thanks Jacob
    I have started a quick email to Larry and Sergey…
    For me its too slow
    But maybe it hasnt been cached at all Google datacenters yet…
    Lets see in a couple of days
    Once again, great plugin – many thanks ;)
    Paul

  14. Thanks for your feedback, Jacob, looks like it is working trough IE9 as you can see it in my blog but 3 of my friends couldn’t. I’ll take a look at this again, and if there is still this problem I’ll let you know. ;)

  15. Hi Jacob ,
    Very thank for you plugin that come so fast.

    However after I’ve updated to version 1.3.2 I’ve found some error about style of button when I’ve changed it from ‘standard’ to other type.

    And I think it might be come from code between line 175 and 183 which can make dupplicate ‘><g:plusone' tag.

    Hope it helps. :)

      • Sorry I don’t have it now.

        I choose medium size of +1 button and set position to bottom left. Then the button appear with standard size not medium size.

        I’ve found that it go thought wp_plus_one_button function with $css value. After that it will set value of $tag at line 194 (of version 1.3.3) but at line 201 $tag will be appended with plusone tag again.

  16. I’m loving the plugin, but I can’t figure out how to use CSS to align it properly. Basically, if I float it to the left it wraps images around it – which I don’t want since all my posts have an image at the top. And if I don’t float it to the left the other social buttons get out of alignment resulting in a crappy look.
    Can you help me with that?

    • Sort of “fixed” it myself by adding a FB Button plugin after it – that somehow makes content start on a new line. Only problem now is that the new FB button is also on a new line (different from the +1 button), and if I float it in line with the other buttons the content wraps again.

  17. Moin,
    I installed the plugin and activated it, but nothing is showing up ?!?
    Wordpress 3.1.3 …….. what I have to do?

    BR
    Marco.

  18. Jacob Hi,

    Thanks for creating this plug in.

    I have two issues:

    - I don’t see the button on FireFox 4 on Mac.
    - I was trying to use the manual insertion () and got the following error:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 69582 bytes) in /home/content/…/wp-plus-one/wp-plus-one.php on line 204.

    Please advise.

    Thanks,
    Shay

    • The memory error is probably related to the number of plugins you have installed and not necessarily the +1 plugin in particular – try disabling all plugins except for the +1 plugin and let me know if the error still occurs.

      I’ll look into it anyway to make sure it’s not my plugin.

  19. Nice plugin – but i got some trouble with it…it works fine on my blog, but when someone hits the buttons, it just counts for him. If I take a look at my google profile i see voting history and everything seems fine. But when i logout or youse another browser and go to my site, the counter says 0 at erverypost…i have no idea what the problem is. Just installed your plugin, no modifications or anything else – maybe someone knows what is wrong, thank you!

    • Not sure why that would be, but I don’t think it’s related to my plugin, but is rather something on Google’s side of things. My plugin simply inserts the code that Google provides into your site, so it shouldn’t affect the count.

  20. Awesome plugin! I choose yours after looking at a small handful of others on WP. After implementing the plugin I noticed that the Google Plus 1 button was not visible in the blog section unless you actual clicked on the individual blog posts. Is there a way to have it show up in the “long count” blog or could this be a possible update to a future version? If it helps the blog is here http://boxjumping.com/blog .

    Thanks for your work in creating a good plugin!

    • I just updated to plugin to display on excerpts with the ability to hide from excerpts if desired – it will be version 1.4.1 and should show up in the plugin repo shortly.

      Thanks!
      Jacob

  21. “Not sure why that would be, but I don’t think it’s related to my plugin, but is rather something on Google’s side of things. My plugin simply inserts the code that Google provides into your site, so it shouldn’t affect the count.”
    Yeah I think there it’s a google related problem. I just tested out the other plugins, but with the same result, but i’ll take yours, cause it is just the best ;-) :-) ! Thanks for your reply and your nice plugin!

  22. hi awesome plugin…just not sure how to add in my template file …u have mentioned this but can u give any example for a standard

    thanks
    ameet

    • The documentation is on the bottom of the settings page – you would have a tag like <?php do_action( 'wp_plus_one_button', $url, $style, $css); ?> – if it were in a display loop, it would be something like <?php do_action( 'wp_plus_one_button', the_permalink(), 'tall'); ?>

  23. Hi nice looking plugin and works off the bad on single posts. But if I try and add it to my categories page, whether in the loop of out (to test) I get:

    Fatal error: Maximum function nesting level of ’100′ reached, aborting!

    With something like:

    On the debug output I have infinite calls like this:

    10 0.2012 24181168 call_user_func_array ( ) ..\plugin.php:395
    11 0.2012 24181200 wp_plus_one_button_echo( ) ..\plugin.php:0
    12 0.2014 24181680 apply_filters( ) ..\wp-plus-one.php:223
    13 0.2014 24182864 call_user_func_array ( ) ..\plugin.php:166
    14 0.2014 24182896 wp_plus_one_button_echo( ) ..\plugin.php:0
    15 0.2014 24183448 apply_filters( ) ..\wp-plus-one.php:223
    16 0.2014 24184632 call_user_func_array ( ) ..\plugin.php:166
    17 0.2014 24184664 wp_plus_one_button_echo( ) ..\plugin.php:0
    18 0.2014 24185280 apply_filters( ) ..\wp-plus-one.php:223

  24. Ok fixed, this function:

    function wp_plus_one_button_echo( $url='', $size='', $css='', $count=true ) {
    //echo apply_filters( 'wp_plus_one_button', wp_plus_one_button( $url, $size, $css, $count ) );
    echo wp_plus_one_button( $url, $size, $css, $count );
    }

    and do_action( 'wp_plus_one_button', the_permalink(), 'tall');

    should be do_action( 'wp_plus_one_button', get_permalink(), 'tall');

  25. I think your plug-in is the best of its kind. Thanks for making it. On my site, though, I can’t seem to change the checkbox for showing/hiding the count. Is there something I’m doing wrong? Thanks again,

    Dave

  26. Hi!

    Maybe I’m doing something wrong, but after uploading and activating this plugin, I don’t see settings window, at least not in the way shown on screenshot (the one which was in the folder with ‘wp-plus-one.php’).
    I can edit code manually, but I can’t get much out of it. In fact, I’m stuck and can’t get it stop showing the +1 button on excerpts, can’t change its position etc.
    +1 button works just fine, but I need to move it and get it off excerpts. Can I (and how) do it manually?

    Thank you!

  27. Hey Man,

    Great job on this. One thing, trying to use manual insert in my loop. However, the args don’t seem to be working.

    I’ve tried it like this:

    and like this:

    None of them seem to take effect.

    Any ideas?

  28. Hi, great plugin, but i have a problem… The plugin is installed and activated. However i only have a blank space. I´ve cleaned the cache and it’s the same in every browser.

  29. Appreciate the plug-in and your patience with all the requests.

    Works fine for me except that it doesn’t respect toggling off the +1 Button Count option. I deselect (no checkmark in the box), Save Settings, but then the checkmark is back and the count is still showing up in the posts.

    Curious why that is or am I not understand the point of that option.

    Thanks.

  30. Hi love your idea but its not working on my site
    the button appears but you get the dreaded exclamation mark appear after a sec of displaying the like
    whats going on here?
    have tried firefox and ie and form two different accounts
    really would like to know why its not working

    • Yeah, that’s something on Google’s end. Google is not letting your site be +1′d for some reason. I don’t know if it is something about the domain name, or if Google has flagged your site for some reason, but as far as my plugin goes, it is generating the correct markup.

  31. Nice plugin but the actual text that appears on Google+ is just the first few lines of the page (e.g. menu items in my case). Shouldn’t it show the excerpt of the post that you +1?

    • Yeah, it should, though at the moment, Google is not giving control to the website as to what text it chooses for the excerpt (you might try setting the description metatag and seeing if that changes anything).

  32. Really LOVE this plugin. It is definitly the best WordPress Google +1 Plugin available.

    There is something I do not understand.

    1. My friend rated a +1 for a article. When he looks at his computer the counter says “1″.
    2. When I look at my computer at the same counter on the same page the total counts says “0″.

    Am I doing something wrong here or does google have zome kind of major leg?

    Hope you can help me.

    Thank you!!!

    Kind regards,

    Jarno

    • Glad you are finding the plugin useful!

      You should be doing everything correctly on your part – the actual button is an iframe loaded to a page on Google’s site, so if there is any kind of delay or lag, it would be on Google’s side of things.

  33. Hey Jacob,

    Thank you!

    Can you have a look at [redacted]

    Because I think everything is doing OK?

    Again: Thanks you!!!

  34. Dear Jacob,

    No problem you removed the links.

    Thank you for watching. Now the votes seems to be visable… So I guess there is just a leg in the Google voting system.

    Thank you again for watching and this great plugin.

    Kind regards,

    Jarno

  35. Hi Jacob,

    I’m having real problems with this and every other +1 method I’ve tried to get the button on the site. I’ve tried your plugin, other plugins, and even adding it all manually myself to the template. Every time I just get a gap where it should be.

    http://www.cornwalltangsoodo.co.uk

    It’s putting a small spacer in front of the text where the button should be, but it’s almost like it just won’t pull the script from Google. Any ideas would be gratefully received, I’m trying to stick to your plugin as you seem to be one of the more helpful authors out here :)

    Cheers,

    Adam

  36. How odd. I’m using Firefox Portable and IE 7 (don’t ask…) and I’ve tried it on my android phone with the inbuilt browser and Firefox for android.

    I guess I’ll try from home later if I can and see if it’s just a very unlucky combination of phone browser limitations and a very over-zealous proxy server at work.

    Thanks :)

  37. Man – I just went through and installed the combo pack of the twitter, Facebook and Google+1 to give people an option… anyway to incorporate the other 2 into this?
    Super job guy…

  38. Hi Jacob – great plugin. I have installed it on all of my sites but unfortunately it doesn’t work on 3 of them. http://wobbleboardinfo.com/ http://my2persontent.com/ http://getridofahangoverfast.com/
    Do you think this is an issue with the themes as I use a different theme for each website? It has been suggested that I should uninstall and then re-install but there doesn’t seem to be an uninstall option. In wp-admin your plugin doesn’t show up under installed plugins – only under “Settings”. Any thoughts on a plan of action?

  39. Hi Jacob – just fixed the problem by checking the
    Output the +1 JavaScript in the header (in the footer by default)
    Why do you think this was necessary?
    cheers
    Allan

  40. Your +1 wordpress plugin does not work on iOS devices. I did some searching , you might want to read this http://carloscar.se/tag/ipad might explain why and how to fix it. Would be great if you could as I think yours is otherwise the best plugin so far for this!

  41. Jacob,
    I have installed your plugin on one of my websites and it works great. I look forward to any updates you make.

    I have one suggestion, would it be possible to include a position choice like Top and Bottom (with all the options like float, etc.) in one of your updates? The reason I’m asking is with long pages and posts it would be nice to have the button on top and bottom so readers can just click on the button when they get to the end of what they have just read.

    Of course that’s if they like what they read. :-)

    Thanks,
    Ernie Hodge

  42. Hey Jacob

    Great plugin…. but there is one thing that is not working for me, its the new feature redirect…. it does not redirect after clicking on in

    I have put the redirect URL in the field but nothing happens after clicking on the +1 button

    The redirect feature is what I was looking for…. could you please help me out make it to work?

  43. Hi Jacob, I wonder if you know that someone else is selling the same type of a WordPress plugin for $37 ?. That makes yours extremely valuable. Thank you for a great job! It works perfect! I was just wondering how to add an in-line text next to the plugin offering free report after clicking. Thanks. Donation on its way.
    Darek

  44. You are welcome Jacob,
    I’m not expecting anything to happen, I’d like to encourage visitors to click if they like the post and let them know that if they click they can download my free report. I can’t position that text (or rather I don’t know how :-) ) because the +1 image doesn’t appear directly below the post, there’s another plugin output area in between them. I could probably use php code and hooks but I’m not sure how to add my text to it… In-line with the +1 image would look better but below or above is fine too. You can open any post on my blog – http://www.checkthishouse.com and scroll to the bottom of the post. Thanks again.

  45. Checked in the box “Output the +1 JavaScript in the header (in the footer by default)” but that didn’t help…

    This function was exactly what I was looking for, too bad it’s not working… hope that you can fix it pretty soon :)

  46. Just a suggestion..

    The actual repository name for your plugin is wp-plus-one

    The Title on the plugin page is WordPress Google +1 Button – Advanced Plugin

    Searching for WordPress Google +1 Button – Advanced Plugin returns way too many results. Searching for wp-plus-one returns your plugin #1.

    Here’s my point. When using add a new plugin within WordPress I use the search function. Having the exact repository name really helps with the search. Maybe you could put in somewhere on the plugin page so people will know what to search for within WordPress.

    Thanks
    Bruce

  47. Hi Jacob,

    Thanks for creating this easy to use plugin. Works great. However, I do have a few pages where I don’t want this button to show. Is there any way to specify with a shortcode or some command to disable this +1 button? Thanks for your help.

  48. Jacob,

    I’m using version 1.6.0 and when I disable the count and update the settings, the checkbox reappears checked. The count will not go away no matter what I try. Any ideas?

    Richard

  49. Hi Jacob,

    thank you for this great plugin. I could place the +1 button on every post, but on my homepage it doesn’t show on the posts, although I did not mark the option “don’t show on the homepage”. I can’t figure out where the problem is. It did show on the previews.

    How can I fix this problem?

    Thank you very much in advance for any assistance!
    Bernadette

    • This probably has something to do with your theme as it is probably outputting the homepage articles in a non-standard way (as the plugin is working on the previews which are probably using WordPress’s excerpt functions). Try enabling the hide on homepage and see if all the +1 buttons disappear as that would indicate that the plugin is working, but your theme is doing something special.

  50. Hi, first of thanks for a great plugin. everything works fine and looks great.

    I have one request, how about an option to place the button in multiple positions. For example at the bottom AND top of posts/pages???

  51. Hey Jacob,

    Really cool plugin however I’m having issues with it. It displays all fine but when I hit the +1 it opens up a dialogue box called “+1 button errors” no idea why (my google account hasn’t be blocked/banned or anything like that either).

    Cheers,
    Alex

    • The +1 button tag is <g:plusone href="http://www.mind-body-project.com/http:/www.mind-body-project.com/psychology"></g:plusone> which obviously is an invalid URL… Let me look into why that URL is being used there and get back with you.

  52. hi.. i use this plugin too.. but i have a little problem.. the plugin doesn’t work with easy wp seo and wp seo from yoast.. :( if i active this plugin, that two plugins doesn’t works well..

  53. Hi Jacob
    There seems to be some sort of incompatibility between your great plugin (which we use in other sites) and our theme at http://www.antiaginggroupbarcelona.com

    For any reason whatsoever it has crashed backend and now wp-admin is blank (actually white) and nothing else. We don’t know how to fix it, myabe mysql? and how? (site is running on wp 2.8 bcs designers were brilliant and modified code so we can’t upgrade. Yeah, brilliant.)

    http://pastie.org/2303297

    I’d really appreciate any help on this,

    Cheers from Spain,

    Elena

    • Looks like you’ve fixed this (if not, delete my plugin folder from wp-content/plugins).

      I will fix this issue in a future release (basically disable custom post type support if it is not available).

      You really need to update from 2.8, though, as there will be unpatched security holes in 2.8 that are problems (hacking) waiting to happen.

  54. Fellow Texan here, transplanted to San Francisco. Love your plugin, thanks for making one with easy options and the key features.

    I messaged you on Twitter a couple of weeks ago about an issue I am having with it not showing up on my main page. I’m running WordPress 3.2.1 with WordPress theme Twenty Eleven 1.2.

    I have the plugin working great on all of my pages/posts but it does not show up in the sidebar using the widget. I believe all my settings are correct, is there something I’m missing?

    Here are settings screenshots:
    http://flic.kr/p/ab8HvZ
    http://flic.kr/p/ab8HHP

    Thanks so much for the help and the otherwise great plugin.

    -justin

  55. Hi Jacob,
    I have been using your plugin since the beginning, but today’s update messed up my site and i had to deactivate ur plugin and now everything is ok. I dont know why or what did the problems.

    thx for the great plugin

    Darko

    • I’ve got no idea… maybe it’s something on Google’s side of things (the plugin and tag are functioning correctly after all). You’ve probably already tried, but you could try clearing your browser cache and/or logging out and into your Google account.

  56. Thanks for the awesome plugin! will you be adding the ability to edit the $url that gets the +1 from the plugin setting page?
    If not, how would I specify the url if I am only inserting the buttons via the settings?

    • I don’t actually use the redirect personally, it was just a feature request. I believe it is being used to show a “thank you for +1′ing this page” kind of thing. It’s not a recommendation from Google, per se, but it’s something that their JavaScript API allows you to do.

  57. Hi Jacob,

    I’m trying to add this plugin to my blog. I have installed it and made changes, etc but it will NOT show up on a new post. I believe I have done everything correctly. Can you help?

    Thanks,
    Annette

  58. Hi Jacob,

    I have installed the plugin and activate it. But can’t see any change on my website. Removed cookies but still won’t appear anything.

    Thanks

  59. Hi Jacob

    Sorry to trouble you but I’m new to WordPress & its plugins. I just added the Google +1 button to my new site on every page of

    http://www.eurofestivals.co.uk/

    It should appear to the right at the top and to the left at the bottom of pages. However, it doesn’t seem to be showing anywhere.

    Any suggestion would be most appreciated.

    Thanks

    Gerry

    • Your theme probably doesn’t have the required wp_footer() call in footer.php – you can either edit your theme to include that, or uncheck the “Use the (faster) asynchronous JavaScript” option on the +1 button options page (Settings > Google +1 Button).

  60. Hi Jacob,

    I love the plugin, just had a quick question as i was reading comments to see if it was already answered, I was wondering on SSL enabled sites, everything appears fine on the front end it doesnt disable the ssl, but in the admin with the plugin enabled it disables the ssl..

    Any ideas on this kind of issue…

  61. Hi Jacob,

    I’ve installed your plugin but for some reason I’m getting the “red button” error. My sites in good standing, not banned or anything. I’ve checked that it’s not ABP or No-Script. Not sure what else to try. Any ideas?

    Regards,
    John

    • Check out this Google PageSpeed results page – it indicates that your site is returning a 500 server error when Google tries to request the page.

      It could be a plugin that you have installed that is trying to do something different with the site when the Googlebot accesses the site.

      Do you mind sharing the list of plugins you have installed? I’ve had reports of similar problems from a number of people, so maybe if we knew what plugins you were using, it might match what others are using.

      • Hi Jacob,

        Here’s my list of plugins:

        akismet
        azindex (makes a-z page of posts)
        broken-link-checker
        copy-compass (for seo)
        custom-contact-forms
        exclude-pages (hides pages from menu view)
        google-analyticator
        google-analytics-for-wordpress
        google-sitemap-generator
        jetpack (wp.com stats)
        jumpple (monitor uptime)
        login-lockdown (prevent repeat login attempts)
        nrelate-related-content
        ozh-admin-drop-down-menu
        platinum-seo-pack
        secure-wordpress
        sexybookmarks
        w3-total-cache
        wp-db-backup
        wp-optimize
        wp-paginate
        wp-plus-one
        wp-scanner (scan site for security issues)
        wptouch (adapter for mobile site access)

        I also tried disabling all other plugins, and took out robots.txt just in case. Same result.

        Hope you can help me with this — I really like your plugin.
        Thanks,
        John

          • Hi Jacob,

            Oh it’s fixed man!! When I checked my error logs, as you suggested, I found this error message . .

            ” PHP Fatal error: Call to undefined function wp_pagenavi() in /. . (path) . . /footer.php on line 10 ”

            . . and in footer.php I found a single line of some left-over code from a buggy plugin that was installed and then deleted some time ago. I removed the code and your plugin worked immediately.

            Thanks so much for pointing me in the right direction. I’m one happy camper :)

  62. Hey lovely plugin everything works great but I want to custom display it how would I call it in the functions.php ?
    if (function_exists(‘plusone’)) {
    wp_plus_one_button();
    }
    else {
    do_action( ‘wp_plus_one_button’, $url, $style, $css, $count, $redirect);
    }

    please let me know if you know what I mean?!

  63. Hello!

    I think could be interesting show +1 button on category pages too, because other social plugins like twitter or fb shows the buttons there.
    For who wants to add it (suggestion to jacob too) I’ve added this line to “function wp_plus_one( $content ) {” on wp-plus-one.php:

    “( function_exists(‘get_post_type’) && is_category() && get_post_type(get_the_ID()) && get_option( ‘wp-plus-one-show-on-’ . get_post_type(get_the_ID()), false ) == true )”

    Hope this helps somebody!

  64. Hey Jacob,

    the button shows up and lets me click on it I get +1 but after about 20 seconds it turns red… any suggestions?

  65. Hi Jakob,

    thanks for this great plugin. I realy like it. But there is a problem with my xhtml blog. There are a lot of validation failures. You have any suggestions how to could solve this?
    there is no attribute “href” or there is no attribute “callback” or element “g:plusone” undefined

    • It’s possible with custom coding, but requiring a user to +1 content before it’s viewed will be viewed by Google as a spam tactic and is at the very least borderline unethical. Not saying it can’t be done, but I probably won’t be adding it into my plugin.

  66. I have two things I would like to do.
    First, I would like the Icon to appear above my tweetmeme button on the right side of the post/page. I saw what you told the woman in another email thread to do but I am at a loss as to how to change the position to “top” “no float” . I see the custom css place to add the additional info you gave her and added it to the css box but without the other change it made the icon disappear altogether.
    Second, I would like to edit the script so that all my plus 1′s will go to the home page of the site instead of individual pages. How do I modify the script to do that?

    Thanks in advance for your help. I have tried every google plus 1 button I could find (at least a dozen of them) and none of them would display correctly the way I wanted until yours. With a little tweaking it will be perfect.
    Also, I have another question. Do you know how to get the google plus 1 URL for a site or page? I have another social media widget that uses the URL of every site it supports as the identification means and it works great for all the other social sites, but I could not figure out what the Google Plus 1 URL is for my site and the support site is off line for a while as the developer had a melt down.

    Thanks Again,

    Duane Overturf

    • So, the +1 button currently displays to the right of the tweetmeme button – and you’re looking for it to display on top of the button?

      Top no float is the first position dropdown – the first one is for the top of the post and the second one is for the bottom. So you would need to set the first dropdown to be “No Float”.

      If you want all of the +1 buttons to contain your homepage URL, you will need to find the following lines in wp-content/plugins/wp-plus-one/wp-plus-one.php in function wp_plus_one():

      
      $url = get_permalink();
      $style = get_option('wp-plus-one-style', 'standard');
      $css = get_option( 'wp-plus-one-css', '' );
      $count = get_option( 'wp-plus-one-show-count', true );
      

      and change them to be:

      
      $url = "http://your.website.home/";
      $style = get_option('wp-plus-one-style', 'standard');
      $css = get_option( 'wp-plus-one-css', '' );
      $count = get_option( 'wp-plus-one-show-count', true );
      

      Do realize that this is a hack and will be replaced by any updates to the +1 plugin that you apply in the WordPress dashboard. I may look into adding an option for this use-case.

      I’m fairly sure that there’s not a “+1 url” for a given webpage, but I could be wrong about that.

      Jacob

  67. I have another request… Did you ever create a shortcode for the plugin that could be used in a html, java, text sidebar widget so it could be displayed next to other social icons? I like the +1 on certain pages in the sidebar but it doesn’t look great there all by itself. I would love to combine it with facebook like and a tweet button in one html, java widget using the tall icon for all three next to each other.

    Thanks for any help you can give on this.

  68. I have installed this app 3x’s each time following the exact instructions and it is still not working… I am using wordpress 3.2.1 with a world theme generator for a theme layout. Is there any conflicts in using the 2?

  69. Hi Jacob, just got your plugin and activated it on my site, so far with no issues. I have to admit I had to dig for it before I found your site but it was well worth it. Will see how it goes and I’ll make a post on my blog about it. Thanks

  70. Hello Jacob, Thank you for this magnificent plugin, it works right out of the box.
    I wonder – is it possible to be selective about which posts on a blog get the +1 button? Is there a code snippet to insert in the HTML-part of a post that will make the button appear when in the setting “Add +1 to posts” is disabled?

    Regards,
    Paul

    • Right now, I don’t have a shortcode option, however there is an option to disable the +1 button on specific posts (it’s a post editor metabox), so that works if most of your posts are supposed to have the button. I may include another option for adding the +1 button when it is disabled.

      Thanks!
      Jacob

  71. Hi Jacob

    I posted on here back in sept, i thought the issue would of resolved but anyways do i was hopin you might have a suggestion…

    to as why on ssl enabled sites that the plugin breaks the SSL in the admin, not the front end, and its disabled on the dashboard page, plugins page, and users profile page, settings ect, pretty much everywere except for frontend..

  72. Good day Jacob. I’m relatively new to all things WordPress, yet really appreciate your plugin! I’ve hit a snag, due to my lack of knowledge most likely, and reached out to the creator of my custom theme for help. They in turn, stated to reach out to the creator of the plugin, hence this post. I cannot get G+ to appear on my homepage. I’ve seen reference to the code in the settings that you mention above, but have no idea where to place that. code. (The last time I messed with code, my website went down so I’m gun shy….) As an aside, Google plus shows up on all other pages/posts that I select via settings, it’s just the Homepage that I cannot figure out. (Here it is TheRoofCleaningCompnay.Com)
    Guidance for a middle aged rookie please?
    Thank you!

  73. Hi Jacob,
    Firstly, thank you for this plugin.

    Secondly, I added it manually directly into the code using the short codes. It works almost 100%. I’m having 2 problems. 1 the image associated with the blog post doesn’t show up, it just shares the logo. 2 most of the post ‘text’ shows up correctly but then there’s a few that show the navigation text first then followed by the actual post.

    Any suggestions?

    Thank you

  74. Hi, I’m using your plugin and I’m liking the functions. By now, Google provides the option to link your Google plus page to your site. Do you think that feature could be added to your plugin?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>