跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
  • 支持
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Social Sharing Block

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Social Sharing Block

作者:Nick Diego
下载
实时预览
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

A simple little WordPress block that allows you to add social share icons to your website. Choose from 15+ of the most popular social channels.

Share options include:

  • Bluesky
  • Facebook
  • Flipboard
  • LINE
  • LinkedIn
  • Pinterest
  • Pocket
  • Reddit
  • Skype
  • SMS
  • Telegram
  • Threads
  • Tumblr
  • Viber
  • WhatsApp
  • X
  • Email
  • Print

Key features

  • Heavily inspired by the Social Icons block in WordPress core
  • Includes some handy controls (show/hide labels, size, colors, etc.)
  • No block library required 🎉
  • Built almost entirely with native WordPress components
  • The plugin is intentionally lightweight and adds no frontend JavaScript files.

Stay connected

  • View on GitHub
  • Visit plugin project page
  • Follow on Twitter

屏幕截图

  • Social icons default to their appropriate brand colors. Easily choose your own icon and background colors using the block controls.
  • The Social Sharing Block includes three different styles and the ability to show/hide labels.
  • Easily configure social icons with extensive layout, orientation, and size controls to suit your needs.

区块

该插件提供了 2 个区块.

  • Social Sharing Display icons that share the current page when clicked.
  • Social Sharing Link Display an icon that shares the current page when clicked.

安装

  1. You have a couple options:
    • Go to Plugins → Add New and search for “Social Sharing Block”. Once found, click “Install”.
    • Download the Social Sharing Block plugin from wordpress.org and make sure the folder is zipped. Then upload via Plugins → Add New → Upload.
    • Open the block inserter within the Block Editor (Gutenberg) and search for “icon”. The plugin should appear and allow you to install it directly. Skip steps 2 and 3.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Search for the block within the Block Editor (Gutenberg) and begin using the block.

评价

Excellent plugin

Paul Bursnall 2025 年 4 月 16 日
This is how plugins should work. No fanfare, upsells, or graffiti on the dashboard. No nag to buy a premium version like every other plugin that does the same job. Except this does it better – it’s very clean, feels like a core block, and just works. A perfect job.

Excellent and lightweight.

iz4atkal 2025 年 2 月 15 日
👍

Simple and close to native

Robin Labadie 2024 年 9 月 13 日
This should definitely be integrated into WordPress core, it’s very respectful of WordPress Gutenberg’s way, perfectly integrated, light and simple. Thanks!

Great block-based, streamlined solution

Emily Rapport 2024 年 8 月 30 日
Just what I needed – without any extra baggage, bells, or shenanigans. Thanks Nick Diego!

Superb!

snoop23 2024 年 3 月 24 日
Love it! Thanks for making it. Two feature requests: Option to add a text like ‘Share’ before the displayed icons. Add a ‘Copy Link’ option.

Excellence

delrod 2023 年 10 月 3 日
Thanks to the developer, it’s an excellent plugin that does exactly what I missed in Gutenberg Builder. Clean and straightforward. The buttons library is already rich. I hope more buttons are added in the future (Facebook Messenger and Mastodon).
阅读所有18条评价

贡献者及开发者

「Social Sharing Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Nick Diego
  • Outermost

「Social Sharing Block」插件已被翻译至 7 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Social Sharing Block」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.3.0 – 2024-11-04

Added

  • Added support for Bluesky sharing. (props @Fyrins)
  • Added support for content-only editing.

Changed

  • Updated “Tested up to” to WordPress 6.7.
  • Updated “Requires at least” to WordPress 6.5.
  • Updated “Minimum PHP version” to 7.4 to match WordPress core.

1.2.0 – 2024-06-22

Added

  • Add example content for each Social Link variation.

Changed

  • Update “Tested up to” to WordPress 6.6.
  • Update the Playground blueprint for the Live Preview.

1.1.0 – 2024-03-24

Added

  • Add support for Threads sharing. (props @WatermarkBranding)
  • Add dimension and border support to individual social sharing links. (props @TAjgriffin)
  • Add support for en and em dashes, apostrophes, and ampersands in post titles. (props @GeoSn0w)
  • Add Playground blueprint for live preview in the Plugin Directory.

Changed

  • Update “Tested up to” to WordPress 6.5.
  • Update “Requires at least” to WordPress 6.3.

1.0.0 – 2024-01-02

Fixed

  • The correct icon and label are now displayed in the Editor when registering a custom block variation for a new social service. Thanks @gaambo for helping resolve this issue.
  • Custom labels are now displayed in the Editor when set.
  • The default label will now be shown on the front end when a custom label is empty.

0.9.0 – 2023-08-13

Changed

  • Changed Twitter to X.

Fixed

  • Fixed deprecation warning. Thanks @kafleg for reporting the issue.

0.8.0 – 2023-07-29

Added

  • Add border support.
  • Add the social_sharing_block_services_data filter allowing you to modify service information on the frontend.

Changed

  • Update the WhatsApp icon to match the Social Icons block in Core.
  • Update to the new layout block support for 6.3 compatibility.
  • Update block API version 3 for 6.3 compatibility.

0.7.0 – 2023-06-02

Added

  • Add support for Viber sharing.
  • Add ability to share a custom link.
  • Add support for home/front pages. Icons will share the main site url and name if the block is not placed in a loop.
  • Add support for archive pages. Icons will share the archive url and title if the block is not placed in a loop.

Changed

  • Update minimum required WordPress version to 6.2. We want to be utilizing the latest functionality in WordPress.
  • Change the color picker component to integrate better with Core.

Fixed

  • Icon colors will now update automatically when the set colors are changed in Global Styles or in theme.json.

0.6.0 – 2022-08-21

Added

  • Add support for transparency in both icon and background colors.

Changed

  • Update Reddit icon to match brand guidelines.
  • Simplify icon SVGs to reduce plugin size.

0.5.0 – 2022-08-05

Changed

  • Update incorrect and/or outdated social icon brand colors.
  • Update minimum required WordPress version to 5.9.

0.4.0 – 2022-02-12

Added

  • Add support for Flipboard sharing.
  • Add support for LINE sharing.
  • Add support for SMS sharing.

Changed

  • Update label markup to improve accessibility.

0.3.0 – 2022-01-22

Changed

  • Improve support for Full Site Editing by unsetting background colors. Stops color bleed from Global Styles. GitHub reference: #37940
  • Update setting labels.

Fixed

  • Fix missing editorScript specification in block.json files.
  • Fix missing ‘to’ in plugin description. 🤦‍♂️
  • Fix typo in variable name.

0.2.0 – 2022-01-17

Added

  • Add screenshots.

Changed

  • Update plugin name and text-domain to social-sharing-block to comply with wordpress.org requirements.

0.1.0 – 2022-01-16

  • Initial release 🎉

社区插件

该插件由社区开发和支持。 为该插件贡献

额外信息

  • 版本 1.3.0
  • 最后更新:3 周前
  • 活跃安装数量 7,000+
  • WordPress 版本 6.5 或更高版本
  • 已测试的最高版本为 6.9.1
  • PHP 版本 7.4 或更高版本
  • 语言

    Dutch 、 English (US) 、 French (France) 、 Italian 、 Russian 、 Spanish (Chile) 、 Spanish (Spain) 和 Swedish.

    翻译成简体中文

  • 标签
    blocksharesocialsocial iconsocial share
  • 高级视图

评级

5 星(最高 5 星)。
  • 18 条 5 星评价 5 星 18
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

添加我的评价

查看全部评论

贡献者

  • Nick Diego
  • Outermost

支持

最近两个月解决的问题:

总计 1,已解决 0

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗