Skip to content

A simple little WordPress block that allows you to add social share icons to your website.

License

Notifications You must be signed in to change notification settings

jzdunek/social-sharing-block

 
 

Repository files navigation

Social Sharing Block

License

Social Sharing

This plugin requires WordPress 5.9+ or 5.8+ with Gutenberg active.

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

Sharing Options

  • Facebook
  • Flipboard (New)
  • LINE (New)
  • LinkedIn
  • Pinterest
  • Pocket
  • Reddit
  • Skype
  • SMS (New)
  • Telegram
  • Tumblr
  • Twitter
  • WhatsApp
  • 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
  • Will get additional functionality as it's added to WordPress core (margin, borders, responsive controls etc.)
  • Plugin is intentionally light weight and adds no frontend JavaScript files.

Requirements

  • WordPress 5.9+ or 5.8+ with Gutenberg active
  • 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.

About

A simple little WordPress block that allows you to add social share icons to your website.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 66.9%
  • JavaScript 23.8%
  • SCSS 9.3%