Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Obtenez une boîte de partage flottante comme WPBeginner – Smart Sharing v1.1

Vous avez probablement remarqué que WPBeginner a une boîte de partage flottante sur toutes les publications. Nous avons publié une extension il y a plus d’un an, connue sous le nom de Smart Sharing. L’extension Smart Sharing vous permet de maximiser la puissance de votre lectorat actuel pour obtenir plus de votes dans les réseaux sociaux. Cette extension ajoute une boîte de défilement avec des icônes de réseaux sociaux sur les pages de publication unique, de sorte que lorsque votre lecteur défile vers le bas de la page, il verra continuellement le bouton de partage. Nous appliquons au marketing la théorie du renforcement positif de B.F. Skinner. Votre compte se sentira obligé de partager la publication, ce qui en retour vous aidera à obtenir plus de trafic, de prospects et de conversions grâce aux réseaux sociaux. Votre contenu de qualité obtiendra l’exposition qu’il mérite, et cela créera également une communauté saine pour votre marque dans les réseaux sociaux.

Il y avait un bogue majeur dans l’extension qui aurait dû être corrigé depuis longtemps. Dans cette version rapide v1.1, nous avons corrigé le bogue majeur, et fait plusieurs mises à jour. Qu’est-ce qui est ajouté dans cette nouvelle version ?

Corrigé d’un bogue majeur

Tout d’abord, nous avons corrigé le problème de la boîte flottante qui s’étendait sur le contenu. Auparavant, la boîte était jointe à la fenêtre du navigateur plutôt qu’à votre contenu. Ainsi, lorsque l’utilisateur/utilisatrice d’une petite résolution ou d’une petite fenêtre ouvrait votre site, la boîte flottait sur le contenu. Dans cette nouvelle version, la boîte flottante ne fera jamais cela. Elle est jointe à votre contenu, de sorte que si la fenêtre est petite, elle sera simplement masquée. Afin de commander cette fonctionnalité, nous avons dû nous débarrasser de la mis en avant qui vous permettait de choisir le côté du contenu où vous vouliez que la boîte flottante se trouve. Maintenant, il est automatiquement à gauche, tout comme WPBeginner.

Boutons de réseaux sociaux mis à jour

Lorsque nous avons lancé Smart Sharing Plugin, nous n’avions pas de bouton officiel pour tweeter ou aimer Facebook. Nous utilisions donc beaucoup de scripts tiers non officiels tels que Tweetmeme, FBShare, et autres. Dans cette nouvelle version, nous avons remplacé le widget Tweetmeme par le bouton retweet officiel de Twitter. Nous avons également remplacé le script imprécis FBShare par le bouton Like officiel (qui est également accompagné d’un bouton Send).

Toutes les facultés précédentes telles que surcharger les options pour les publications uniques, sélectionner quel bouton s’affiche sur quelle publication, personnaliser l’apparence, etc. sont toujours présentes.

Cette extension est exclusive pour nos abonnés/abonnées à la newsletter.

Télécharger Smart Sharing Plugin

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

51 commentairesLeave a Reply

  1. Hi guys, I have installed the plugin successfully but it appears twice on my page. One on my left, which is where I want it and it scrolls just fine and the other on the right and it’s static. I don’t have any other social media plugin installed so how can I correct this? Thanks for your time!

  2. Hi guys, and thanks for your work! Excellent plugin.

    Is possible to show the box in the home page (not only on page-single post)?

    Thanks in advance, Im looking at the plugin code but im stucked (beginner) ;)

  3. HI there … GR8 looking and functional plugin.. I just would like a little help getting it straight. I have it set up on mission0ps.com and changed the background box colour. Now the plugin doesn’t scroll. I don’t have a FB like button installed.. any ideas?

  4. Hello

    The plugin is really nice, and helps in more sharing, but the plugin is breaking all the LightBox plugins I use.

    Is there any way to correct this? I want to use lightbox, but can’t leave Smart Sharing too.

    Please Help

  5. Hello, this plugin is not working. Actually, it is working, but I get this plugin twice on the site; at the top, and left (where he need to be). I tested it in three templates, and it is always same… My blog is skiingforever.com , please help!!

    • @DankoPuskaric This usually happens for two reasons: Either because your theme has two calls to wp_head(); or that you are using some sort of FB like plugin for WordPress.

        • @DankoPuskaric Was this our facebook open graph meta data plugin? or someone else’s?

        • @wpbeginner hehe, yes it was your plugin: Simple plugin that adds Facebook Open Graph Meta information in WordPress themes to avoid no thumbnail issue, wrong title issue, and wrong description issue.Do you have some solution?

        • @DankoPuskaric Will release an update either today or tomorrow. Then will update you here.

  6. @ChristianPillaca in plugin u have a space where u can add css code for google+1

    EX:

    <div id=”googleplus1″>

    googleplugincodeEXAMPLE

    </div>

  7. @HicksNewMedia You can also add it to the single.php page in the loop just before <?php the_content();?>., or whichever page your theme uses for posts.

  8. Ha right after I post this I added if_page next to if_single and I had it posting to the pages. It did mess up my sliders so I will have to visit it another day.

  9. This is a great floating share bar. I agree with the others that the bouncing is not for everyone but that is fixed easy enough with CSS. Since I have never tried to figure out PHP I am going to have a more difficult time getting it to post on pages but I am sure I will figure it out.

    Thank you for all the work you do.

  10. @gdradu or you can use CSS to overwrite the settings of it. something like this:

    #sharepost { position: fixed; margin-top: 0!important; top: 50%;}

    it will help vertical center the box.

  11. @OmarKattan what theme do you have?

    If u have thesis remove that line and uncheck jquery scrips from design options > Home Page Display Options > JavaScript. and

    design options > JavaScript > Sitewide JS Libraries.

    On my site is working like here. It stays on middle of the site.

    And sorry for my english again, if i wrong with something :)

  12. I’ve found the solution for plugin to stay fixed like on this site.

    1. Search this code on Plugin editor.

    add_action(‘wp_head’, ‘ss_css’);function ss_css(){ if (is_single()) {?><script type=’text/javascript’ src=’http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2′></script><script type=”text/javascript”> $(function() { var offset = $(“#sharepost”).offset(); var topPadding = <?php if (get_option(‘top_distance’)) { echo get_option(‘top_distance’); } else {echo ’20’; } ?>; $(window).scroll(function() { if ($(window).scrollTop() > offset.top) { $(“#sharepost”).stop().animate({ marginTop: $(window).scrollTop() – offset.top + topPadding }); } else { $(“#sharepost”).stop().animate({ marginTop: 20 }); }; }); }); </script>

    2. Remove this line:

    else { $(“#sharepost”).stop().animate({ marginTop: 20

    And Done.

  13. i’ve found the solution.

    1. Search this code:

    add_action(‘wp_head’, ‘ss_css’);function ss_css(){ if (is_single()) {?><script type=’text/javascript’ src=’http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2′></script><script type=”text/javascript”> $(function() { var offset = $(“#sharepost”).offset(); var topPadding = <?php if (get_option(‘top_distance’)) { echo get_option(‘top_distance’); } else {echo ’20’; } ?>; $(window).scroll(function() { if ($(window).scrollTop() > offset.top) { $(“#sharepost”).stop().animate({ marginTop: $(window).scrollTop() – offset.top + topPadding }); } else { $(“#sharepost”).stop().animate({ marginTop: 20 }); }; }); }); </script>

    2. Remove this line.

    else { $(“#sharepost”).stop().animate({ marginTop: 20 });

  14. @wpbeginner @HicksNewMedia Ok but how do we make it not jittery? If people are uninstalling your plugin because they dont like that doesn’t that mean there should be some sort of fix for it? We like the WPBeginner floating scheme. There five other people that commented about the same thing.

  15. @HicksNewMedia @SethA.Frank It should never show up on your homepage. Because there is a conditional tag is_single << The jitterly scrolling is a JS that we are using which was something we used per our client’s request.

    Soon, WPBeginner will be using the very same effect as well.

  16. @HicksNewMedia @SethA.Frank I really hope we can get a fix or a reason why it does it because the one on this page works exactly like I would like mine too. Not jittery at all

  17. @SethA.Frank I had to uninstall the plugin for this exact reason – jittery scrolling and appearing at multiple locations on the homepage.

    Hopefully they’ll release an update soon

  18. I am in the same situation. I have it up an working but its not smooth like on this site. It’s all jiterry when you scroll. Help!

  19. Having a problem in displaying the share box on my site, I’m using WordPress 3.1.3 and Convergence template. What seems to be the problem?

  20. I really like the concept, and the execution is great except that I’d rather have it sit still like on wpbeginner instead of bouncing around whenever a user scrolls up or down.

    Is there a quick way for me to change that?

  21. I had problems with trying to place it on the right side of my blog’s page and I agree with the comment above that the floating is not smooth. It jumps constantly every time you scroll down. I went back to the original version for this new one seemed to have more bugs.

  22. Hi,

    Very nice plugin! Previously i paid to get such addon developed for each of my plugins, but now i don’t have to!

    Regarding it’s position, what ever i write in here:
    Icons Distance From The Edge

    It’s showing up at the same place?

    Any idea what is going on?

    Thanks!

  23. I delete the older version and upload the new version. Isit the correct way? But I tried many times and still not working.. Now I using the old version again. Pls help me!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.