跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

SGS Social Sharing Buttons

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

SGS Social Sharing Buttons

由 Adebowale Adekoya 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

SGS Social Sharing Buttons is the essential plugin for any WordPress site looking to enhance its social media presence and engagement. This lightweight plugin integrates seamlessly into your website, adding a set of fixed, aesthetically pleasing social media sharing buttons. These buttons enable your visitors to effortlessly share your content across multiple social media platforms, thereby increasing your reach and driving more traffic to your site.

Key Features

  • Admin Settings Page: Customize which post types, networks, position, size, and animations are used — all from a clean settings screen under Settings → SGS Sharing Buttons.
  • Shortcode Support: Place sharing buttons anywhere in your content with [sgs_ssb].
  • Print Button: Includes a print icon so visitors can easily print your content.
  • 9 Social Platforms: WhatsApp, Facebook, X (Twitter), LinkedIn, Telegram, Pinterest, Reddit, Email, and Print.
  • Dark Mode Support: Automatically adapts to the visitor’s prefers-color-scheme: dark setting.
  • RTL Language Support: Full right-to-left compatibility out of the box.
  • Accessible: All buttons include proper aria-label attributes, focus indicators, screen-reader-friendly SVGs, and respects prefers-reduced-motion.
  • Zero Frontend JavaScript: The plugin ships no JavaScript — everything is server-rendered HTML and CSS.
  • No Tracking: The plugin does not track user data, ensuring privacy and compliance with data protection regulations.
  • Developer Friendly: Four filter hooks allow full customization of output, networks, link attributes, and display conditions.
  • AMP Compatible: Fully compatible with Accelerated Mobile Pages (AMP).
  • Responsive Design: Adapts perfectly to all screen sizes — fixed sidebar on desktop, bottom bar on mobile.
  • Lightweight and Fast: Minimal impact on page load times thanks to efficient coding and the absence of JavaScript.

Developer Filters

  • sgs_ssb_display_condition — Override whether the buttons appear (bool).
  • sgs_ssb_networks — Add, remove, or reorder social networks (array).
  • sgs_ssb_button_atts — Customize HTML attributes on each button link (array).
  • sgs_ssb_buttons_html — Filter the complete HTML output before rendering (string).

Configuration

After activation, the sharing buttons appear automatically on posts and pages. To customize:

  1. Go to Settings → SGS Sharing Buttons in your WordPress admin.
  2. Choose which post types display the buttons.
  3. Select which social networks are enabled.
  4. Pick a position (left or right), button size, and whether the shake animation is active.
  5. Click Save Changes.

You can also place the buttons inside post content using the [sgs_ssb] shortcode.

Support

For support and further inquiries, please contact the plugin developer.

Credits

Developed by Adebowale Adekoya

安裝方式

  1. Log in to your WordPress admin area.
  2. Go to “Plugins → Add New” from the left-hand menu.
  3. In the search box, type “SGS Social Sharing Buttons”.
  4. From the search results, locate “SGS Social Sharing Buttons” and click “Install Now”.
  5. Click “Activate Plugin” to activate it.
  6. Visit “Settings → SGS Sharing Buttons” to customize the display.

常見問題集

Does it support Accelerated Mobile Pages (AMP)?

Yes, it perfectly works on both AMP and non-AMP WordPress site pages.

Is the plugin mobile-friendly?

Yes, it is fully responsive. Buttons appear as a fixed sidebar on desktop and a fixed bottom bar on mobile devices.

Does it support non-English languages?

Yes, it works for all languages and script types, including RTL languages like Arabic and Hebrew.

Can I customize the appearance?

Yes. The settings page lets you adjust position, size, and animation. For deeper customization, use the provided developer filter hooks or override the CSS custom properties in your theme.

Does this plugin add any JavaScript?

No. The plugin loads zero JavaScript on the frontend — only a single CSS file.

使用者評論

It Facilitates Sharing

Adebowale Adekoya 2021 年 2 月 17 日
I am using it on many sites now because it it seamless and it facilitate sharing of site content by visitors.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈SGS Social Sharing Buttons〉的開發相關工作。

參與者
  • Adebowale Adekoya

將〈SGS Social Sharing Buttons〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

2.0.0

  • Major: Complete rewrite using a singleton class architecture.
  • New: Admin settings page (Settings → SGS Sharing Buttons) with full WordPress Settings API integration.
  • New: Shortcode [sgs_ssb] to embed buttons in page content.
  • New: Print button (properly implemented).
  • New: Dark mode support via prefers-color-scheme.
  • New: RTL language support.
  • New: Developer filter hooks for full extensibility.
  • New: Tooltips on hover showing the network name.
  • New: Respects prefers-reduced-motion for accessibility.
  • Fix: CSS is now fully scoped to .sgsssb-* classes — no more theme-breaking global resets.
  • Fix: Focus outlines restored for keyboard accessibility (WCAG 2.4.7).
  • Fix: All buttons now have aria-label attributes and SVGs use aria-hidden.
  • Fix: WhatsApp now uses the modern wa.me URL format.
  • Fix: Proper CSS version string for cache busting on updates.
  • Fix: Pinterest image URL properly handled on non-singular pages.
  • Security: All output properly escaped throughout. Settings sanitized via WordPress Settings API.

1.6

  • Added missing WhatsApp button.
  • Updated CSS to external file instead of inline.

1.5

  • Added print icon to support easy printing.
  • Updated Twitter to X.
  • Improved code security and efficiency to meet WordPress standards.

1.4

  • General code performance improvement.
  • Changed from page title to site title for non-single pages.
  • Adjusted sharing buttons’ position and size for different screen sizes.
  • Added CSS3 animations to improve sharing rates.

中繼資料

  • 版本 2.0.0
  • 最後更新 1 個月前
  • 啟用安裝數 20+
  • WordPress 版本需求 5.0 或更新版本
  • 已測試相容的 WordPress 版本 7.0.3
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    Facebook Sharingshare buttonssocial iconssocial mediaSocial Sharing Buttons
  • 進階檢視

評分

5 星,滿分為 5 星
  • 1 個 5 星使用者評論 5 星 1
  • 0 個 4 星使用者評論 4 星 0
  • 0 個 3 星使用者評論 3 星 0
  • 0 個 2 星使用者評論 2 星 0
  • 0 個 1 星使用者評論 1 星 0

Your review

查看全部使用者評論

參與者

  • Adebowale Adekoya

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.