Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ndiego/social-sharing-block

Easily add social share icons to your website.
https://github.com/ndiego/social-sharing-block

gutenberg gutenberg-blocks wordpress wordpress-plugin

Last synced: 14 days ago
JSON representation

Easily add social share icons to your website.

Awesome Lists containing this project

README

        

# Social Sharing Block

![Social Sharing](https://github.com/ndiego/social-sharing-block/blob/main/_wordpress-org/banner-1544x500.png)

[![Active Installs](https://img.shields.io/wordpress/plugin/installs/social-sharing-block?logo=wordpress&logoColor=%23fff&label=Active%20Installs&labelColor=%2323282d&color=%2323282d)](https://wordpress.org/plugins/social-sharing-block/) [![Playground Demo Link](https://img.shields.io/wordpress/plugin/v/social-sharing-block?logo=wordpress&logoColor=%23fff&label=Playground%20Demo&labelColor=%233858e9&color=%233858e9)](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/ndiego/social-sharing-block/main/_playground/blueprint.json)

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. [Download on WordPress.org](https://wordpress.org/plugins/social-sharing-block/)

### Sharing options

- 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.

## Requirements

- WordPress 6.3+
- PHP 7.0+

## Development

1. Set up a local WordPress development environment.
2. Clone / download this repository into the `wp-content/plugins` folder.
3. Navigate to the `wp-content/plugins/social-sharing-block` folder in the command line.
4. Run `npm install` to install the plugin's dependencies within a `/node_modules/` folder.
5. Run `composer install` to install the additional WordPress composer tools within a `/vendor/` folder.
6. Run `npm run start` to compile and watch source files for changes while developing.

Refer to `package.json` and `composer.json` for additional commands.