Description
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:
- LINE
- Skype
- SMS
- Telegram
- Threads
- Tumblr
- Viber
- X
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
- Will get additional functionality as it’s added to WordPress core (margin, borders, responsive controls etc.)
- Plugin is intentionally lightweight and adds no frontend JavaScript files.
Stay Connected
Captures d’écran
Blocs
Cette extension fournit 2 blocs.
- Social Sharing Display icons that share the current page when clicked.
- Social Sharing Link Display an icon that shares the current page when clicked.
Installation
- 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.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- Search for the block within the Block Editor (Gutenberg) and begin using the block.
Avis
Contributeurs/contributrices & développeurs/développeuses
« Social Sharing Block » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
Contributeurs“Social Sharing Block” a été traduit dans 5 locales. Remerciez l’équipe de traduction pour ses contributions.
Traduisez « Social Sharing Block » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
= 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 🎉