ShareToSocial – Social Share Buttons

ShareToSocial – Social Share Buttons

Details
View on WordPress

ShareToSocial is a modern, simple and lightweight social sharing plugin that adds social media share buttons to your posts and pages, along with an optional floating share bar.

This plugin supports Facebook, X (Twitter), LinkedIn, Pinterest, WhatsApp, Messenger, Telegram, Reddit, Email, Copy Link, and your device’s native Share sheet.

All social media icons are included as inline SVG icons, and the plugin does not load icon fonts, external libraries, tracking scripts, or third-party assets.

Frontend styles and scripts are loaded as versioned local files with minified production builds, helping the plugin work smoothly with caching and performance optimization tools.

Built with privacy in mind — Share To Social does not track visitors, set cookies, or make third-party requests until a visitor chooses to share.

Two ways to share

  • Inline share buttons — display before your content, after it, both, or disable automatic placement entirely.
  • Floating share bar — pin buttons to the left or right side of the screen, with independent network selection, ordering, top offset, and responsive visibility controls.

Design controls

Choose from three button styles — Rounded, Square, and Pill — along with three sizes, adjustable spacing, and three color modes:

  • Brand colors — use each network’s official color.
  • Custom color — use one color for all buttons.
  • Monochrome — use a clean, neutral appearance.

Show network labels individually for inline buttons, and choose whether floating-bar labels are always visible, shown on hover, or hidden.

Developer-friendly

ShareToSocial includes filters for customizing SVG icons and the final share buttons output.

Customize a share SVG icon

Use the stsocial_share_svg_icon filter to modify or replace an individual share button SVG icon.

Example:

add_filter( 'stsocial_share_svg_icon', function( $icon, $network ) {
    if ( 'facebook' === $network ) {
        $icon = '<svg>...</svg>';
    }

    return $icon;
}, 10, 2 );

Customize the share buttons output

Use the stsocial_share_buttons_output filter to modify the final generated share buttons HTML.

Example:

add_filter( 'stsocial_share_buttons_output', function( $output, $args ) {
    return '<div class="my-share-buttons">' . $output . '</div>';
}, 10, 2 );

Built for real sites

  • Choose which public post types display share buttons.
  • Exclude specific posts or pages by ID.
  • Control inline share buttons and the floating share bar individually for specific posts or pages.
  • Optionally hide buttons on the front page, archives, and blog index.
  • Give inline buttons and the floating bar their own independent network selection and drag-and-drop ordering.
  • Use the [sharetosocial] shortcode to place share buttons anywhere.
  • Open share links in a popup window or a new tab.
  • Optional rel="nofollow" support.
  • Larger touch targets and screen-reader text for better accessibility.
  • Optionally defer the plugin’s frontend script.
  • Tabbed settings with an instant live preview.
  • Reset all plugin settings with one click.

Details

Plugin code:
social-media-share-buttons
Plugin version:
3.0.1
Outdated:
No
WP version:
5.8 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.1
Total installations:
100
Last updated:
2026-08-22
Rating:
Times rated:
5
share-buttons
share-icons
social-media
social-share
social-sharing