=== Machete Social Share Block === Contributors: nilovelez Tags: block, social, share, sharing, social-media Tested up to: 6.9 Stable tag: 0.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A beautiful social share block that lets visitors share your content on Facebook, X (Twitter), LinkedIn, WhatsApp, and Pinterest. == Description == Social Share Block adds a customizable row of social sharing buttons to any post, page, or site editor template. Each button links directly to the corresponding network's share dialog using the canonical URL of the current page. **Features:** * Toggle each social network on or off: Facebook, X (Twitter), LinkedIn, WhatsApp, and Pinterest. * Inline SVG icons for crisp rendering at any size — no external icon fonts required. * Adjustable icon size (16–64 px) and button spacing (0–40 px) via the block inspector. * Automatic canonical URL detection: uses Yoast SEO or Rank Math canonical meta when available, falling back to the WordPress permalink. * All share links open in a new window with `rel="nofollow noopener noreferrer"` for security. * Works everywhere: posts, pages, and Full Site Editor templates or template parts. * Live preview in the editor so you see exactly what visitors will see. == Installation == 1. Upload the plugin files to the `/wp-content/plugins/machete-share-block` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. Insert the "Social Share Block" from the block inserter in the editor. == Frequently Asked Questions == = How does the block determine the share URL? = It first checks for a canonical URL set by Yoast SEO or Rank Math. If neither is available it falls back to the standard WordPress permalink of the current post or page. = Can I use this in the Site Editor? = Yes. The block works in posts, pages, and any Full Site Editor template or template part. = Does it load external scripts or stylesheets? = No. All icons are inline SVGs and all styles are bundled with the block. There are no third-party requests. == Screenshots == 1. The block in the editor with the inspector panel open showing network toggles and size controls. 2. The block rendered on the front end with all five networks enabled. == Changelog == = 0.1.0 = * Initial release.