{"id":257804,"date":"2025-10-27T12:53:00","date_gmt":"2025-10-27T12:53:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/native-social-share\/"},"modified":"2025-10-27T13:39:25","modified_gmt":"2025-10-27T13:39:25","slug":"native-social-share","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/native-social-share\/","author":12752795,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.8.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Native Social Share","header_author":"M Khoirul Huda","header_description":"A lightweight, performance-focused social sharing plugin using the native Web Share API with fallbacks.","assets_banners_color":"","last_updated":"2025-10-27 13:39:25","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/mkhuda.com","header_plugin_uri":"","header_author_uri":"https:\/\/mkhuda.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":155,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"mkhuda","date":"2025-10-27 13:39:25"}},"upgrade_notice":{"1.1.0":"<p>Prefix and namespace updates.<br \/>\nNow also supports <strong>\u201cBoth (Above &amp; Below)\u201d<\/strong> position option.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3385242,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3385242,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3385242,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3385242,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Native Share button with fallback links (light mode)","2":"Dark mode appearance (automatic)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4035,249801,138,174,208324],"plugin_category":[56],"plugin_contributors":[249802],"plugin_business_model":[],"class_list":["post-257804","plugin","type-plugin","status-publish","hentry","plugin_tags-lightweight","plugin_tags-native-share","plugin_tags-share","plugin_tags-social","plugin_tags-web-share-api","plugin_category-social-and-sharing","plugin_contributors-mkhuda","plugin_committers-mkhuda"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/native-social-share\/assets\/icon-128x128.jpg?rev=3385242","icon_2x":"https:\/\/ps.w.org\/native-social-share\/assets\/icon-256x256.jpg?rev=3385242","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/native-social-share\/assets\/screenshot-1.jpg?rev=3385242","caption":"Native Share button with fallback links (light mode)"},{"src":"https:\/\/ps.w.org\/native-social-share\/assets\/screenshot-2.jpg?rev=3385242","caption":"Dark mode appearance (automatic)"}],"raw_content":"<!--section=description-->\n<p><strong>Native Social Share<\/strong> adds a clean and simple share button to your posts \u2014 powered by the browser\u2019s <em>native Web Share API<\/em> with graceful fallbacks for Twitter (X), Facebook, and LinkedIn.<\/p>\n\n<ul>\n<li>Automatically adds share buttons below, above, or both positions in posts  <\/li>\n<li>Supports <strong>auto dark mode<\/strong> (via <code>prefers-color-scheme<\/code>)  <\/li>\n<li>No JavaScript dependencies (zero jQuery)  <\/li>\n<li>Lightweight (~5KB including CSS &amp; JS)  <\/li>\n<li>Progressive enhancement: uses native share where available, fallbacks otherwise  <\/li>\n<\/ul>\n\n<p>This plugin focuses on simplicity, accessibility, and performance. Perfect for modern WordPress themes that prioritize speed and native UX.<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\">GPLv2 or later<\/a>.<br \/>\nYou are free to modify and redistribute it under the same license.<\/p>\n\n<h3>Author<\/h3>\n\n<p>Developed by <strong>M Khoirul Huda<\/strong><br \/>\nWebsite: <a href=\"https:\/\/mkhuda.com\">https:\/\/mkhuda.com<\/a><br \/>\nGitHub: <a href=\"https:\/\/github.com\/mkhuda\/native-social-share-wp\">https:\/\/github.com\/mkhuda\/native-social-share-wp<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/native-social-share\/<\/code><\/li>\n<li>Activate the plugin through <strong>Plugins \u2192 Installed Plugins<\/strong><\/li>\n<li>Go to <strong>Settings \u2192 Native Social Share<\/strong> to configure:\n\n<ul>\n<li>Position: Above, Below, or Both<\/li>\n<li>Enabled platforms (Twitter, Facebook, LinkedIn)<\/li>\n<\/ul><\/li>\n<li>Save changes and enjoy native sharing on your posts!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20it%20require%20jquery%20or%20font%20awesome%3F'><h3>Does it require jQuery or Font Awesome?<\/h3><\/dt>\n<dd><p>No, it\u2019s written in pure PHP and vanilla JavaScript with inline SVG icons.<\/p><\/dd>\n<dt id='what%20happens%20on%20unsupported%20browsers%3F'><h3>What happens on unsupported browsers?<\/h3><\/dt>\n<dd><p>When <code>navigator.share<\/code> isn\u2019t available, the plugin shows fallback links for Twitter, Facebook, and LinkedIn.<\/p><\/dd>\n<dt id='is%20there%20a%20shortcode%20or%20block%3F'><h3>Is there a shortcode or block?<\/h3><\/dt>\n<dd><p>Not yet \u2014 planned for a future update.<\/p><\/dd>\n<dt id='does%20it%20support%20caching%20and%20cdns%3F'><h3>Does it support caching and CDNs?<\/h3><\/dt>\n<dd><p>Yes. All assets are static and safe for full-page caching\/CDN optimization.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0 \u2013 2025-10-27<\/h4>\n\n<ul>\n<li>Updated all function and option prefixes from <code>nss<\/code> to <code>natssh<\/code> (per WP.org guidelines)<\/li>\n<li>Added PHP namespace <code>Mkhuda\\NativeSocialShare<\/code><\/li>\n<li>Added <strong>\u201cBoth (Above &amp; Below)\u201d<\/strong> position option for more flexibility<\/li>\n<li>Fixed license declaration mismatch between plugin header and readme<\/li>\n<li>Improved option migration for smoother upgrade<\/li>\n<li>Minor code cleanup and standard compliance (PHPCS\/WPCS)<\/li>\n<\/ul>\n\n<h4>1.0.0 \u2013 2025-10-15<\/h4>\n\n<ul>\n<li>Initial public release  <\/li>\n<li>Native Web Share + fallback links  <\/li>\n<li>Auto Dark Mode support  <\/li>\n<li>Configurable social buttons<\/li>\n<\/ul>","raw_excerpt":"A lightweight, performance-focused WordPress plugin using the native Web Share API with graceful fallbacks for Twitter, Facebook, and LinkedIn.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/257804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=257804"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mkhuda"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=257804"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=257804"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=257804"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=257804"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=257804"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=257804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}