Wielu z was pytało nas o pływający pasek udostępniania społecznościowego, którego używamy na WPBeginner. W przeszłości odpowiadaliśmy po prostu, że jest to własna wtyczka, którą stworzyliśmy dla naszej witryny. Po tym zwykle następowało pytanie, jaka jest najlepsza wtyczka do mediów społecznościowych, którą byś polecił? Niestety, nie było ani jednej, która spełniałaby nasze standardy. Polecamy tylko to, czego sami używamy lub używalibyśmy. Po wielu przemyśleniach i rozważaniach postanowiliśmy wydać naszą pływającą wtyczkę paska udostępniania społecznościowego dla użytkowników WPBeginner i większej społeczności WordPress. W tym artykule pokażemy, jak dodać poziomy pływający pasek udostępniania społecznościowego w WordPress.
Korzyści
Większość wtyczek mediów społecznościowych dla WordPressa jest nadęta. Częściowo dlatego, że obsługują wszystkie rodzaje sieci społecznościowych. Druga część wynika z faktu, że skrypty mediów społecznościowych są z natury powolne. W tej wtyczce poprawiliśmy oba te problemy. Po pierwsze, obsługujemy tylko główne sieci społecznościowe: Twitter, Facebook, Google+, LinkedIn i Pinterest.
Po drugie, opóźniamy wczytywanie skryptów społecznościowych, dopóki użytkownik nie najedzie na nie myszą, więc początkowy czas wczytywania twojej strony jest najszybszy z możliwych. W przeszłości ludzie po prostu umieszczali obrazki zastępcze, ale my poszliśmy o krok dalej. Pokazujemy podręczną wersję zliczania, która odświeża się w wybranym przez Ciebie odstępie czasu (domyślnie 30 minut). Tak więc, gdy użytkownik widzi twój pasek udostępniania, wygląda on dokładnie tak samo, jak gdyby skrypty mediów społecznościowych były włączone.
Mówiąc prościej, ten pływający pasek społecznościowy pozwala nam zmaksymalizować widoczność w mediach społecznościowych bez wpływu na szybkość witryny.
Jak dodać pływający pasek społecznościowy na twojej witrynie?
Pierwszą rzeczą, którą musisz zrobić, to zainstalować i włączyć wtyczkę Floating Social Bar. Po włączaniu wtyczka utworzy nowe menu w sekcji Ustawienia „ Pływający pasek społecznościowy.
Aby dodać pływający pasek udostępniania społecznościowego do twoich wpisów na blogu, po prostu przeciągnij i upuść dostępne przyciski społecznościowe w obszarze włączonych usług społecznościowych w kolejności, w jakiej chcesz je wyświetlić. Następnie dodaj swój identyfikator twitter w polu w następującym formacie wpbeginner. Pamiętaj, aby nie dodawać symbolu @.
Tytuł paska udostępniania pojawi się tylko wtedy, gdy jest na niego wystarczająco dużo miejsca. Jeśli używasz wszystkich przycisków udostępniania, istnieje prawdopodobieństwo, że nie możesz uzyskać tytułu z powodu ograniczeń szerokości.
Możesz wybrać typy wpisów, do których chcesz dodać pływający pasek udostępniania społecznościowego, takie jak wpisy, strony lub dowolny inny niestandardowy typ treści.
Ostatnim polem jest interwał pamięci podręcznej, który pozwala tej wtyczce być najbardziej wydajną. Zalecamy, aby nie zmieniać tej liczby, chyba że wiesz, co robisz. Oto jak to działa. Domyślnie ta wtyczka pobiera liczbę mediów społecznościowych z interfejsów API i przechowuje ją w pamięci podręcznej przez 30 minut. Pobiera liczbę wpisów dopiero po ich wczytywaniu, aby zmniejszyć obciążenie serwera. Na przykład, jeśli nikt nie przejdzie na twój dwuletni wpis, to ta wtyczka nie zmarnuje cennych zasobów serwera dla tego wpisu. Pobiera ona dane tylko wtedy, gdy użytkownik przejdzie na wpis lub stronę.
To wszystko. Teraz, gdy przejdziesz do strony twojego wpisu, pojawi się poziomy pływający pasek udostępniania.
Pobierz Floating Social Bar dla twojej witryny. To nic nie kosztuje i daj nam znać, co o tym myślisz. Testowaliśmy tę wtyczkę przez ponad rok na WPBeginner, ale zawsze doceniamy uwagi. Aby nam pomóc, możesz przejść do naszej strony WordPress.org dla Floating Social Bar i zostawić nam ocenę.
Mamy nadzieję, że ten artykuł pomógł ci uzyskać upragniony pływający pasek udostępniania społecznościowego na twojej witrynie WordPress. Daj nam znać, co o tym myślisz, zostawiając komentarz poniżej. Na koniec, nie zapomnij nam pomóc, rozpowszechniając informacje.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
zak says
What social media plugin do you use on this site? Because it looks different from you floating social share bar?
WPBeginner Support says
Hi zak,
Yes, it is written specifically for WPBeginner.
Administrator
Stephanie says
How do you add the sharing buttons to the bottom of the post instead of the top?
Thanks
Ralph Eastwood says
I’ve just installed the plugin. Looks nice. Is there a way to have to bar at the bottom of the post? It seems better sense to have it there. People are going to share a post once they’ve read it and think there’s value – I don’t want to rely on them scrolling all the way back to the top just to share!
Laura says
I have installed, activated and added Facebook to the 'enabled social services’ box. I don’t have a Twitter user account so left that part blank. I saved the settings but the Facebook tab does not appear on my website! Did I miss something? Thanks
sham says
My social count is back to zero after migrate to HTTPS. How to fix this?
Alan says
Your instructions say, „Next, add your twitter ID in the field …”
I do not have a Twitter account myself. Can I not use this plugin without joining Twitter? (I am on Facebook and LinkedIn.)
Editorial Staff says
Don’t enable the twitter share button or simply leave it blank. It allows you to get more followers if you enter the twitter ID there.
Administrator
Siska says
I would like to use this pluging, but i can´t find a way to change the bakground colour…Mi web it´s not white.
Siska says
I would like to use this pluging, but i can´t find a way to change the bakground colour…Mi web it´s not white
WPBeginner Support says
Try adding this in your theme’s stylesheet:
1-click Use in WordPress
Administrator
Jean says
Thanks for this! How would you go about to tracking the shares as a goal in Google Analytics?
Elisa says
Error when pressing the button google +1. I get a red triangle and not resolve it.
Help !!!
Rick says
How can I turn off the display showing the number of times it has been shared? I do not want the count of shares to be shown.
Rebecca says
Hi, nice plugin. I’m having an issue though, when I use the „pin it” button, it crops the photo. How can I avoid that?
Skwty says
Just wanted to give a heads up that your Floating Social Bar plugin was causing issues with my WP-Bold theme. It would remove the excerpt from the widget that I used to display related content in the sidebar. The title was there, but only on the single.php would the excerpt disappear. Solostream support mentioned that I should say something. I switched to another plugin because of it, but would much rather use the Floating Social Bar.
Thanks!
Zomi Daily says
Can you please include Facebook Share button, please?
Jon Brown says
Are you still planning to release a version that includes comment counts like this site does? Even if not ready for release is that code public?
Jorge says
Hi! Thanks for the great plugin. I have some questions when people press like or +1 do they share the post in my blog too? How can people share my content from the social bar? What is the capital of North Dakota
Thanks again!
Julius says
Great plugin, but unfortunately it consumes lots of resources. P3 plugin shows that it consumes 51% of all my plugins (I have 12 plugins).
WPBeginner Support says
We use it on our own sites and we are very concious about page speed. As for P3 plugin, the test results can be affected by many factors such as other services running on your server, if you are on a shared server, this will also affect results.
Administrator
Urmet says
Great plugin – I would like to know one thing – can I have it this way that the counter loads immediately – like you have it on your own page – sharing numbers are visible even if I am not hovering over the plugin.
Haider says
Great Plugin Indeed!
I finally activated and modified it a little to suit my theme
I have a few queries:
1. Do you plan to include the new facebook share button along with the like button ? Please consider this.
2. Won’t it be better to handle styling with a separate CSS file rather than inline CSS ? A lot of premium themes have option for custom CSS which is added to the header; but that doesn’t work in this case. I had to modify the plugin file to change the styles.
Thank you so much for such an awesome product!
Jenn Marie says
Hi there! From one high-quality person to another: I see you. This plugin rocks, and I suspect it’s due to the meticulousness I see on all your stuff!
One question: any idea why the bar is not sticky for me on iPhone (iOS7)? I’m using Point, a responsive theme. Have tried disabling other social plugins.