Adding Google+1 Button To Sharedaddy To WordPress Jetpack

Adding Google+1 Button To Sharedaddy To WordPress Jetpack

Jetpack for WordPress is a nifty collection of plugins which helps bring some of Wordpress.com functionality to your self-hosted blog, the problem is that its Sharedaddy module doesn’t include Google+ … which really sucks. So here’s how to properly and correctly add the Google+1 button to your Sharedaddy module of Jetpack AND make it fit properly as well (well, mostly fit at least).

*EDIT*: This will also works with just the Sharedaddy plugin and without Jetpack! Yey!

There are two and a half steps to this process. Why a half step? That’s because if you having caching enabled, you will have to clear your WP cache (and possibly your browser cache as well) to see it.

Step 1) Install the Google +1 plugin.

http://wordpress.org/extend/plugins/google-1/

The easiest way to do this is to install it through WordPress. Click on “Plugins” in the admin menu, then on Add New. From there search for “Google 1″, it’ll be the plugin by Alex Moss. Install it, enable it. Now here’s the trick no one else tells you!

Go into the “Google +1″ setting and DISABLE “Show comment box in posts”. This will prevent the Google +1 box from showing up automatically by itself instead of being with the other Sharedaddy links! And save the settings.

 

From here we’re on to step two which requires a bit of code editing! No worries, it’s pretty easy.

Related posts

Better Code For WooCommerce Order Complete Email Notes

I previously wrote a post to help you add code to WooCommerce Order Complete emails that would display the proper order notes(original article: Add Order Notes To WooCommerce Completed Order Email). This is an updated article with newer code that also includes some error checking. Read that article to get a handle on things. I’ll

Add Order Notes To WooCommerce Completed Order Email

Sometimes you want to add order notes to WooCommerce completed order emails, thankfully that’s rather easy and only requires a little bit of programming. Even better, you can use WooCommerce’s built in tools to make these changes! UPDATE: Newer (cleaner and better) code available for the WooCommerce Complete Order Email! Check it out here: http://www.piotrkrzyzek.com/better-code-woocommerce-order-complete-email-notes/

  • http://jonahbsanders.com Jonah B Sanders

    Is that syntax correct? I copy and pasted and it didn’t work.

    • http://www.piotrkrzyzek.com Piotr Krzyzek

      Hey Jonah,

      Uh yeah … sorry about that. I’ve been having trouble getting code to display correctly. I’ll personally e-mail you when I get the code fixed up, I’ll do it later today for ya.

      Thanks for bringing it to my attention!

      –PK

  • Brian

    Didn’t work for me at all… any ideas? I just set up a new site today and the only plugins I have installed are Jetpack and Google +1. I followed your instructions precisely and used the proper syntax but the Sharedaddy settings page still does not show the G+ module.

  • http://jonahbsanders.com Jonah B Sanders

    Thanks, Piotr! Works awesome!

  • Matt Rigdon

    I followed your outline but it didn’t work.

  • http://madmacman.com madmacman

    Is this syntax correct? I copy and pasted and it didn’t work. Could you please advise of correct code.

    Cheers

  • http://jonahbsanders.com Jonah B Sanders

    // CRAMMING in Google Plus One
    $parts[] = ” . do_shortcode(‘[google1]’) . ”;

  • http://beyondbooks.ca Cat

    Thank you! Of all the instructions/edits I have been reading, yours was the easiest to understand & follow. Much appreciated!