{"id":349711,"date":"2026-08-30T03:54:17","date_gmt":"2026-08-30T03:54:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/share-buttons-with-counts\/"},"modified":"2026-08-30T03:54:03","modified_gmt":"2026-08-30T03:54:03","slug":"hyshare-social-share-buttons","status":"publish","type":"plugin","link":"https:\/\/kab.wordpress.org\/plugins\/hyshare-social-share-buttons\/","author":23543344,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"1.0.2","tested":"7.0.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"HyShare Social Share Buttons","header_author":"Himanshu Yadav","header_description":"Lightweight social share buttons with click-based share counts, floating bar, shortcodes, and 25+ networks.","assets_banners_color":"5f637b","last_updated":"2026-08-30 03:54:03","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/himanshusir.in","header_plugin_uri":"https:\/\/sharebuttons.himanshusir.in","header_author_uri":"https:\/\/himanshusir.in","rating":5,"author_block_rating":0,"active_installs":0,"downloads":43,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"himanshuyadaven","date":"2026-08-30 03:54:03","revision":3672005}},"upgrade_notice":{"1.0.2":"<p>Shortcodes renamed to [hyshare_share_buttons] and [hyshare_share_count] to prevent conflicts. Update any shortcodes in your content. Also fixes corrupted CSV exports.<\/p>","1.0.1":"<p>Name, sanitization, and documentation updates for WordPress.org review.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3672125,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3672125,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3672040,"resolution":"1544x500","location":"assets","locale":"","width":1242,"height":620},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3672040,"resolution":"772x250","location":"assets","locale":"","width":1542,"height":499}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3672040,"resolution":"1","location":"assets","locale":"","width":1608,"height":817},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3672040,"resolution":"2","location":"assets","locale":"","width":1610,"height":805},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3672040,"resolution":"3","location":"assets","locale":"","width":1593,"height":813},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3672040,"resolution":"4","location":"assets","locale":"","width":1604,"height":814},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3672040,"resolution":"5","location":"assets","locale":"","width":1598,"height":777},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":3672040,"resolution":"6","location":"assets","locale":"","width":1271,"height":606}},"screenshots":[]},"plugin_section":[],"plugin_tags":[30249,3091,58937,680,55789],"plugin_category":[],"plugin_contributors":[278222],"plugin_business_model":[],"class_list":["post-349711","plugin","type-plugin","status-publish","hentry","plugin_tags-floating-share-bar","plugin_tags-share-buttons","plugin_tags-share-count","plugin_tags-social-share","plugin_tags-whatsapp-share","plugin_contributors-himanshuyadaven","plugin_committers-himanshuyadaven"],"banners":{"banner":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/banner-772x250.jpg?rev=3672040","banner_2x":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/banner-1544x500.jpg?rev=3672040","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/icon-128x128.png?rev=3672125","icon_2x":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/icon-256x256.png?rev=3672125","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/screenshot-1.png?rev=3672040","caption":""},{"src":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/screenshot-2.png?rev=3672040","caption":""},{"src":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/screenshot-3.png?rev=3672040","caption":""},{"src":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/screenshot-4.png?rev=3672040","caption":""},{"src":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/screenshot-5.png?rev=3672040","caption":""},{"src":"https:\/\/ps.w.org\/hyshare-social-share-buttons\/assets\/screenshot-6.jpg?rev=3672040","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>HyShare Social Share Buttons<\/strong> adds social sharing buttons to your posts and pages.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Inline share buttons (above, below, both, or after the first paragraph)<\/li>\n<li>Click-based share counts (counts button clicks on your site)<\/li>\n<li>Optional starting count (offset added to click counts for display)<\/li>\n<li>Per-post count controls in the editor<\/li>\n<li>Floating side share bar<\/li>\n<li>Copy link button<\/li>\n<li>WhatsApp, Telegram, Facebook, Truth Social, X (Twitter), LinkedIn, Bluesky, and more<\/li>\n<li>Shortcodes: [hyshare_share_buttons] and [hyshare_share_count]<\/li>\n<li>Share statistics and CSV export<\/li>\n<li>Dark mode bar, mobile label modes, thank-you message<\/li>\n<li>Lightweight: frontend assets load only when needed<\/li>\n<\/ul>\n\n<h4>Important: About share counts<\/h4>\n\n<p>Share counts in this plugin are <strong>click-based<\/strong>. They increase when a visitor clicks a share button on your website. They are <strong>not<\/strong> official share totals from Facebook, X, LinkedIn, or other networks, and they do not call those network APIs.<\/p>\n\n<p>Displayed total = Starting count (optional) + click counts on your site.<\/p>\n\n<h4>Shortcodes<\/h4>\n\n<ul>\n<li><code>[hyshare_share_buttons]<\/code> \u2014 display the share bar<\/li>\n<li><code>[hyshare_share_count]<\/code> \u2014 display the share count only<\/li>\n<\/ul>\n\n<h4>Privacy<\/h4>\n\n<p>To limit rapid repeat clicks, the plugin may store a short-lived technical key (based on post ID and visitor IP) as a WordPress transient. This is used only to prevent count spam, is not sold, and is not used for advertising.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin constructs share links that open third-party social network share dialogs when a visitor clicks a share button. No data is sent automatically by the plugin server-side; the browser navigates (or opens a new tab) to the chosen network\u2019s share endpoint with the current page URL and title.<\/p>\n\n<p>Services used (when the corresponding network is enabled):<\/p>\n\n<ul>\n<li>WhatsApp (api.whatsapp.com) \u2014 opens WhatsApp share with pre-filled text. Terms: https:\/\/www.whatsapp.com\/legal\/terms-of-service Privacy: https:\/\/www.whatsapp.com\/legal\/privacy-policy<\/li>\n<li>Telegram (t.me) \u2014 opens Telegram share. Terms: https:\/\/telegram.org\/tos Privacy: https:\/\/telegram.org\/privacy<\/li>\n<li>Facebook (facebook.com) \u2014 opens Facebook sharer. Terms: https:\/\/www.facebook.com\/terms Privacy: https:\/\/www.facebook.com\/privacy\/policy<\/li>\n<li>X \/ Twitter (x.com) \u2014 opens post composer. Terms: https:\/\/x.com\/tos Privacy: https:\/\/x.com\/privacy<\/li>\n<li>LinkedIn (linkedin.com) \u2014 opens share-offsite. Terms: https:\/\/www.linkedin.com\/legal\/user-agreement Privacy: https:\/\/www.linkedin.com\/legal\/privacy-policy<\/li>\n<li>Pinterest, Reddit, Bluesky, Threads, Nextdoor, and other networks listed in the plugin settings \u2014 each opens that network\u2019s public share\/intent URL with the page URL (and sometimes title). Consult each network\u2019s own terms and privacy policy.<\/li>\n<\/ul>\n\n<p>No personal data is transmitted by the plugin itself beyond what the visitor\u2019s browser sends when following a normal share link. The plugin does not register with or call network APIs in the background.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> or install the ZIP via <strong>Plugins \u2192 Add New \u2192 Upload<\/strong>.<\/li>\n<li>Activate <strong>HyShare Social Share Buttons<\/strong> through the <strong>Plugins<\/strong> menu.<\/li>\n<li>Go to <strong>HyShare<\/strong> in the admin menu to configure networks and display options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"are%20these%20official%20facebook%20%2F%20x%20share%20counts%3F\"><h3>Are these official Facebook \/ X share counts?<\/h3><\/dt>\n<dd><p>No. Counts track share <strong>button clicks on your site only<\/strong>. They are not pulled from social network APIs.<\/p><\/dd>\n<dt id=\"what%20is%20the%20starting%20count%3F\"><h3>What is the starting count?<\/h3><\/dt>\n<dd><p>An optional number you can set globally or per post. It is added to click counts when showing the total. It is not a claim of external network shares.<\/p><\/dd>\n<dt id=\"can%20i%20set%20a%20different%20starting%20count%20per%20post%3F\"><h3>Can I set a different starting count per post?<\/h3><\/dt>\n<dd><p>Yes. Edit a post and use the <strong>HyShare Share Counts<\/strong> box in the sidebar.<\/p><\/dd>\n<dt id=\"does%20it%20work%20on%20mobile%3F\"><h3>Does it work on mobile?<\/h3><\/dt>\n<dd><p>Yes. You can control mobile visibility and whether labels show as icons only on small screens.<\/p><\/dd>\n<dt id=\"how%20do%20i%20place%20buttons%20in%20a%20custom%20location%3F\"><h3>How do I place buttons in a custom location?<\/h3><\/dt>\n<dd><p>Use the shortcode <code>[hyshare_share_buttons]<\/code> in content, widgets (if shortcodes are enabled), or a block that supports shortcodes.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed CSV export: report data is no longer HTML-escaped, which previously corrupted quotes and ampersands and produced a malformed file<\/li>\n<li>CSV cells are now escaped for CSV context per RFC 4180, with protection against spreadsheet formula (CSV) injection<\/li>\n<li>Renamed shortcodes to unique, prefixed names: [hyshare_share_buttons] and [hyshare_share_count]<\/li>\n<li>Renamed the admin page slug from the generic \"share-buttons\" to \"hyshare-social-share-buttons\" to avoid conflicts<\/li>\n<li>Fixed admin styles and scripts not loading, caused by the settings page slug not matching the asset enqueue check<\/li>\n<li>Admin menu labels are now translatable<\/li>\n<li>Added an explicit capability check on the CSV export handler<\/li>\n<li>Post meta input in the editor metabox is now unslashed and sanitized before use<\/li>\n<li>Shortcodes are now registered in all contexts, so content rendered via admin-ajax, the REST API, or page builders resolves them correctly<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Distinctive plugin name and slug (HyShare branding)<\/li>\n<li>Documented third-party share services in readme<\/li>\n<li>Hardened settings sanitization (whitelist only known keys)<\/li>\n<li>Contributors list updated to match WordPress.org username<\/li>\n<li>Text domain updated<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release<\/li>\n<li>Share buttons, click-based counts, starting count offset<\/li>\n<li>Floating bar, shortcodes, stats, CSV export<\/li>\n<li>25+ networks, mobile options, dark mode<\/li>\n<\/ul>","raw_excerpt":"Add distinctive social share buttons with optional click-based counts, a floating bar, and shortcodes. Built by Himanshu Yadav (HyShare).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/349711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=349711"}],"author":[{"embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/himanshuyadaven"}],"wp:attachment":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=349711"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=349711"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=349711"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=349711"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=349711"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=349711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}