ShareToSocial – Social Share Buttons & Sharing Icons

By Jumedeen khan

★ 4.6/5 (5 ratings)100+ active installationsVersion 3.2.1

Add clean, fast social share buttons to your WordPress site. 40+ sharing icons, floating share bar, Gutenberg block, widget and shortcode.

Description

ShareToSocial adds share buttons to your WordPress website in a few clicks. Pick the social media networks you want, choose where they appear, and you are done.

Everything is fast and lightweight: all icons are inline SVGs (no icon fonts, no third-party libraries), and the plugin is free to use and easy to customize.

Main Features

40+ social networks and actions, all in one list you can reorder:

  • Social media: Facebook, X (Twitter), LinkedIn, Pinterest, WhatsApp, Messenger, Telegram, Reddit, Threads, Bluesky, Tumblr, LINE, VK, Snapchat, Mastodon etc.
  • Bookmarking: Hacker News, Instapaper, Flipboard, Buffer, Xing, Digg, Meneame, Blogger, LiveJournal.
  • Messaging & device: Email, Copy Link, Native Share, Print, Viber, SMS.
  • AI assistants: ChatGPT, Gemini, Claude, Perplexity, Copilot, DeepSeek, Grok, Meta AI.

Where social share buttons appear

Place buttons in four ways, or combine them:

  • Inline — automatically before, after, or on both sides of your content.
  • Floating bar — a side or bottom share bar with its own network list and position.
  • Block — a Gutenberg block you can drop anywhere in any post or page.
  • Widget — use the block widget, the classic widget, or any widget area.
  • Shortcode — the [sharetosocial] shortcode for any template or content.

In the settings, set which networks show, their order, the button alignment, and which post types and archives get buttons.

Floating bar controls include position, top offset, mobile hiding with a custom breakpoint, auto-hide while scrolling, and label style (always, on hover, or icon-only).

Design controls

Make every button look the way you want:

  • Styles: Rounded, Square, Pill, Outline, Official Buttons, Round Text, Accent Border, Icons Only.
  • Sizes: Small, Medium, Large, Extra Large.
  • Spacing between buttons.
  • Brand colors, one custom color, or a neutral monochrome look.
  • Custom CSS on top of the built-in options.

AI assistant sharing

Add buttons for ChatGPT, Gemini, Claude, Perplexity, Copilot, DeepSeek, Grok, and Meta AI. Each opens its service with a prompt asking it to summarize the current page.

These links follow the formats those services support, which can change on their end at any time.

Advanced controls

  • Link behavior — popup window or new tab.
  • Performance — defer the frontend script until the page finishes parsing.
  • Accessibility — larger 44×44 targets and screen-reader labels for icon-only buttons.
  • Open Graph & Twitter Cards — add metadata using the post title, a description, the featured or content image, or a fallback. If a supported SEO plugin already outputs these tags, ShareToSocial skips its own to avoid duplicates.
  • UTM tracking — append UTM parameters to share links, with the network name as utm_source.
  • Data control — reset all settings in one click, or choose whether they are removed when the plugin is deleted.

Per-post controls

Each post and page can override its own Inline Share Buttons and Floating Share Bar to Default, On, or Off from the editor panel — without touching the global settings.

Developer-friendly

Customize the share button SVG icon:

add_filter( 'stsocial_share_svg_icon', function( $icon, $network ) {
    // Modify or replace an icon.
    return $icon;
}, 10, 2 );

Customize the share buttons output:

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

Gutenberg Blocks

  • ShareToSocial Share Buttons — a share row made of individual network buttons.
  • ShareToSocial Network Button — a single button inside a ShareToSocial Share Buttons block.

Installation

  1. In your WordPress admin, go to Plugins → Add New, search for ShareToSocial, and install it. Or upload the plugin folder to /wp-content/plugins/.
  2. Activate the plugin.
  3. Go to Settings → ShareToSocial.
  4. Pick your networks and set placement, floating bar, design, and advanced options.
  5. Add buttons with the block, the widget, or the [sharetosocial] shortcode.

FAQ

How do I show the buttons?

Add the ShareToSocial Share Buttons block, drop the Share – Buttons widget in a sidebar, or use the [sharetosocial] shortcode. You can also let the plugin add them automatically before or after your content.

Can the inline buttons and floating bar use different networks?

Yes. Each has its own network list and order.

Can I set buttons for a single post?

Yes. In the editor, the ShareToSocial panel sets Inline Share Buttons and Floating Share Bar to Default, On, or Off for that post only.

Do I need a third-party service?

No. The buttons and icons are fully local. A sharing service is opened only when a visitor clicks a button.

Does it track my visitors?

No. ShareToSocial does not track visitors or set cookies.

Is it GDPR / cookie-consent friendly?

The buttons are plain links with no tracking scripts, so you are not required to show a consent banner. If your policy still calls for one, the Advanced settings include an optional consent gate that hides the buttons behind a “Show share buttons” prompt until the visitor chooses to reveal them. A cookie-consent plugin can release them directly through the stsocial_consent_granted filter.

Will it clash with my SEO plugin?

No. ShareToSocial skips its own Open Graph and Twitter Card tags when a supported SEO plugin already outputs them.

Does it depend on my theme?

No. It uses its own markup and styles, so it works with any theme.

Can I customize the look?

Yes. Eight button styles, four sizes, adjustable spacing, brand or custom colors, monochrome, and your own CSS.

Can I hide the floating bar on phones?

Yes. Turn on mobile hiding and set the screen width below which the bar is hidden.

What happens to my settings on delete?

They are kept by default. Enable the data deletion option in Advanced settings to remove them on uninstall.

Screenshots

Changelog

3.2.1

  • Fixed the native share button rendering a duplicate class.
  • Added an RSS network to the sharing list.
  • Added a cookie-consent (GDPR) gate that hides the buttons until the visitor chooses to show them.
  • Added noreferrer to share links so the referrer is never sent.
  • Share buttons fall back to a new tab when a popup blocker blocks the popup.

3.2.0

  • Added a Gutenberg block with built-in + network picking and per-block design controls.
  • Added a sidebar widget with an optional title.
  • Added exclude-by-category for automatic buttons.
  • Modular, re-runnable ShareToSocial.init() for page-builder and AJAX content.
  • Copy Link fallback when the Clipboard API is unavailable.
  • Fixed duplicate per-post override logic.
  • Native share works on dynamically added buttons.
  • target="_blank" only on real web URLs.
  • One mobile-hide toggle with a custom width breakpoint (off by default).

3.1.0

  • Added support for 40+ sharing networks and actions.
  • Added AI assistant sharing for ChatGPT, Gemini, Claude, Perplexity, Copilot, DeepSeek, Grok, and Meta AI.
  • Added new button styles, sizes, and icon alignment options.
  • Added new floating-bar positions.
  • Added Open Graph and Twitter Card metadata support.
  • Added SEO plugin detection to avoid duplicate metadata.
  • Added featured image, content image, and fallback image handling.
  • Added UTM tracking for share links.
  • Added custom CSS support and accessibility improvements.
  • Expanded sharing, performance, and data-control settings.
  • Updated the settings screen and live preview.

3.0.1

  • Sanitized post meta nonce before verification.
  • Fixed per-post floating share bar overrides.
  • Fixed native Share button visibility on unsupported devices.
  • Improved asset loading for shortcode, widget, and template usage.
  • Confirmed compatibility with WordPress 7.1.

3.0.0

  • Rebranded the plugin as ShareToSocial – Social Share Buttons.
  • Replaced the icon font with inline SVG icons.
  • Added new sharing networks, Copy Link, Messenger, Telegram, Reddit, and native device sharing.
  • Added the floating share bar with network selection, ordering, positioning, and responsive controls.
  • Added the [sharetosocial] shortcode.
  • Added post type selection, button styles, sizes, colors, and spacing.
  • Added content exclusions and per-post overrides.
  • Added popup and new-tab sharing options.
  • Added accessibility options and developer filters.
  • Redesigned the settings screen with tabs, drag-and-drop ordering, and a live preview.
  • Added one-click reset to default settings.

2.0.1

  • Minor fixes and stability improvements.

2.0

  • Redesigned share button styles.
  • Reduced the bundled Font Awesome icons.
  • Improved floating share bar defaults.
  • Confirmed compatibility with WordPress 5.4.

1.0.5

  • Removed the discontinued Google+ share button.

1.0.4

  • General PHP code improvements.

1.0.3

  • Renamed the plugin.

1.0.2

  • Improved the Pinterest share button.

1.0.1

  • General code improvements.

1.0

  • Initial release.