Skip to content

An independent handbook for WordPress share buttons

Social share buttons for WordPress, explained step by step

Plugin-neutral guides for site owners who want share buttons that load fast, share counts that are honest, and link previews that show the right picture. Every guide answers one question you are likely to be searching for with a settings screen open.

27guides, one question each
05sections in the index
0ads, cookies or affiliate links

The index

Every guide on the site, numbered. Each row says what the guide answers, so you can find your problem in one scan. If you arrived from an old link to a plugin page or a documentation article, you were sent to the guide that covers the same task today.

Everything about social share buttons on WordPress: adding them, choosing networks, sticky bars, mobile, styling, speed, privacy and short links.

  1. How to add social share buttons to WordPressAdd social share buttons to WordPress with a plugin, a block, or plain links in your theme. Placement, networks, counts and the checks to run afterwards.4 min read
  2. Which share networks to show, and how manyHow to choose which social share buttons to display: match networks to your audience, keep the row short, and add copy link, email and messaging options.3 min read
  3. Sticky and floating share bars: when they helpSticky share bars and floating sidebars keep buttons visible while readers scroll. Where to place them, when they hurt, and how to avoid layout shift.3 min read
  4. Share buttons on mobile: layout, size and native sharingMake share buttons work on phones: tap target sizes, one-line rows, bottom bars, the native share sheet, and how to show different buttons on small screens.3 min read
  5. Highlight to share: letting readers share selected textHighlight to share lets readers select a sentence and share it with a link back. How it works, when it helps, accessibility concerns, and a lightweight setup.3 min read
  6. Click to tweet boxes: how to build them in WordPressBuild a click to tweet box in WordPress with a block or a simple link. Wording, the 280 character limit, how links are counted, and how to style the quote.3 min read
  7. Follow prompts, like bars and share popupsAfter-share follow prompts, Facebook like bars and share popups: what they were, which still work, and how to ask for a follow without annoying readers.3 min read
  8. Styling share buttons with CSSStyle WordPress share buttons with CSS: override colours and text safely, keep focus states, use one icon style, and match your theme in both modes.3 min read
  9. Share buttons and page speedWhy some share buttons slow WordPress pages and others cost almost nothing. How to measure the impact, and what to change to keep sharing fast on every page.3 min read
  10. Share buttons and GDPR: what needs consentWhich share buttons need consent under GDPR and ePrivacy rules, why plain share links usually do not, the two-click pattern, and privacy policy wording.3 min read
  11. Bitly short links for share buttons: getting an access tokenHow to get a Bitly access token for your WordPress share buttons, where to paste it, why short links fail, and when you do not need short links at all.3 min read

Social share counters: how the numbers work

Section overview for Social share counters: how the numbers work

How social share counters get their numbers, why counts break or disagree, Facebook access tokens and app IDs, the Graph API, and tracking shares yourself.

  1. How share counts work, and why most networks stoppedHow Facebook and other networks calculate share counts, why X, LinkedIn and others removed them, what a share counter really shows, and how plugins fetch it.3 min read
  2. Facebook share count: getting it from the Graph APIHow to get the Facebook share count for a URL from the Graph API, why the old REST API stopped working, rate limits, and how plugins should cache the result.3 min read
  3. Share count not updating or not accurate: a fix listShare counts stuck, stuck at zero or wrong? Work through tokens, caches, cron, URL variants and rate limits in order, and why you should never add fake shares.3 min read
  4. How to create a Facebook access tokenCreate the right Facebook access token for share counts and plugins: user, page and app tokens compared, how long each lasts, and how to keep the token safe.3 min read
  5. How to create a Facebook app IDCreate a Facebook app ID for share counts, the fb:app_id tag and sharing plugins: the dashboard steps, the settings that matter, and vanishing like buttons.3 min read
  6. Tracking shares and pageviews in analyticsTrack share button clicks as analytics events, tag shared links with campaign parameters carefully, and read shared traffic in referrer reports without cookies.3 min read

Open Graph tags: control your link previews

Section overview for Open Graph tags: control your link previews

Open Graph tags decide the title, text and image networks show when your pages are shared. Setup in WordPress, image sizes, Twitter cards and wrong previews.

  1. Adding Open Graph tags in WordPressAdd Open Graph tags to WordPress with an SEO plugin or theme code: the four required tags, image tags, per-post overrides, and how to avoid duplicate tags.3 min read
  2. Facebook showing the wrong image or share textFix Facebook showing the wrong image or text when you share a WordPress post: duplicate tags, small images, cache, blocked crawlers, and the Sharing Debugger.3 min read
  3. Twitter cards on X: tags and testingSet up Twitter card tags so links to your WordPress posts show a large image on X: the summary_large_image card, fallbacks to Open Graph, sizes and testing.3 min read
  4. Open Graph image size: 1200 by 630 and the safe zoneThe right Open Graph image size is 1200 by 630 pixels at a 1.91:1 ratio. Minimums, file limits, formats, and a centre safe zone for square crops.3 min read

MashShare: the plugin's history, closure and what to do now

Section overview for MashShare: the plugin's history, closure and what to do now

MashShare was a WordPress share buttons plugin sold here until it closed in 2025. What it was, what happened, and what to do if your site still runs it.

  1. MashShare add-ons: what each one didA plain record of the MashShare add-ons and licences once sold on this domain, what each feature did, and where to find a current guide to the same feature.3 min read
  2. MashShare alternatives: choosing a replacement share pluginMashShare was closed in 2025. How to choose a replacement share plugin: features to compare, questions to ask, and when plain links are the better answer.3 min read
  3. Removing MashShare cleanly from a WordPress siteRemove MashShare from WordPress without breaking posts: find leftover shortcodes and theme calls, decide what to do with stored share counts, and clean options.3 min read

Short, practical WordPress notes that share plugins keep running into: troubleshooting order, deprecated function notices, and replacing WP-Cron with real cron.

  1. Fixing the get_currentuserinfo() is deprecated noticeWhat the get_currentuserinfo() is deprecated notice means, how to find the plugin or theme calling it, and the one-line fix using wp_get_current_user().3 min read
  2. External cron jobs for WordPress, the right wayReplace WP-Cron's visit-triggered schedule with a real server cron job: disable WP-Cron, call wp-cron.php or WP-CLI on a schedule, and check tasks actually run.3 min read
  3. Plugin troubleshooting: what to try firstTroubleshoot a WordPress plugin problem in a safe order: caches, conflicts, debug logging, recovery mode, and disabling a plugin when the admin is down.3 min read

About this handbook

mashshare.net explains how sharing works on WordPress sites without selling anything: how to add share buttons, which networks to show, why share counts break, how to get the tokens and app IDs networks ask for, and how to make link previews show the right image. Guides are plugin-neutral, reviewed against a working install, and dated.

mashshare.net is an independent publication. It is not affiliated with, endorsed by, or connected to the MashShare plugin or its former developers; the name reflects this domain's history. If you are looking for the plugin itself, the MashShare record explains what happened to it and what to do if your site still runs it.

Hannah Voss, Editor. Checks every guide against a working WordPress install and the networks' current documentation. Last reviewed September 2026.