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

Cómo añadir una barra flotante para compartir en redes sociales en WordPress

Nota editorial: Ganamos una comisión de los enlaces de socios en WPBeginner. Las comisiones no afectan a las opiniones o evaluaciones de nuestros editores. Más información sobre Proceso editorial.

Muchos de ustedes nos han preguntado acerca de la barra social flotante que usamos en WPBeginner. En el pasado, nuestra respuesta era simplemente que se trataba de un plugin personalizado que hemos creado para nuestro sitio. Eso generalmente seguido de una pregunta ¿cuál es el mejor plugin de medios sociales que usted recomendaría? Lamentablemente, no había ninguno que cumpliera nuestros requisitos. Solo recomendamos lo que usamos o usaríamos. Después de mucho pensarlo y considerarlo, hemos decidido lanzar nuestra versión del plugin de la barra flotante de redes sociales para los usuarios de WPBeginner y la gran comunidad de WordPress. En este artículo, le mostraremos cómo añadir una barra social flotante horizontal en WordPress.

Ventajas

La mayoría de los plugins de medios sociales para WordPress están hinchados. En parte porque son compatibles con todo tipo de redes sociales. La otra parte es porque los scripts de medios sociales son intrínsecamente lentos. Bueno, hemos corregido ambos problemas en este plugin. En primer lugar, solo es compatible con las principales redes sociales: Twitter, Facebook, Google+, LinkedIn y Pinterest.

En segundo lugar, retrasamos la carga de los scripts sociales hasta que el usuario pasa el ratón por encima, para que el tiempo de carga inicial de la página sea lo más rápido posible. Antes, la gente se limitaba a poner marcadores de posición, pero nosotros hemos ido un paso más allá. Mostramos la versión en caché de la cuenta que se actualiza en un intervalo que usted decida (por defecto 30 minutos). Así, cuando el usuario ve tu barra de compartidos, tiene exactamente el mismo aspecto que si los scripts de medios sociales estuvieran activados / activos.

En pocas palabras, esta barra social flotante nos permite maximizar nuestra visibilidad en los medios sociales sin afectar a la velocidad de nuestro sitio.

Cómo añadir la barra flotante de redes sociales a su sitio web

Lo primero que debe hacer es instalar y activar el plugin Floating Social Bar. Una vez activado, el plugin añadirá un nuevo menú en Ajustes ” Floating Social Bar.

Floating Social Bar Admin Screeen

Para añadir la barra social flotante a las entradas de tu blog, simplemente arrastra y suelta los botones sociales disponibles en el área de servicios sociales activados en el orden en el que quieras mostrarlos. A continuación, añade tu ID de Twitter en el campo con el siguiente formato wpbeginner. Recuerda no incluir el símbolo @.

El título de la barra de compartir solo se mostrará si hay espacio suficiente para ello. Si utilizas todos los botones para compartir, lo más probable es que no puedas poner el título debido a limitaciones de anchura.

Usted puede elegir los tipos de entradas que desea añadir a la barra flotante de compartir como entradas, páginas, o cualquier otro tipo de contenido personalizado.

El último campo es el intervalo de caché que es lo que permite que este plugin sea el más eficiente. Le recomendamos que no cambie este número a menos que sepa lo que está haciendo. Así es como funciona. Por defecto, este plugin obtiene el recuento de medios sociales de las APIs y lo almacena en una caché durante 30 minutos. Solo obtiene el recuento de la entrada cuando se carga para reducir la carga del servidor. Por ejemplo, si nadie visita tu entrada de hace dos años, entonces este plugin no gastará tus preciosos recursos del servidor para esa entrada. Solo obtiene el recuento cuando un usuario visita la entrada o página.

Eso es todo. Ahora cuando vayas a la página de tu entrada, habrá una barra horizontal flotante para compartir.

Consigue Floating Social Bar para tu sitio. Es gratis, y por favor, háganos saber sus pensamientos. Hemos probado este plugin durante más de un año en WPBeginner, pero siempre apreciamos la respuesta / comentario / opinión. Para ayudarnos, puedes ir a nuestra página WordPress.org para Floating Social Bar y dejarnos una valoración / puntuación.

Esperamos que este artículo te haya ayudado a conseguir la codiciada barra social flotante para compartir en tu sitio WordPress. Háganos saber su opinión dejando un comentario a continuación. Por último, no olvides ayudarnos corriendo la voz.

Descargo: Nuestro contenido está apoyado por los lectores. Esto significa que si hace clic en algunos de nuestros enlaces, podemos ganar una comisión. Vea cómo se financia WPBeginner , por qué es importante, y cómo puede apoyarnos. Aquí está nuestro proceso editorial .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

El último kit de herramientas de WordPress

Obtenga acceso GRATUITO a nuestro kit de herramientas - una colección de productos y recursos relacionados con WordPress que todo profesional debería tener!

Reader Interactions

124 comentariosDeja una respuesta

  1. 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!

  2. 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!

  3. 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

  4. 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.)

  5. 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.

  6. 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

  7. 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.

  8. 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?

  9. 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!

  10. 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?

  11. 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!

  12. 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.

      Administrador

  13. 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.

  14. 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!

  15. 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.

Responder a Feyi C Cancelar respuesta

Gracias por elegir dejar un comentario. Tenga en cuenta que todos los comentarios son moderados de acuerdo con nuestros política de comentarios, y su dirección de correo electrónico NO será publicada. Por favor, NO utilice palabras clave en el campo de nombre. Tengamos una conversación personal y significativa.