[WordPress] 外掛分享: ShareToSocial – Social Media Share Buttons & Sharing Icons

首頁 › 外掛目錄 › ShareToSocial – Social Media Share Buttons & Sharing Icons
WordPress 外掛 ShareToSocial – Social Media Share Buttons & Sharing Icons 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
100+
安裝啟用
★★★★☆
4.6/5 分(5 則評價)
19 天前
最後更新
0%
問題解決
WordPress 5.8+ PHP 7.4+ v3.2.0 上架:2019-02-08

內容簡介

ShareToSocial 是一款簡單輕量的 WordPress 社交分享外掛,允許用戶在內容前後或自訂位置添加分享按鈕,支持多達 44 種社交網絡,並注重用戶隱私。

【主要功能】
• 支援 44 種社交分享網絡
• 可自訂按鈕顯示位置
• 提供浮動分享欄選項
• 使用內嵌 SVG 圖示
• 不追蹤訪客或設置 cookies
• 可控制按鈕顯示的標題與排列

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「ShareToSocial – Social Media Share Buttons & Sharing Icons」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

ShareToSocial is a simple, lightweight social sharing plugin for WordPress. Add share buttons before or after your content, display them in both places, or place them anywhere you like with a Gutenberg block, a widget, or the [sharetosocial] shortcode. An optional floating share bar is also available.
The plugin includes 40+ sharing networks and actions, including popular social networks, messaging services, bookmarking sites, developer communities, AI assistants, and built-in sharing tools.
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.
Built with privacy in mind — ShareToSocial does not track visitors or set cookies. Third-party sharing services are contacted only when a visitor chooses to use a share button.
Share networks
ShareToSocial currently supports 44 sharing networks and actions:

Social networks: Facebook, X (Twitter), LinkedIn, Pinterest, WhatsApp, Messenger, Telegram, Reddit, Threads, Bluesky, Tumblr, LINE, VK, Snapchat, Mastodon, Weibo, OK.ru, Mail.ru, QQ Zone, Douban, Kakao.

Sharing and bookmarking: Hacker News, Instapaper, Flipboard, Buffer, Xing, Digg, Meneame, Blogger, LiveJournal.

Messaging and device actions: Email, Copy Link, Native Share, Print, Viber, SMS.

AI assistants: ChatGPT, Gemini, Claude, Perplexity, Copilot, DeepSeek, Grok, Meta AI.

You can choose which networks are shown, remove the ones you do not need, and drag them into your preferred order.
Inline share buttons
Choose where inline share buttons appear:

Before your content
After your content
Before and after your content
Disabled for automatic placement

You can also control:

Left, centered, or right icon alignment
Share title and title text
Which networks show their names
Which public post types display buttons
Front page, blog index, and archive visibility
Exclude categories whose posts should not show buttons

Floating share bar
Enable an optional floating share bar with its own independent network selection and ordering.
Choose:

Left side
Right side
Bottom
Bottom sticky

Additional controls include:

Top offset
Hide on mobile toggle, default off
Custom screen-width breakpoint
Automatic hide/reveal while scrolling
Always-visible, hover, or icon-only labels
Independent network selection from inline buttons

When mobile hiding is enabled, you can choose the screen width below which the floating bar is hidden.
AI assistant sharing
Add AI assistant buttons that open supported AI services with a prompt asking the assistant to summarize the current page URL.
Supported AI assistants include:

ChatGPT
Gemini
Claude
Perplexity
Copilot
DeepSeek
Grok
Meta AI

AI assistant links use the URL formats currently supported by their respective services. Because these are third-party services, their URL-based prompt behavior may change independently of the plugin.
Design controls
Customize the appearance of both inline buttons and the floating bar.
Button styles:

Rounded
Square
Pill
Outline
Official Buttons
Round Text
Accent Border
Icons Only

Button sizes:

Small
Medium
Large
Extra Large

You can also control:

Spacing between buttons
Brand colors
One custom color for all buttons
Monochrome styling

Advanced controls
ShareToSocial includes additional controls for sharing behavior, performance, accessibility, metadata, tracking, custom CSS, and data management.
Share link behavior
Choose between:

Popup window
New tab/window

Performance
Optionally defer the plugin’s frontend script until the page has finished parsing.
Accessibility

Larger touch targets with a minimum 44×44px target
Screen-reader labels for icon-only buttons

Open Graph & Twitter Card tags
ShareToSocial can add Open Graph and Twitter Card metadata for supported singular content.
It can use:

The post title
A generated description
The featured image
The first image found in the content
A site-wide fallback image

If a supported SEO plugin is already generating the metadata, ShareToSocial skips its own tags to avoid duplicate Open Graph data.
UTM tracking
Optionally append UTM parameters to share URLs for analytics tracking.
utm_source is automatically set to the network name, while `utm_medium` and `utm_campaign` can be customized.

Custom CSS
Add your own CSS to fine-tune the appearance beyond the built-in design options.
Data control
Choose whether plugin settings and per-post overrides should be removed when the plugin is deleted.
A factory reset option is also available to restore all plugin settings to their defaults.
Per-post controls
Each supported post or page can have its own ShareToSocial settings.
From the ShareToSocial panel in the editor, you can independently set:

Inline Share Buttons: Default, On, or Off
Floating Share Bar: Default, On, or Off

This lets you override global settings for individual content without changing the site-wide configuration.
Gutenberg block
Add a ShareToSocial Share Buttons block anywhere in your content with the block editor.
Works just like the built-in Social Icons block:

Add networks with the + button, which opens WordPress’s standard block inserter.
Remove a network by selecting it and using the normal block controls.
Change any network’s platform from its Network panel in the sidebar.
When a block is first added, it shows the networks enabled in the plugin’s General settings.

Design controls (style, size, color, and gap) are available in the block’s sidebar and apply to every button in that block. Each block keeps its own design, independent of the plugin defaults.
The block renders the full share row on the frontend from its inner network blocks.
Widget
A ShareToSocial – Share Buttons classic widget is available to place share buttons in any widget area (sidebar, footer, and so on). The widget renders the inline share buttons and includes an optional title.
Shortcode
Use the [sharetosocial] shortcode to manually place inline share buttons anywhere shortcodes are supported.
Basic usage:
[sharetosocial]

You can also override the heading, networks, URL, and title:
[sharetosocial heading="Share this post" networks="facebook,linkedin,whatsapp" url="https://example.com/" title="My Page Title"]

Shortcode attributes:

heading — custom heading text
networks — comma-separated network keys
url — custom URL
title — custom share title

Style, size, gap, and color are controlled by the plugin settings and are not shortcode attributes.
The shortcode works independently of automatic content placement and can also be used in widgets or templates with do_shortcode().
Developer-friendly
ShareToSocial provides filters for developers who want to customize the generated output.
Customize a share SVG icon
Use the stsocial_share_svg_icon filter to modify or replace an individual share icon.
Example:
add_filter( 'stsocial_share_svg_icon', function( $icon, $network ) {
if ( 'facebook' === $network ) {
$icon = '...';
}

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 '

' . $output . '

';
}, 10, 2 );

Privacy and performance
ShareToSocial is designed to keep the frontend lightweight and privacy-friendly.

No tracking scripts
No cookies set by the plugin
No icon fonts
No external frontend libraries
No third-party assets required for the button interface
Local versioned CSS and JavaScript files
Minified production assets
Third-party sharing services are opened only after the visitor chooses to share

延伸相關外掛

文章
Filter
Mastodon