Native Social Share
A lightweight, performance-focused WordPress plugin using the native Web Share API with graceful fallbacks for Twitter, Facebook, and LinkedIn.
Plugin info
Maintenance & Compatibility
Maintenance score
Actively maintained • Last updated 65 days ago
Is Native Social Share abandoned?
Likely maintained (last update 65 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
Native Social Share adds a clean and simple share button to your posts — powered by the browser’s native Web Share API with graceful fallbacks for Twitter (X), Facebook, and LinkedIn.
- Automatically adds share buttons below, above, or both positions in posts
- Supports auto dark mode (via
prefers-color-scheme) - No JavaScript dependencies (zero jQuery)
- Lightweight (~5KB including CSS & JS)
- Progressive enhancement: uses native share where available, fallbacks otherwise
This plugin focuses on simplicity, accessibility, and performance. Perfect for modern WordPress themes that prioritize speed and native UX.
License
This plugin is licensed under the GPLv2 or later.
You are free to modify and redistribute it under the same license.
Author
Developed by M Khoirul Huda
Website: https://mkhuda.com
GitHub: https://github.com/mkhuda/native-social-share-wp
Installation
- Upload the plugin folder to
/wp-content/plugins/native-social-share/ - Activate the plugin through Plugins Installed Plugins
- Go to Settings Native Social Share to configure:
- Position: Above, Below, or Both
- Enabled platforms (Twitter, Facebook, LinkedIn)
- Save changes and enjoy native sharing on your posts!
Frequently Asked Questions
No, it’s written in pure PHP and vanilla JavaScript with inline SVG icons.
When navigator.share isn’t available, the plugin shows fallback links for Twitter, Facebook, and LinkedIn.
Not yet — planned for a future update.
Yes. All assets are static and safe for full-page caching/CDN optimization.
Review feed
Changelog
1.1.0 – 2025-10-27
- Updated all function and option prefixes from
nsstonatssh(per WP.org guidelines) - Added PHP namespace
Mkhuda\NativeSocialShare - Added “Both (Above & Below)” position option for more flexibility
- Fixed license declaration mismatch between plugin header and readme
- Improved option migration for smoother upgrade
- Minor code cleanup and standard compliance (PHPCS/WPCS)
1.0.0 – 2025-10-15
- Initial public release
- Native Web Share + fallback links
- Auto Dark Mode support
- Configurable social buttons

