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.
Choose from three button styles — Rounded, Square, and Pill — along with three sizes, adjustable spacing, and three color modes:
Show network labels individually for inline buttons, and choose whether floating-bar labels are always visible, shown on hover, or hidden.
ShareToSocial includes filters for customizing SVG icons and the final share buttons output.
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 );
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 );
[sharetosocial] shortcode to place share buttons anywhere.rel="nofollow" support.