=== Social Share Block – Social Sharing Buttons for Posts and Pages === Contributors: bplugins, abuhayat, charlescormier , prosanta10 Donate link: https://www.buymeacoffee.com/abuhayat Tags: block, share, social share, share buttons, social sharing Requires at least: 6.5 Tested up to: 7.0 Stable tag: 2.4.0 Requires PHP: 7.4 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.txt Share your website/website-page link to social networks and mobile messengers. == Description == Share your website or pages on social networks and messaging apps. Social Share Block is a lightweight, Gutenberg-native solution designed to boost your social signals without slowing down your site. Forget bulky scripts that bloat your page. Our block is built specifically for the modern WordPress editor, giving you full control over how your share buttons look—from colors and sizes to layouts and shadows. Whether you need a simple row of icons or a vertical sidebar, you can set it up in seconds. [Live Demos](https://bblockswp.com/demo/social-share-all-demo/) | [Pricing](https://bplugins.com/products/b-social-share/pricing/) | [Support](https://bplugins.com/support/) | [Social Share](https://bplugins.com/products/b-social-share/) = Features = - **Fully Customizable**: All the options you need to arrange the showcase to your liking are available here. ### ⭐ Key Features - 4 **Free** Social Share themes - 2 **Premium** Social Share themes in Pro - Popular Social Networks Support - Layout Direction – Row , Column - Lightweight & Fast – Optimized for speed and performance - Gutenberg Block support - Icon Size , Color , background-color customization option - Box-shadow & border customization - Shortcode support for any page or widget ### 🔥 Premium Features & Pro Blocks Upgrade to the Pro version to unlock a full suite of social engagement blocks: - **Floating Share Bar** : a sticky, viewport-pinned share bar that follows the scroll, with show-on-all-pages / home / specific-pages visibility control. - **Click to Chat** : a floating WhatsApp, Messenger, Telegram, phone, SMS, or email contact button you can show site-wide. - **Share Locker** : lock content until visitors share your page; great for coupons, downloads, and lead generation. - **Highlight to Share** : let visitors select any text and share it instantly with a floating tooltip (click-to-tweet style). - **QR Code Share** : generate a scannable QR code to the current page for quick mobile sharing. - **Follow Buttons** : link visitors to your social profiles with follower counts. - **Click to Share** & **Share Card** : pre-styled call-to-action share blocks. - **Premium Share Themes** : animated icons and button-with-text styles. - **Interactive Animations** : professional hover transform effects to catch the user's eye. - **Network Labels** : show network names (e.g., "Share on Facebook") for higher CTR. - **One-Click Copy** : a dedicated "Copy URL" button for easy link sharing. = How to use = - First, install the B Social Share plugin - Add the Social Share block from the block category called "Widgets" in the Gutenberg editor. - You can change block settings from the right-side settings sidebar. - Enjoy! * For installation help click on Installation Tab. = Feedback = Love the plugin? Want new features? Need support? We’d love to hear from you: 📩 **[Send your feedback](https://bplugins.com/support/ "Send feedback")** ### Check out the Parent Plugin of this plugin- [**B Blocks**](https://bblockswp.com) – A blocks collection and page building tool for Gutenberg. ### Check out our other WordPress Plugins- [**Html5 Video Player**](https://bplugins.com/products/html5-video-player/) – Display videos as single and playlist in multiple skins. [**PDF Poster**](https://bplugins.com/products/pdf-poster/) – Display/Embed PDF files with different styles. [**Html5 Audio Player**](https://bplugins.com/products/html5-audio-player/) – Listen audios with awesome visuals. [**StreamCast**](https://bplugins.com/products/streamcast-radio-player/) – Customizable radio player with different skins. [**3D Viewer**](https://bplugins.com/products/3d-viewer/) – Embed 3D models and 3D products with interaction. [**Advanced Post Block**](https://bplugins.com/products/advanced-post-block/) – Show posts and custom posts in different layouts. == Installation == = From Gutenberg Editor: = 1. Go to the WordPress Block/Gutenberg Editor 2. Search For **B Social Share** 3. Click on the **Social Share** to add the block = Download & Upload: = 1. Download the **B Social Share** plugin (*.zip file*) 2. In your admin area, go to the Plugins menu and click on **Add New** 3. Click on **Upload Plugin** and choose the **`b-social-share.zip`** file and click on **Install Now** 4. Activate the plugin and Enjoy! = Manually: = 1. Download and upload the **B Social Share** plugin to the **`/wp-content/plugins/`** directory 2. Activate the plugin through the Plugins menu in WordPress == Frequently Asked Questions == = Is B Social Share Block free? = Yes, B Social Share Block is a free Gutenberg block plugin. = Does it work with any WordPress theme? = Yes, it will work with any standard WordPress theme. = Can I change block settings? = Yes, you can change block settings from the Gutenberg block editor's right sidebar. = How many times can I reuse a block? = You can use unlimited times as you want. = Where can I get support? = You can post your questions on the [support forum here](https://wordpress.org/support/plugin/b-social-share/) == Screenshots == 1. Social Share Admin Dashboard 2. Add New Social Share (ShortCode) 3. Default 4. Theme One 5. Theme Two 6. Theme Three 7. Theme Four 8. Theme Five 9. Gutenberg Block Support 10. Gutenberg Block Settings == Changelog == = 2.4.0 - 2026-07-22 = * New: Added 10 brand-new Gutenberg blocks to expand social sharing options: * Share Locker: Lock content until the visitor shares to a specified number of networks. * Floating Share Bar: Display sharing buttons with site-wide, home page only, or page-specific visibility controls. * Click to Chat: Direct chat links (WhatsApp, Telegram, Viber, Skype, etc.) with site-wide or page-specific visibility rules. * QR Code Share: Responsive shareable QR codes with device-specific width/height (Desktop, Tablet, Mobile). * Highlight to Share: Redesigned network manager with custom per-network values (Twitter/X handle, email, WhatsApp, subreddit). * Follow Buttons: Social media profile follow buttons with in-editor management (add, edit, duplicate, reorder). * Click to Share: Custom call-to-action boxes to easily share snippet texts. * Share Card: Premium templates and cards to showcase sharing buttons beautifully. * Share Count Total: Aggregate social share counter to display social proof. * Share Modal Trigger: Pop-up modal containing sharing buttons triggered by user click. * Fix: Synchronized plugin version metadata across the main plugin header, block metadata, and readme. * Tweak: Improved UI styling, security escaping, and overall code quality across all blocks. * New: Highlight to Share — redesigned network manager (add, remove, reorder, change networks) plus an optional per-network share value (Twitter/X handle, recipient email, WhatsApp number, subreddit). * Tweak: Minor UI, escaping, and code-quality improvements across blocks. = 2.2.3 - 2026-07-14 = * Update: Improved Admin Dashboard. * Fixed: style and assets loading performance issue. = 2.2.2 - 2026-05-20 = * Fix: Removed all premium/trialware feature gating * Fix: Added source code repository link in readme * Fix: Corrected "Requires at least" version formatting to use major version numbers * Fix: Removed disallowed remote external script dependencies and loaded them locally * Fix: Added proper output escaping to shortcode callback return values for better security * Fix: Added `ABSPATH` checks to prevent direct file access in executable PHP files = 2.2.0 - 2026-03-29 = * **Update:** Improved block sidebar user interface for better usability * **Update:** Added new style customization options * **Update:** Minor UI improvements and code optimization = 2.0.1 = * Add New Dashboard = 2.0.0 - 2026-02-05 = * Updated with new a lot features and major updates of the plugin = 1.0.6 - 4 Aug 24 = * Add translate feature = 1.0.5 = * Add translate feature = 1.0.4 = * Social Item Overflow fix = 1.0.3 = * Reduce PHP Code * Performance improvement = 1.0.2 = * Reduce PHP Code. = 1.0.1 = * Performance improvement. = 1.0.0 = * Initial Release. == Source Code == You can find the source code, report bugs, and contribute to the development of this plugin on our GitHub repository: [**Social Share Block on GitHub**](https://github.com/bPlugins/social-share-free) ### Build Instructions To build the plugin from source, follow these steps: 1. Clone the repository or download the source code. 2. Navigate to the plugin directory. 3. Run `npm install` to install dependencies. 4. Run `npm run build` to build the production assets. ### File Mapping To understand how the source code maps to the compiled assets, see the list below: - `src/` - Source code for the Gutenberg block and admin interface. - `src/index.js` → `build/index.js` (Main block script) - `src/view.js` → `build/view.js` (Frontend script) - `src/shortcode/shortcode.js` → `build/shortcode.js` (Shortcode script) - `src/Admin/Dashboard.js` → `build/admin-dashboard.js` (Admin dashboard script) - `build/` - Compiled and minified assets generated by the build process. - `inc/` - PHP files for plugin functionality. - `assets/` - Static assets like images and fonts. == External Services == This plugin bundles the following third-party JavaScript/PHP libraries. = YouTube = * **Source:** https://www.youtube.com/ * **Purpose:** Used to display documentation and tutorial videos in the admin dashboard. * **Privacy:** Loading or interacting with the video player connects to YouTube servers and is subject to YouTube's privacy policy. = WeChat (Google APIs) = * **Source:** https://chart.apis.google.com/ * **Purpose:** Generates sharing QR codes via `chart.apis.google.com` for mobile scanning when WeChat sharing is clicked. * **Privacy:** Subject to Google's privacy policy: https://policies.google.com/privacy. == Third-Party Libraries == = Immer = * **Version:** 11.1.8 * **Source:** https://immerjs.github.io/immer/ * **GitHub:** https://github.com/immerjs/immer * **License:** MIT * **Purpose:** Used for managing immutable state in a more convenient way. = Font Awesome = * **Source:** https://fontawesome.com/ * **License:** SIL OFL 1.1 (Icons) / MIT (CSS) * **Purpose:** Used for social icons. * **Note:** The Font Awesome Free webfont files are licensed under the SIL OFL 1.1, which is GPL-incompatible. They are bundled as static design assets rather than linked software. All PHP/JS code in this plugin is under GPLv3+. = react-router-dom = * **Source:** https://github.com/remix-run/react-router * **License:** MIT * **Purpose:** Used for managing navigation routing inside the admin dashboard. = bpl-tools = * Source / GitHub: https://github.com/bPlugins/bpl-tools * License: GPL-2.0-or-later – https://www.gnu.org/licenses/gpl-2.0.html * Purpose: Shared utility library providing admin dashboard components and common Gutenberg editor controls. * External Services: The library may connect to bPlugins, WordPress.org, and Freemius services for product data and checkout functionality. See full details: https://github.com/bPlugins/bpl-tools#external-requests--why-they-are-made. = Freemius Lite SDK = * **Version:** 2.2.0 * **Source:** [https://bplugins.com/](https://bplugins.com/) * **GitHub:** [https://github.com/bPlugins/freemius-lite-sdk](https://github.com/bPlugins/freemius-lite-sdk) * **License:** GPL-2.0-or-later – [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html) * **Purpose:** Provides an opt-in consent form for usage tracking and analytics to help improve the plugin. No data is sent before explicit user consent. * **External Services:** Communicates with `api.bplugins.com` (activation events) and `wp.freemius.com` (opt-in processing) only after user opt-in. See [bPlugins Privacy Policy](https://bplugins.com/privacy-policy) and [Freemius Privacy Policy](https://freemius.com/privacy/).