[WordPress] 外掛分享: ShareToSocial – Social Share Buttons

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

內容簡介

ShareToSocial 是一款現代化、簡單且輕量的社交分享外掛,能為您的文章和頁面添加社交媒體分享按鈕,並提供可選的浮動分享欄。此外掛專注於隱私,並不追蹤訪客或設置 cookies。

【主要功能】
• 支援多種社交媒體平台分享
• 可選擇內嵌或浮動分享按鈕
• 三種按鈕樣式與顏色模式
• 開發者友好的自訂過濾器
• 獨立控制每篇文章的分享按鈕
• 支援 [sharetosocial] 短碼

外掛標籤

開發者團隊

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

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

原文外掛簡介

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 = '...';
}

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 );

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.

延伸相關外掛

文章
Filter
Mastodon