Sharing is Caring WordPress Plugin


This is a WordPress plugin that displays the official social sharing buttons from Facebook, Twitter, Google+ and Pinterest with your posts. It also adds some meta tags for opengraph and schema.org as recommended by Facebook and Google. The standard method to do this is by filtering the content of the posts, which is controlled by the options in the admin menu. Buttons can also be displayed by the shortcode [sic] with ability to disable individual buttons for that instance of the shortcode. You can also add it to your theme with do_action(‘sic_sharing’); where you want it to render.

Allows some custom text and css insertion as well as most options for the buttons in the admin page. Compatible with html5 (optional).

Current Version: 1.4.3

It is in use on this page.

Your questions and comments are welcome.

Download the Sharing is Caring plugin

Shortcode Use
[sic] will display the buttons as set in the option menu

You can also add the optional parameters f=0, t=0, g=0, and p=0 to disable specific buttons for that instance of the shortcode.
[sic f=0] will display the buttons as set in the option menu, except Facebook
[sic t=0 g=0 p=0] will display only the Facebook button

GitHub

Sharing is Caring!
  • http://www.amazingy.com Floris van Onna

    Thanks! Really like it :)

    • Courtney

      LOVE the plugin, it was working great for a while. But not sure why the pin button doesn’t work? I even updated to the latest version. Any idea? epi-ventures.com

      • Courtney

        To be clear, it does pin the pic but it doesn’t show the count.

      • Michael_Beacom

        I think there is an issue with Pinterest right now, I checked on another site that had a pin it button working previously and it is somehow just not making the connection.  I’ll keep an eye on it, but they will probably fix the problem soon.

  • Jonsmeez

    I had the plugin running on my site and received this message and can no longer access any part of my page or dashboard….any ideas??????? anything would be appreciated. thanks

    Fatal error: Cannot redeclare the_excerpt_max_charlength()
    (previously declared in
    /home/jonpress/public_html/wp-content/plugins/gallery-plugin/gallery-plugin.php:429)
    in /home/jonpress/public_html/wp-content/plugins/sharing-is-caring/sharing-is-caring.php on line 484

    • http://twitter.com/Michael_Beacom Michael Beacom

      This should be fixed in 1.1.2. You will need to do a manual install to overwrite it. Thanks for your feedback!

      • Jonsmeez

        Great Thanks.  Nice plugin tho!

      • Jonsmeez

        THanks for getting back so quick

  • Anonymous

     Is posible add this plugin yet another social like – linkedin, dig and delicious?

    • http://twitter.com/Michael_Beacom Michael Beacom

      Probably, I’ll look into it in the future.

      • Anonymous

         That will be nice, now I am using this version, but I will wait for upgrad :)

  • Durairg

    How do make I make the widget to float on the left ?

    • Anonymous

      Do you mean to the left of your post?  You probably want to select the “before the post” option and edit the css for the box.
      For the box css, something like this might do what you want:
      float: left; position: relative; right: 100px; width: 90 px; 
      For each button css, you might want to do:
      float: left; padding: 5px 0 0 5px;

      That should do what I think you want to do.  Hope it helps.

  • http://jackyan.com Jack Yan

    I like your plug-in as it’s one of the few that does exactly what it says on the tin. I’m the second guy to give you five stars.

    I have a few little bugs I want to report. The first is that the Twitter icon, for some reason, sometimes appears multiple times (three or four times, one above the other). The other is that ‘Pin it’ doesn’t seem to work. What I get is a pop-up box, but if I click ‘Pin it’ in that box, nothing happens. Nothing also appears on my Pinterest account.

    The other Pinterest plug-in for WordPress (http://pinterestplugin.com/) gives me a list of graphics to choose from, and it would be great if yours did the same. I’m sure it’s just a tiny bug somewhere that can be easily remedied.

    • Anonymous

      Thanks for the feedback.  

      I’d like to see what you are describing, do you have it live somewhere that I can take a look?

      The other Pinterest button behaves more like their pin it bookmarklet, which I do prefer.  I am using their official button code, which I was quite disappointed to find out did not allow the user to select an image.  I’ll take a look at the other plugin.

      • http://jackyan.com Jack Yan

        Hi Michael: thank you for your quick reply. I originally had it enabled at lucire.com/insider but took the Pinterest one off when I noticed the behaviour. I’ll put it on again now. The Twitter one is sporadic but if you visit enough pages (try the ‘random page’ link to the right-hand side) you will see it happen on around 1 in 10.

        • http://jackyan.com Jack Yan

          Michael, here’s a screen shot of the very first one. No Pinterest icon appears, the Twitter one appears four times, the first paragraph is linked to Pinterest, and the Google Plus One icon is gone. However, the subsequent entry is fine.

          It looks like this glitch happens when the first thing in the blog post is an image. The image gets knocked out by the multiple Twitter icons.

          I might have to remove the Twitter one for now as I’ll start getting complaints!

          • http://jackyan.com Jack Yan

            Michael, sorry, I have to take off the Pinterest button. It’s removing too many of my images.

            Here’s the HTML code that’s causing it.

            -html removed-

          • Anonymous

            Fixed in 1.1.3, thanks for your feedback!

          • http://jackyan.com Jack Yan

            Thank you so much for the live troubleshooting today! If only more plug-in developers were as responsive and responsible as you.

  • http://twitter.com/KenKaminesky Ken Kaminesky

    Any plans to add Stumble Upon?

    Like Jack Yan said “The other Pinterest plug-in for WordPress (http://pinterestplugin.com/) gives me a list of graphics to choose from, and it would be great if yours did the same.”

    • Anonymous

      Well, I made this plugin both as a learning exercise and because I only wanted to have buttons for Facebook, Twitter, Google+ and Pinterest to keep things as simple as possible.  I have not looked at how any other networks buttons work yet, but it is possible that I will add some more in the future.

  • Jessica Bradley

    Great plugin!  Exactly what I was looking for.  I have a question – a bit of my post text appears on the same line as the buttons… what’s the best way to make sure the buttons stay on their own line?  I added a bit of vertical space, but it didn’t quite fix it. Thanks again!

    • Anonymous

      Well, the problem you want to solve is that the box that wraps each of the four buttons is not as wide as your column, so it is wrapping the text around the box.  you could set the css for each button to include “width:25%;” or you could add “clear:both;” or “height:30px” to the css for the box.  Any of those should work, I think.

  • http://pasceverbo.com/fiction/inspiration Jonathanbatteas

    This plugin is great! almost exactly what I’ve been looking for. Simplicity is key. I was wondering, any chance of adding the ability to get it to show up on the index/archive page for custom post types? It seems to show up no problem on the single page of a custom post type, just not on the index.

    • Anonymous

      Hmm, it depends how exactly the custom post types are being displayed.  If it’s by date you can use the display on dates option, and so on.

      • Jonathanbatteas

         It is my understanding that the “index” page that WordPress automatically creates to show all Custom Posts is actually an archive page. I know for me, I was able to create a template for the page by creating a file archive-customposttype.php. Would this be display by date?

        • Anonymous

          I’m not really familiar with custom post types, so there could be something i’m unaware of, but this should be display by date.

          • Jonathanbatteas

             ok, I cracked this one. To add to the index page of a Custom Post Type:
            Line 181 add – <input name="sic_options[custompostindex]" type="checkbox" value="1" /> Display on custom post type index

            Then

            Line 586 add – ($options["custompostindex"] && is_post_type_archive( $posttype )) ||
            where $postype = the name of your custom post type. Maybe think about a text field that can feed that variable.
            you can also enable on Archive pages by adding:

            <input name="sic_options[archives]"
            type="checkbox" value="1" /> Display on archive pages

            and

            ($options["archives"] && is_archive()) ||

          • Anonymous

            Well, WordPress can tell me what custom post types are registered, so would it be preferable to have an option to display on the archive for each of the custom post types, or just have a single option to display on the archive for all custom post types?  I’ll be adding this + some other features tonight.

          • Jonathanbatteas

             I guess it would just depend on how messy your options page might become vs. how much control you give the user. speaking for myself, i always err on the side of more control, but i think either way would be great. thanks.

    • Anonymous

      Added in 1.2, let me know how that works for you.

  • Jonathanbatteas

    Also, I’m trying to get this to work with the WordPress Infinite-Scroll plugin which dynamically loads in older posts as the page is scrolled. But, when it does this, it needs to recall any javascript that is normally loaded on page load. I notice that the buttons load correctly on the first page, but not any pages there-after. What javascript would I have to call inorder to reload the buttons properly? Thank you.

    • Anonymous

      Can it call a function or does it need to call javascripts only?  If it can call a function, you can try calling sic_snippets() which echoes the javascript for all the buttons.  See if that works and let me know.

      • Jonathanbatteas

         It can not call php functions, but i believe it can call javascript functions. A couple of examples that reinitialize a couple of other plugins I have installed are:
        Shutter Reloaded : shutterReloaded.init(‘sh’);

        MediaElement.js : jQuery(‘video’).mediaelementplayer()

        jQuery(‘audio’).mediaelementplayer()

        Front-end Editor: if (typeof FrontEndEditor !== ‘undefined’){
           jQuery(‘.fee-field’).each(FrontEndEditor.make_editable);
        }

        Unfortunately, sic_snippets() did not work. Thank you very much for taking the time to answer.

        • Anonymous

          I’ll take a look at this today and let you know what i find out.

        • Anonymous

          These should work for Facebook, Twitter, and Google+, respectively:
          FB.XFBML.parse();twttr.widgets.load();gapi.plusone.go();

          I don’t know about PInterest yet, but I’ll be changing the way the Pinterest button works soon anyway.

          • Jonathanbatteas

             Excellent! perfect. Just as you said, works flawlessly on all but the pinterest button! Can’t wait to see what you’re going to do with the pinterest. I’ve tried just about all of the plugins out there that have one, and I can’t seem to find one that is as simple and elegant as the bookmarklet.

  • http://homesteaderkitchen.com/ Bethany

    Love this plugin!  It’s the only one I’ve found that has a pin-it button to go along with the other big three.  One problem though – when I test the “pin it” button, it only allows one image to be pinned.  In my case, I like to use an author thumbnail as the first image in a post but that’s not the image I want pinned.  I even removed the image from an existing post and it still wants to pin that particular image.   Is there a way we can either specify that the pin-it button is attached to a particular image (maybe the featured image?) or allow the user to pin it using any image from the post?

    • Anonymous

      There will definitely be some changes to the pin it button functionality in a future version, I’m pretty unhappy with how it works right now.  I would suggest looking in to the various plugins for handling author avatars, though, rather than manually attaching the author image every time.  It should save you some time.

  • http://www.fencedinfamily.com/blog Cindy H

    Hello, thanks so much for creating this plugin. It’s doing exactly what I wanted! I have one small problem. For reasons I can’t figure out, the Twitter icon is appearing slightly lower than the other icons. I’ve attached a screenshot. Any ideas?

    • Anonymous

      It is caused by Another WordPress Classified plugin.  If you can modify the stylesheet either directly or through admin menu of that plugin, the problem that it is applying 
      margin-top: 5px to the 
      .twitter-share-button class which is the class of the iframe provided by twitter.  To fix it I would change it from 
      .twitter-share-button {…}  to 
      .awpcp_tweet_button_div .twitter-share-button {…}

      I hope that all makes sense, and I’m glad you like the plugin!

      • http://www.fencedinfamily.com/blog Cindy H

        Thank you! That did the trick.

  • Mike T

    Great plugin. Is there a way to manually call this in php? I need to change the location of where it generating on my single-posttype.php template

    • Anonymous

      Hmm, what are you trying to do, exactly?  You could probably do it with just some css, and I would really try to do that if possible.  I just added sic-box, sic-title, and sic-button classes in 1.3 to make it easier to manipulate with external css. I suppose you could also add a filter hook to your template where you want it, and then change the filter for ‘the_content’ to your new filter.  

      • Mike T

        Hey,
        I figured it out; I just wanted to call the sic_content_filter in the custom template. 
        Thanks for the response back. 

        • Michael_Beacom

          Well I am not sure why they wouldn’t normally be filtering the content for that post type, but WordPress can do a lot of things that I don’t know about.    Glad to hear you worked it out.

  • Steve

    Hi Michael – First off, great plug in.  I’m not really a programmer type person, so could you please tell me what I need to do to get the group of icons to center at the bottom of my posts?  I see where there is a place to add some code, but I just don’t know what I need to put there….  Here’s my blog:  www.BBQBros.net

    thanks

    • Michael_Beacom

      In the css to apply to the group box, you could do margin-left: auto; margin-right: auto; width: 380px;

      • Steve

        Thanks, that got it!!  

      • mgoh

        Hi, I tried this on the css, can I get it to line horizontally, instead of vertically on the left side of each post on my blog ? thank you so much for such great plugin. Been looking through so many and this is just perfect!

        • mgoh

          and to add to that actually I did choose to display before post, but somehow it kinda “blend in” with the post. I prefer to have them displayed first, then the post underneath it. here’s how it looks like now: 
          http://whattocooktoday.com/goi-cuon-vietnamese-spring-roll.html

        • Michael_Beacom

          I’m not sure I understand you, where exactly did you want to have the buttons? 

  • http://twitter.com/Pixamundo Rafaelinho

    Hi Michael,
    I love the simplicity of this plugin. I dropped another similar plugin since it was slowing down my site. One thing I started noticing a few days ago is that the the “Pin it” button no longer show the count bubble. It was working fine up until a few days ago.  Do you think that Pinterest might have changed something on their end to cause this to stop displaying. 

    My site is.www.Pixamundo.com

    • Michael_Beacom

      That seems to be the case, I’ll look into it more tonight.  Related: http://michaelbea.com/sharing-is-caring/#comment-441197131

      • http://twitter.com/Pixamundo Rafaelinho

        Hi Michael,
        Thanks for the reply. So about an hour ago, the “Pin It” button is once again displaying the bubble with the correct count. I hadn’t made any changes to my site. The problem was probably Pinterest. Weird.

  • Domainwise

    Also noticed the pinit button no longer shows the pin count. Is there going to be a fix/update for this?

  • Jan

    Hello! Thanks for the great plugin! Is there any way to add the sharing buttons to a text widget? Maybe by shortcode or just HTML?

    • Michael_Beacom

      Yes, you can add the html for the buttons in the text widget.  Note that the scripts are already included so you would only need to include the litte snippet (e.g. or however it is set up w/ your options. Just view the source html of your page. You probably would want to edit any references to urls to your root url.)

      I will actually be adding a widget in the next version this weekend, with some extra options for some of the additional twitter buttons and facebook like box.

      • http://twitter.com/ComfyEarrings Comfy Earrings

        Hello, awesome plugin! Thank you! I just have one problem… I’m trying to add the buttons to an excerpt. The above html works for the facebook like button, but I’m having a hard time finding the right html/snippet for each button. Can you please help me out? To replicate the exact [sic] shortcode, what would I type for the html? Thank you!!!

        • Michael_Beacom

          I’m not sure I understand quite what you mean.  Why not use the shortcode? Is it getting truncated by the exceprt, or do you only want to call one of the buttons?  Another user suggested adding some parameters to the shortcode so that the networks could be selected in the shortcode ( http://michaelbea.com/sharing-is-caring/#comment-448969071 ).  Would this solve your problem?

          • http://twitter.com/ComfyEarrings Comfy Earrings

            Hi Michael, Thank you for getting back to me. Yes, the excerpt is not allowing it to show. The way my theme works, the product description is an excerpt instead of a post. I really need people to be able to share from the product page (and the product description/excerpt). Any ideas? I really appreciate your help! Thank you! 

          • Michael_Beacom

            Well, excerpts cause problems with the way the normal filtering method currently works since it is filtering the content of the post and adding the buttons, but then being cut off by the excerpt.  You can modify your theme a little and add do_action(‘sic_sharing’); where you want them to render.  I’d recommend doing this in a child theme.  If you need some help with this feel free to email me.  I haven’t yet found a satisfactory way do deal with excerpts, unfortunately.  There doesn’t seem to be a way in WordPress to find out if the content is the full post or an excerpt.

          • Richard

             I had problems with the do_action… it would not render at all in my theme templates. However this code snippet does work if anyone else has this problem

          • Richard

             sorry, it doesn’t like the code/code tags here it is again without the php tags, you’ll have to add them php echo do_shortcode(“[sic]“);

  • Joe

    Awesome plugin. I notice, however, that when using it Above Posts, it doesn’t do a hard return, thus crowding the top area. Any way of putting a line space after the icon set?

    • Ijostl

      I noticed also. It seems to ignore the display:block; attribute when assigned to the container’s css field.

      • Michael_Beacom

        It is a div element so the default behavior is display:block.

        • Ijostl

          Thank you. I tried adding clear:both; to the “Css styles to apply to the group.” field and that didn’t work either.

          • Michael_Beacom

            width:100%; ?

          • Ijostl

            LOL!  Thank you for explaining the obvious. I like how you’ve done this now and am embarrassed I had to bother you. Very kind of you and so is your GREAT ‘customer’ support diligence!

          • Michael_Beacom

            Glad you like it :)

          • bb

            Hi Micheal, I’m having the same issue but I’m not using float on anything. I have an image at the top of my blog post and the social icons are shoving it to to the right side. Where do I use the clear:both or do i use a different option?? Sorry I’m a bit of a noob at this stuff >_<

          • Michael_Beacom

            width:100%; in the box for the css to apply to the group should bump any content to the next line.  Let me know if this works for you.

          • bb

            Hi again and thanks for your reply.  I tried adding width:100% to that field but it didnt work. I also tried adding clear:both and that didn’t work either. Is there anything else that I can try?

    • Michael_Beacom

      If you are using float on the container, adding clear:both should solve this.

  • Joe

    I noticed that when you click the Pin It button, it automatically grabs an image instead of letting you select one. Is that something that can be changed?

    • Michael_Beacom

      It is planned.

  • Ijostl

    Spectacular plugin, thank you very much! Would you please be so kind to tell how it may be removed from individual pages? For example, from a particular page/post or template?
    Thank you!

    • Michael_Beacom

      It’s not really ideal but you could add something to your css… for example this post has class=”post-8 post type-post status-publish format-standard hentry category-wordpress tag-plugin tag-social-media tag-wordpress” id=”post-8″ so if I was going to remove it from this page I would add #post-8 .sic-box {display:none} to my theme’s css.

      • Ijostl

        Hack or not I’ll take it, thanks. But unfortunately for me my page has no ID# (it’s a page not a post) to proceed the .sic-box. I’ve tried a dozen variations, the page # is 760 but I have yet to figure out a way to make this work on a page. Would you please be so kind to offer css syntax for page removal?
        Thank you.

        P.S. Would be awesome if you had a place in the settings to enter page #’s to exclude from display.

        • Michael_Beacom

          I’m not sure it will work in all themes but try .page-id-760 .sic-box {display:none;}

          • Ijostl

            That works perfectly. Thank you for your kind, generous, diligent support. Here you are helping people with what is probably basic CSS.

            I humbly thank you again and offer only that in a future release, adding a feature to control display on a given page through the admin interface somehow may make this plugin even better.

            To your success, Michael!

          • http://twitter.com/thobu ♜ Thomas N. Burg

            having 12 pages to exclude do I need to put that on 1 line for each?

  • http://www.facebook.com/DavidBrown.REVisionary David Brown

    Like to be able to manually place the bar with a shortcode…do you have that code.

    • Michael_Beacom

      I just added shortcode [sic] in version 1.4.  Let me know how that works for you.

      • http://www.facebook.com/profile.php?id=100000419472864 Maggie Simak

        Thank you SO MUCH for the shortcode!! xx

  • Peter

    Hi Michael, I really like your plugin, but I have a problem: my meta descriptions (which I set with All in One SEO Plugin) do not show on Facebook and Google+ when I have your plugin activated.

    My site is: http://www.thechangeblog.com

    • Michael_Beacom

      I’m not sure why that would be the case, I’ll look into it.

  • http://www.blakemalan.com/ Blake Malan

    I’m a rookie at this stuff so I hope I’m not asking a dumb question :)  

    I haven’t been able to figure out how to get the Facebook button to appear. The Pinterest, Twitter, and G+ all appear just great, the Facebook button is missing. 

    I tried creating and entering the Facebook App ID without any change. 

    My site is http://www.blakemalan.com

    Thanks for any help!

    • Michael_Beacom

      It seems to be working now.  Did you make any changes, or did it just start working?

      • http://www.blakemalan.com/ Blake Malan

        It seems like it doesn’t appear when using Chrome. After seeing your comment I looked on my phone (iphone/safari) and I can see the Facebook button, then I pulled it up on my computer in Internet Explorer and I can also see it.  However, even on this page in your article above I do not see the Facebook button. So it appears to just be the in chrome browser. 

        I guess that can just be something for the future. Thanks for your help. Great plugin :)

        Feel free to use me as a guinea pig since it sounds like I’m the only Chrome user around. 

        Thanks again!

        • Michael_Beacom

          Odd, I see it here and on your site in Chrome.  Are you using any extensions?

          • http://www.blakemalan.com/ Blake Malan

            I do have a few Chrome Extensions. I have SEOquake, StumbleUpon, Facebook, and Buffer.

          • Michael_Beacom

            Which Facebook extension, exactly?

  • Jan Becker

    Hi Micheal! Really great you added the shortcode! And by the way: Really special you support Pintertest – who needs’s 1001 share buttons (like other plugins do) – I prefer the ones people really use. ;-)
    Just an idea: It would be cool the shortcode could support something like [sic 1,2,3,4] or [sic 1,2] or just [sic 1] to select what networks will be shown. So this will be really flexible e.x. in a widget or just for images.

    Thanks a lot for your work!
    Jan

    • Michael_Beacom

      Hmm, I will look into it.

      • Michael_Beacom

        Now in v1.4.1, see post for usage examples.

        • Jan

          Did you mean the example in my post? I´ve tried [sic 1,2] but nothing happend – all four buttons are still there. If there´s an other post for usage examples maybe you could place a link on top of this page so everybody could find it. Thanks for caring my idea ;-)

          • Michael_Beacom

            My mistake, I thought I had updated this post with the new information yesterday.  It’s there now at the top.

  • Lars

    Hi Michael

    First of all, nice and simple plugin!
    I took the liberty of changing it a bit though, to better fit my needs. As I’m a programmer myself, I like to have things as flexible as possible, so I added a simple WordPress-like way of calling the plugin from your theme.
    What I did was to add an action that I can use in my theme to handle the inclusion. The code is as follows:

    function sic_wp_action(){ echo sic_content();}
    add_action(‘sic_sharing’, ‘sic_wp_action’);

    Quite simple, but helps a lot!
    Also, I added some classes to the different buttons so I would be able to distinguish the individual buttons from my stylesheet file. In the sic_content-function I simply added sic-facebook, sic-twitter, sic-gplus etc to each of the surrounding div-elements.

    Thanks for the plugin! After those small changes, it’s everything that I needed.

    • Michael_Beacom

      Thanks Lars,  I hadn’t really considered theme integration as a possibility, but that is just another one of the great things about getting feedback like this.  Just to be sure I’m clear:  you have set up a hook in your theme called sic_sharing?

      As for the css, I’ll add in another class to the div tags.

      Thanks, glad you like the plugin.

      • Lars

        Indeed :-) This is my template code:

        Nothing else is needed.

        • Lars

          Oops, forgot to remove the php-tags. Here we go:
          do_action(‘sic_sharing’);

          • Michael_Beacom

            Added this and button classes in v1.4.1, thanks!

  • Cheryl

    The Facebook button isn’t showing up in IE8… is there a fix coming for that?

    • Michael_Beacom

      It works for me in all browsers, I’m not sure what would be causing issues with this, but I will look into it.

  • Damanb

    Hello, I have a weird problem perhaps you can help. http://surrey604.com/tynehead-overpass/
    on my site I have the plugin applied but as you will see the little buttons for twitter, google+ and Pinit are not clickable and nothing happens when you hover over them – they don’t work at all but the facebook one does. Please help I want to use this plugin.

    • Damanb

      looks like a z-index issue with a different div

      • Michael_Beacom

        It seems to be working now.

  • http://www.miguelpena.com/ Info

    Hello, I’ve a problem, I’ll like to have all aligned like the las example (at the top of this page)  with “some css aplied for spacing”, without “be the fisrt…..”, I don’t know where to modify and how.
    Any help will be great, cheers

    • Michael_Beacom

      Well, I am not sure I understand.  Do you mean the 4th example in the screenshot?  It is basically the same as I have set on this page, width:100%;float:left; margin-bottom:5px; for the group and vertical-align: bottom;float:left; width: 25%; for the items. The only difference is that in the screenshot I’ve turned off Pinterest, so I set width:33%; instead of width:25%; for that. Let me know if this works for you.

      • http://www.miguelpena.com/ Miguel

         Hi Michael, yes, I’d like the 4th example in the screenshot, and (sorry) I need to know where to apply the CSS style you show me, I’ve looked on Appearance-Edit but I can’t find the code.

        I’m using also the Printfriendly plugin and I hope you can include in some next version, it would be great, as my blog is about food, visitors use to print the recipes.

        Thanks for your help!

        • http://www.miguelpena.com/ Miguel

           I got it Michael, it’s ok now, I just need to align the print button to all the rest, but this is not your problem. :)

          Have a nice time

  • http://www.greenenergyconversions.com/ X-prize

    I just started using your plugin.  When I display buttons via the shortcode on my homepage and attempt to use the FB “Like” button, it tries to like one of my posts instead of the homepage link.  This doesn’t seem correct.  Please advise.

    • Michael_Beacom

      No, it shouldn’t do that. I’ll look into it.  Thanks for reporting!

    • Michael_Beacom

      This should be fixed in version 1.4.2, let me know.

  • Daniel

    Hi there – something strange JUST started happening with the plugin: http://www.nicoleburley.com. On the homepage, all the Twitter and FB counts say 16 & 38, respectively, but when you go to the individual posts the counts are correct. The plugin has been working fine up until a day or two ago. Any ideas? Thanks!

    • http://www.miguelpena.com/ Miguel

       I have 17 on FB for all posts! :D

    • Michael_Beacom

      This will be fixed shortly, keep an eye out for 1.4.3 update.

  • Rachael

    When people “like” my blog post and share it on their Facebook wall, how do you choose which picture will accompany the post?  I assumed it would used my first picture out of 3, but it’s choosing the 2nd picture from my post… if that makes any sense.  What do I do?

    • http://vine.wisteria.com/ Wisteria Vine

      It seems that it uses the first image attached to the post, regardless of what order they actually appear in.

    • Michael_Beacom

      It uses the first image attached to the post, regardless of the order the images are displayed in.  It should actually allow the user to select from the available images.  I’m not sure why it doesn’t.  I’ll look into how I can improve this in the future.

  • Karen S

    I have put the sharing bar at the top of the pages/posts…

    However, the bar pushes the headline over – out of alignment on the
    page…

    I’m a real novice when it comes to setting blogs up or using html, etc.

    Would appreciate some assistance … thanks   Karen

    • Michael_Beacom

      Well, there are lots of things that could fix it, but I can’t be sure which one without seeing it.  Please post a link here or email it to me at michael dot beacom at gmail dot com.

  • Karen S

    Michael, here’s the link to one of the pages where the
    social media bar is pushing the page title over…

    http://YouWereOnMyMind.info   thank you   Karen

    • Michael_Beacom

      float: left; width:100%; for the group style is probably what you want.

  • Karen S

    Michael, thank you kindly for checking my site and letting
    me know the solution….

    And, I haven’t a clue what to do with your “fix”… 

    I forgot to repost that I’m a real novice with setting up
    blogs and html.

    I will appreciate knowing WHERE I put “float: left; width:100%;”

    and, do I need these < anywhere?  or quotations?

    YouWereOnMyMind.info… thank you      Karen

    • Michael_Beacom

      On the Sharing is Caring settings page, in the box labeled Css styles to apply to the group.  You do not need any quotes or brackets.

  • Rachael

    A major problem I’m having is that it’s giving an inaccurate reading of how many people have pinned the post on Pinterest.  Every single post I have is now reading the same exact amount of pins which is not accurate.  How would I go about fixing this, or can I?  I’m new to this and have no idea what I’m doing, but I don’t want inacuracies like this from the get go.  Can you look and see what I’m talking about?  All 3 of my posts say that I have had 19 pins….  http://simplyfreshcooking.com/

    • Michael_Beacom

      Well, this is a bug, I’ll fix it tonight.  In the meantime, using permalinks (which you should do anyway, IMO) will fix this problem.  You can enable them in Settings > Permalinks.

  • Adam

    Hi Michael, Great plug in from what I can tell…but I m not getting any images just a text link.  No counters or anything just text saying twitter, and pin it, 

    • Michael_Beacom

      No idea why it would be doing that?  Link?

    • Scott Wendling

      Sounds like you have a blocking script. Disable plugins and see if that stops it. If not it may be in a theme or custom code you’ve added. 

  • http://www.drantos.com/ Peter

    Support for language depended Facebook Scripts:
    diff –git a/cms/wp-content/plugins/sharing-is-caring/sharing-is-caring.php b/cms/wp-content/plugins/sharing-is-caring/sharing-is-caring.php
    index b4a95ea..bd63515 100644
    — a/cms/wp-content/plugins/sharing-is-caring/sharing-is-caring.php
    +++ b/cms/wp-content/plugins/sharing-is-caring/sharing-is-caring.php
    @@ -520,6 +520,7 @@ function sic_snippets() {
         $options = get_option(‘sic_options’);
     
         if ($options['fb_position'] != 0) {
    +        $lang=str_replace(‘-’,'_’,get_bloginfo(‘language’)) ;
             echo ‘
            
            
    @@ -527,11 +528,11 @@ function sic_snippets() {
                 var js, fjs = d.getElementsByTagName(s)[0];
                 if (d.getElementById(id)) return;
                 js = d.createElement(s); js.id = id;
    -            js.src = “//connect.facebook.net/en_US/all.js#xfbml=1&appId=’,$options['fb_app_id'],’”;
    +            js.src = “//connect.facebook.net/’.$lang.’/all.js#xfbml=1&appId=’,$options['fb_app_id'],’”;
                 fjs.parentNode.insertBefore(js, fjs);
             }(document, ‘script’, ‘facebook-jssdk’));
            

    • Michael_Beacom

      Cool.

  • Scott Wendling

    I love the plugin. It is easy and clean. I have a suggestion for Twitter. Add options to set the data-via, data-related, and data-hashtag to tweets. I manually added this to my install on http://eavjournal.com so when someone tweets and article is has my twitter name included as well as a relevant hashtag. 

    • Michael_Beacom

      I will include this in the next version.

  • Bryan

    Two questions:
    1) How do you get the title of the blog post to auto-post in Pinterest (right now it just selects my blog name)
    2) How do you get the title of the blog post and the URL to auto-post to Twitter (right now it seems to be grabbing my home page info).

    You can see an example here: http://afoodieblog.com/tangerine-honey-chicken-with-toasted-almonds/

    • Michael_Beacom

      It should be doing both of those things already.  There might be some conflict with some other plugin, try disabling other plugins (especially any plugin that does anything with social media) one at a time and checking the buttons.

  • C Heckendorn

    Having trouble getting it to show up using Infocus template (mysitemyway) on the homepage. It shows up great in the blog post, but my homepage pulls the 4 most recent blog posts – (full post) using shortcode and the social icons don’t show up. I tried selecting “post on homepage” and it does it in the right place, but the social links are for the homepage rather than each individual post. 

    • Michael_Beacom

      I think you would have to edit your template to include the do_action(‘sic_sharing’); where you want it to render.

  • Thedishandthedirt

    Clicking the Pin it button isn’t grabbing any of my images.  Help?

    • Cindy Horton

      I’m having this same problem at http://www.hiphomeschoolmoms.com. I double-checked and don’t have any other social media type plugins active. Thanks for any help you can offer, Michael!

      • Michael_Beacom

        Are you attaching images to your posts in the “normal” way?  It doesn’t recognize images linked from other sources by design.

        • Cindy Horton

          That was the problem exactly. On the posts from contributors, the images were linked from their own blogs. It never crossed my mind that could be a problem. Thank you!

        • Tracy

          Hi Michael,

          I am having the same problem with the Pintrest share. The images do not show up. I’m not sure what you mean by “the normal way”. I am using a purchased template “Welcome Inn”. Maybe that’s the problem? My site is http://accurateaccountability.com

          I love do love the plugin! Thanks for making it!

          Tracy

  • Alara Castell

    Hi! The Facebook button isn’t show, but the others are. What am I missing?

    • Michael_Beacom

      Could have been an issue with another social plugin, could have just been a connectivity issue with facebook.  Is it still a problem?

  • http://twitter.com/cowleyphoto Chris Cowley

    Hey, the Google+ button isn’t working for some reason (tested it on my site and also yours). When you click it it displays the exclamation mark error G+.

    • Michael_Beacom

      I haven’t seen any issues with the G+ button.  Are you signed in?

  • DailyCurrant

    Hi guys. I have a rather unique problem with this wonderful plugin that I thought people might get a kick out of. 

    On my website here: http://dailycurrant.com/2012/04/15/u-s-republicans-move-christianize-exoplanets/ 

    I have written an article which has the phrase [sic]. Sic is Latin for “yes” and is used sometimes in brackets to express to the reader that the preceeding content was not a mistake.

    Anyway I’m noticing now that when I use the phrase [sic] in an artlce, the Sharing is Caring bar appears. 

    Just wondering if there is any way I can disable or change the shortcode to something else because I like being able to use SIC. Thank you. 

    • Michael_Beacom

      Oh my.  I’ll see what I can do.

    • http://www.moneyclipmanifesto.com/ Admin

       Double the brackets on the short-code: [[sic]].

      Also sic is Latin for “thus”. It’s short for “sic erat scriptum”: “thus it was written”.

  • Johan

    Hello Michael

    Very nice plugin ! Exactly what I looked for !
    Anyway, I’d like to center the group in the middle of my featured posts on my homepage, and put up the group. As you can see, the plugin goes over the frame of the featured posts :http://johanlolos.com/wordpress/

    What should I put in the css code?

    Thank you

    • Johan

      And other question: is that possible to reduce the space between each item (I’d like to add the G+ button, but when I do it, the plugin is on 2 lines).

      Thx

      • Michael_Beacom

        I would just take out the margin css you have and put in width:92px for the button css.

    • Michael_Beacom

      Adding margin-bottom:-10px to the box css should take care of this.

  • http://www.youngandraw.com/ Caleb

    First of all, THANK YOU for creating and sharing this fantastic plugin. Your efforts are greatly appreciated :-) Secondly, I noticed that the Facebook Like button isn’t showing up in the row as usual… some friends are saying their FB Like is down on the plugin as well, so I’m assuming that you’re working on it (unless it’s a glitch that you’re not already aware of). Any estimate on when that will be up again? 

    • Michael_Beacom

      It seems to be working fine as of right now, are you seeing it?

      • http://www.youngandraw.com/ Caleb

        It’s working now, thank you :-) Not sure why it disappeared for a bit. Also just found out that when I activate it to show at the top of the post as well as the bottom, the top bar pushes our main post image over into the sidebar, which looks stupid to say the least lol. Top bar Looks great in Chrome browsers, but in Firefox and IE it is all whacked out.

        Is this something that a designer or coder would have to custom code into our theme files, or is there another way to fix that?

        • Michael_Beacom

          You would just need to put some css on the admin page to make the image go to the next line instead of being pushed over.  I think there are some similar cases in the comments that I gave examples to.

  • Timcostner

    Not sure if this is the cause and effect, but I just upgraded JetPack, and now I’ve noticed the spacing is off among the buttons. Specifically, the FB button is flush with the Twitter button. The Pinterest button is still fine, however.

    http://www.thirstyreader.com/

    • Timcostner

      They do space properly if I change the CSS to float:right, but the FB and Twitter are side-by-side when the CSS says float:left…

    • Timcostner

       Ok, sorry to keep replying to my own post. The bug seems to do with the positioning of the icons. The spacing on float:left is now correct after I shuffled the left-to-right order of the icons. Now that Pin is at the very left, it’s fine. But when FB was at the very left, it smashed up against the Twitter icon. Hope that makes sense!

  • Jeseter

    Hi, thanks
    for excellent plugin.

    It is great
    that on posts and pages the og:url is set to url of the post or page, and on
    all other pages (search results, categories etc.) it is url of blog. But
    og:type is set to blog only on homepage, on search results (and similar) it is
    set to article. Please consider whether og:type article should be only on posts and
    pages.

    Moreover, what about possibility to choose
    between og:type blog and website?

  • DailyCurrant

    Hello, I have a very strange issue with the FB like button. I have no idea if this is related to the plugin itself or not, but I thought I would report it here. 

    I have noticed that the Facebook like count only displays if I personally like the post. 

    Yes. The count will not display for anyone (I have tested this on other computers where I am not signed into facebook.) unless I like the post first. 

    When I like the post; the count then displays. 

    So I go from 0 to 30 likes in one click. 

    Can this be a bug in Sharing is Caring? Or is this a plugin conflict? Or something on Facebook’s end? 

    Very stumped. Having the count is important to me. 

    site; dailycurrant.com

    • Michael_Beacom

      That’s odd, it shows the counts for me.

      • DailyCurrant

        Well that is good. 

        I’m stil puzzled by this behavior. It happens whether or not I’m logged into Facebook. I’m thinking maybe it has something to do with being signed in with the same admin ID as that’s linked to the site? And then maybe it gets caught in the cache? 

        I dunno. 

  • Lou Storiale

    How do I get this to display with space below the icons instead of floating.  

  • http://twitter.com/SlimPicksKitch Slim Pickins Kitchen

    Thanks so much for your plug-in. It’s very easy to use, and it great with keeping up with the counts. Has anyone mentioned to you that the Pin It counts are no longer showing up next to the button? It was working a few days ago, but for some reason it’s not working now. I had one recipe that was re-pinned 22K+ and I would like to have that re-instated if that’s possible. Is there something I can do to fix this? None of my counts are showing anymore, and this has never been a problem before. Thanks so much for your help!  

    • David Shute

      Hey Slim, the same thing is happening on my site–no pinterest counts, as of the past few days

      • http://twitter.com/SlimPicksKitch Slim Pickins Kitchen

        Glad to know I’m not the only one! Now if we can just get it fixed…

        • David Shute

          My pinterest counter is working now!

          • http://twitter.com/SlimPicksKitch Slim Pickins Kitchen

            Mine is too! Yay! Thanks for letting me know :)

  • http://pulse.yahoo.com/_PBPBUWO3POXGEXSJYYAKVLY23A christina

    Hi I can’t get it to show up on the home page - 
    http://bastropstrategy.com/

  • Tracy

    Hi Michael,

    I am having the same problem with the Pintrest share. The images do
    not show up. I’m not sure what you mean by “the normal way”. I am using a
    purchased template “Welcome Inn”. Maybe that’s the problem? My site is http://accurateaccountability….

    I love the plugin! Thanks for making it!

    Tracy

    • Michael_Beacom

      Normal way = attached to a post with the add media button at the top-left of the post editor.

  • Jenn

    Sharing is Caring is awesome, but this is potentially a major issue, especially if it us used on a high-volume site:

    I show 10 full posts on my homepage. When I enable it to show on my homepage, it triggers the “Serve resources from a consistent URL” recommendation in Google PageSpeed. It lists 10 pinterest links (one per post) + 2 Facebook links (one http & one https). On my site, 12 extra calls per visitor will crash the server during high-volume times. Please look into optimizing the plugin to minimize the number of calls. 

    • Michael_Beacom

      It isn’t making those calls to your server, though, it’s making them in the browser (because they are javascript, client-side scripting not server-side) to the social networks’ servers. I’ll have a look at it at some point to see if I can solve the issue with pagespeed and serving resources from a consistent URL, but I haven’t noticed any issues on the high volume site that I use it on.

  • http://www.amazingy.com Floris van Onna

    Hi! Really like you plugin… I just have one issue on one of my sites. Even though I have unchecked “show on homepage” the buttons are still appearing. 

    Is there a way to turn off the plugin for certain pages?

    Thanks!

  • http://twitter.com/MoneywiseMoms Gina Lincicum

    I just installed and can’t get the FB button to show up. I’m not seeing it in Firefox or Explorer. Please help! Thanks :)

  • Zakaryw

    Hi, love Sharing Is Caring.  I’ve noticed lately that my Pin It It button will not grab an image of any of my posts, comes up blank.  Thoughts?

    http://www.RaisingColorado.com

    • Michael_Beacom

      Currently it only grabs images that are inserted in WordPress, not external image links.

  • Jan

    Hi Michael!

    I found some Open Graph Tags displaying shortcodes when posting the URL of my site on Facebook.

    Example:
    og:description: [two_third][h4 color="#FF3300"]…[/h4][display-frm-data id=2] [/two_third][one_third_last]

    This doesn´t look so sexy for Facebook users or for the promotion of the site…

    Any idea why this happens?
    Thanks a lot!

    • Jan

      Any idea?

    • Michael_Beacom

      I don’t think I set up the excepts to strip shortcodes… I should really do that.

  • Joe

    I just moved my blog to a new domain name. I noticed that none of my previous likes or tweets (from Sharing is Caring) are showing up. Is it possible to have them show up again or is it just something I have to start over on?
    thanks

    • Michael_Beacom

      Facebook, Twitter, etc all count based on the URL, so unless there is some tool provided by them, no.

  • Ryanb

     My Pin it button keeps taking background images or logo images instead of an image from the blog post, and I’ve ‘normally’ added the images to the post and even set one as featured image. Any ideas?

    • Michael_Beacom

      The code only takes images that were added as attachments to the post, I don’t have any idea why it would take a background image. Post a link and I’ll have a look.

  • fix me please

    I’m unable to have the pin it button consistently show up on posts/excerpts…any known issue with this?

    • Michael_Beacom

      Post a link and I’ll take a look.

  • http://www.facebook.com/profile.php?id=1022546620 david thon

    just uploaded the sharing is caring plugin on my website, but a few things look wrong…

    1. my facebook link isn’t there
    2. twitter shows only a text link and so does pinterest 

    I have this plugin-in on another of my sites and it works just fine…any ideas why the icons aren’t showing?

    http://www.burghteez.com/im-kind-of-a-big-deal-in-pittsburgh 

    • http://www.facebook.com/profile.php?id=1022546620 david thon

      ???

    • Michael_Beacom

      No idea! Sorry.

  • http://www.facebook.com/profile.php?id=1022546620 david thon

    does it maybe take w hile for the icons to show up? because now the facebook button shows but the twitter and printerest are still onyl text links instead of share buttons

  • Notoriousapparel

    So This plug-in is bogus…and I will be removing it from ALL of my sites, even the one where it mysteriously works just fine.   

    The FB button doesn’t show up, the twitter share is just a text link as well as the pinterest button. and they are smashed together like one word or 1 text link. also judging from a few of the comments below i’m not the only one with this problem and your lack of feedback to help resolve the issue is not cool. sucks because on the 1 site it does work for me it works great and is exactly what i’m looking for but i’m still uninstalling it because i feel it will eventually stop working correctly just like it does on the other sites. (and there should be no diffence between my sites as they all start from the same template and are merely modifed by images and size regulations)

    • Michael_Beacom

      I’m sorry that my free, open source plugin didn’t work for you.

  • http://www.amazingy.com Floris van Onna

    Great plugin. However, I can’t get it not to show on homepage. It would be great if we could just turn off the plugin for some pages.

    Thanks!

    • Michael_Beacom

      Well, that is supposed to be one of the features… but it depends on what content is on your homepage I suppose. I don’t really know why it isn’t working in this case, can you post a link or email me? michael dot beacom at gmail

  • Brian

    Hi Michael,

    I want to manually add the code of your plugin to my WordPress blog so I can insert the sharing buttons.

    Can the code be manually added and if it can, are you able to supply me with the code?

    Thanks,
    Brian

    • Michael_Beacom

      I don’t understand why you would want to do that. The whole point of the plugin is so that you don’t have to do that. The code is based on what is provided by the social networks, so if you really want to insert it manually, just go to each of them and get the code. But please explain why you want to insert it manually. If you just want to insert it to certain posts, use the shortcode.

  • ToxicityLevel

    Hi there! I’m using this on a Thesis theme and it shows up beautifully. My only problem is that when I attempt to pin something from a page or blog post — it doesn’t let me select an image. It merely pulls one at random — sometimes an image that isn’t even on the page anymore! How can I fix this? Or can I get some sort of workaround?

    http://www.katiemcclain.com/

  • Leo

    hi, i only see text links (and only twitter/pinterest) – and that’s despite having added the facebook app ID. am I missing something? sorry ’bout the n00b question.