Title: Floating Share Button
Author: Bowo
Published: <strong>2022 年 3 月 8 日</strong>
Last modified: 2024 年 11 月 17 日

---

搜索插件

![](https://ps.w.org/floating-share-button/assets/banner-772x250.png?rev=2690469)

![](https://ps.w.org/floating-share-button/assets/icon-256x256.png?rev=2690469)

# Floating Share Button

 作者：[Bowo](https://profiles.wordpress.org/qriouslad/)

[下载](https://downloads.wordpress.org/plugin/floating-share-button.1.7.4.zip)

 * [详情](https://cn.wordpress.org/plugins/floating-share-button/#description)
 * [评价](https://cn.wordpress.org/plugins/floating-share-button/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/floating-share-button/#developers)

 [支持](https://wordpress.org/support/plugin/floating-share-button/)

## 描述

This plugin enables a customizable, floating share button that triggers a responsive,
customizable sharesheet on desktop devices and the native iOS or Android sharesheet
on mobile devices using the [Web Share API](https://web.dev/web-share/).

### Features

 * Supports 33 of the most popular sharing destinations (complete list below). Can
   be customized to show only destinations you choose.
 * Uses SVG icon which looks sharp at any size and screen resolution
 * Easily understandable and visual options to customize the button’s appearance
 * Customize when and how the button appears or disappears with screen scrolling
   progression
 * Can be shown/hidden on either/both desktop and mobile views
 * Lightweight. Minimal CSS and JS on the frontend with no jQuery dependency
 * Great tandem with the [Flexible Scroll Top](https://wordpress.org/plugins/flexible-scroll-top/)
   plugin. Works beatifully on both desktop and mobile devices, especially if you
   are looking for a minimalist approach.

### Supported Sharing Destinations

 * Social networks: Facebook, Twitter, LinkedIn, Pinterest, Snapchat, VK, QZone,
   Weibo, Mixi
 * Chat apps: Whatsapp, Telegram, Messenger, Skype, WeChat, Line, Viber, QQ
 * Email apps: Gmail, Ymail (Yahoo Mail), Outlook, Mail.ru, generic email
 * Others: Tumblr, Reddit, Flipboard, Mix, InstaPaper, Pocket, Hacker News, Google
   Classroom, Buffer, Evernote, Trello
 * Includes a QR code so people visiting your website on their laptop can easily
   share it directly from their mobile device
 * On iOS or Android devices, the button will trigger the native OS sharesheet and
   can use any sharing destination supported by the OS or device.

### Give Back

 * [A nice review](https://wordpress.org/plugins/floating-share-button/#reviews)
   would be great!
 * [Give feedback](https://wordpress.org/support/plugin/floating-share-button/) 
   and help improve future versions.
 * [Github repo](https://github.com/qriouslad/floating-share-button) to contribute
   code.
 * [Donate](https://paypal.me/qriouslad) and support my work.

### Check These Out Too

 * [Admin and Site Enhancements](https://wordpress.org/plugins/admin-site-enhancements/)
   helps you to easily enhance various admin workflows and site aspects while replacing
   multiple plugins doing it.
 * [System Dashboard](https://wordpress.org/plugins/system-dashboard/): Central 
   dashboard to monitor various WordPress components, processes and data, including
   the server.
 * [Debug Log Manager](https://wordpress.org/plugins/debug-log-manager/): Log PHP,
   database and JavaScript errors via WP_DEBUG with one click. Conveniently create,
   view, filter and clear the debug.log file.
 * [Variable Inspector](https://wordpress.org/plugins/variable-inspector/): Inspect
   PHP variables on a central dashboard in wp-admin for convenient debugging.

## 屏幕截图

 * [[
 * The default floating share button
 * [[
 * The responsive desktop sharesheet
 * [[
 * The main settings page
 * [[
 * Customizing the appearance
 * [[
 * Customizing the behaviour
 * [[
 * Customizing the desktop sharesheet
 * [[
 * Screenshots of the native iOS and Android sharesheet

## 常见问题

### How was this plugin built?

Flexible Scroll top was built with: [WordPress Plugin Boilerplate](https://github.com/devinvinson/WordPress-Plugin-Boilerplate/)
| [wppb.me](https://wppb.me/) | [CodeStar framework](https://github.com/Codestar/codestar-framework)
| [CodyFrame](https://github.com/CodyHouse/codyhouse-framework) | [bulma](https://bulma.io/)
| Icons from [IconFinder.com](https://www.iconfinder.com/).

## 评价

此插件暂无评价。

## 贡献者及开发者

「Floating Share Button」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Bowo ](https://profiles.wordpress.org/qriouslad/)

「Floating Share Button」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/floating-share-button/contributors)
为本插件所做的贡献。

[帮助将「Floating Share Button」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/floating-share-button)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/floating-share-button/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/floating-share-button/)，或通过[RSS](https://plugins.trac.wordpress.org/log/floating-share-button/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/floating-share-button/)。

## 更新日志

### 1.7.4 (2024.11.17)

 * Tested to be compatible with WordPress 6.7

### 1.7.3 (2023.03.04)

 * [Fixed] Uncaught TypeError for certain scenarios.

### 1.7.1 (2023.01.13)

 * [Fixed] Page title and url on the mobile sharesheet no longer displays mangled
   PHP code.

### 1.7.0 (2022.10.26)

 * [Added] Suppression of all admin notices on the settings page
 * [Changed] Put in place a prefixed CodeStar Framework to avoid collision with 
   other plugins using this library
 * [Changed] Improve settings page header links
 * [Changed] Properly use wp_add_inline_style() to load CSS styles based on plugin
   settings
 * [Changed] Properly use wp_localize_script() to load javascript code based on 
   plugin settings
 * [Changed] Increase share modal’s z-index to make sure it overlays everything 
   on screen

### 1.6.2 (2022.05.26)

 * Tested to be compatible with WordPress 6.0
 * Add review, feedback and donate links in settings page

### 1.6.1 (April 2022)

 * Fix sharesheet close button size issue

### 1.6.0 (April 2022)

 * Downgrade CodeStar framework with free, lighter version

### 1.5.2 (April 2022)

 * Fix sizing issue with image select buttons due to css conflict

### 1.5.0 (April 2022)

 * Implement custom corner spacing option

### 1.4.2 (April 2022)

 * Modify button z-index property so it stays on top of other elements on the page

### 1.4.1 (March 2022)

 * Increase [QR code version](https://www.qrcode.com/en/about/version.html) from
   5 to 8 to acommodate conversion of longer URL

### 1.4.0 (March 2022)

 * Add dark and light mode for the sharesheet

### 1.3.1 (March 2022)

 * Add background hover color settings
 * Fix footer link to plugin page on wordpress.org

### 1.2.0 (March 2022)

 * Security hardening by properly escaping output

### 1.1.0 (March 2022)

 * Implement local QR code generator using chillerlan/php-qrcode library

### 1.0.0 (February 2022)

 * Initial release

## 额外信息

 *  版本 **1.7.4**
 *  最后更新：**1 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/floating-share-button/) 和 [Italian](https://it.wordpress.org/plugins/floating-share-button/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/floating-share-button)
 * 标签
 * [floating share](https://cn.wordpress.org/plugins/tags/floating-share/)[share button](https://cn.wordpress.org/plugins/tags/share-button/)
   [web share api](https://cn.wordpress.org/plugins/tags/web-share-api/)
 *  [高级视图](https://cn.wordpress.org/plugins/floating-share-button/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/floating-share-button/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/floating-share-button/reviews/)

## 贡献者

 *   [ Bowo ](https://profiles.wordpress.org/qriouslad/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/floating-share-button/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://paypal.me/qriouslad)