Styling jetpack sharing google plus button

Nothing profound.

I use jetpack so I wanted to use the provided sharedaddy module.

The google plus button is a new addition and displays the medium button with default annotation.

I don’t have the traffic to display annotations. I want to use the small button.

So per google’s docs, I edited the sharing-sources.php file



Better approach

Of course, the above hack reverted the next time I updated jetpack. So, I did this in javascript instead:

Note: (9/2012) Google updated their api to change from count=false to annotation=none. Snipped above updated to reflect this…

jQuery(‘.googleplus1_button iframe’).attr(“src”, jQuery(‘.googleplus1_button iframe’).attr(“src”).replace(/count=true/,”count=false”));


Comment from >BandonRandonNo Gravatar
Time: October 7, 2012, 7:30 pm

Thanks for this tip. Another option is to create your own button directed for the following url: this can be nice if you don’t want to use Javascript.