內容簡介
總結:Native Social Share 外掛為您的文章添加了簡潔和簡單的分享按鈕,採用瀏覽器原生的 Web Share API,可優雅回退至 Twitter、Facebook 和 LinkedIn。
1. Native Social Share 外掛如何在文章中自動添加分享按鈕?
- 可以在文章下方、上方或兩個位置自動添加分享按鈕。
2. 這個外掛如何支援自動深色模式?
- 透過 prefers-color-scheme 支援自動深色模式。
3. Native Social Share 外掛有沒有使用 JavaScript 依賴?
- 不需要使用 JavaScript 依賴,完全不使用 jQuery。
4. 這個外掛的大小約為多少?
- 外掛大小輕量約為 5KB,包括 CSS 和 JS。
5. 這個外掛的特點是什麼?
- 以漸進增強為基礎,如果有原生分享功能則使用,否則會退至其他分享選項。
6. Native Social Share 外掛適合什麼樣的 WordPress 主題?
- 專注於簡單、無障礙和效能的現代 WordPress 主題,適合追求速度和原生UX的網站。
請問這個外掛的許可證是什麼?
- 這個外掛是根據 GPLv2 或更高版本的許可證授權的。
這個外掛的作者是誰?
- 這個外掛是由 M Khoirul Huda 開發的。
您可以在哪裡找到更多外掛資訊?
- 相關資訊可於作者的網站 https://mkhuda.com 或 GitHub https://github.com/mkhuda/native-social-share-wp。
外掛標籤
開發者團隊
原文外掛簡介
Native Social Share adds a clean and simple share button to your posts — powered by the browser’s native Web Share API with graceful fallbacks for Twitter (X), Facebook, and LinkedIn.
Automatically adds share buttons below, above, or both positions in posts
Supports auto dark mode (via prefers-color-scheme)
No JavaScript dependencies (zero jQuery)
Lightweight (~5KB including CSS & JS)
Progressive enhancement: uses native share where available, fallbacks otherwise
This plugin focuses on simplicity, accessibility, and performance. Perfect for modern WordPress themes that prioritize speed and native UX.
License
This plugin is licensed under the GPLv2 or later.
You are free to modify and redistribute it under the same license.
Author
Developed by M Khoirul Huda
Website: https://mkhuda.com
GitHub: https://github.com/mkhuda/native-social-share-wp
