Shared Counts – Social Media Share Buttons


Shared Counts is a WordPress social media share buttons plugin. Sharing buttons increase traffic and engagement by helping readers share your posts and pages to their friends on social media.

Included Buttons
– Facebook Share Button
– Pinterest Pin Button
– Yummly Button
– Twitter Tweet Button (using the third-party API)
– Email Sharing
– Share Count Total
– Print Button
– LinkedIn Share Button

Facebook, Pinterest, Yummly, and Twitter buttons support social count display and tracking.

Basic Usage

In Settings > Shared Counts you can select where the share buttons can appear automatically (Before Content, After Content, Before & After Content). When editing a post, you can use the checkbox in the ”Shared Counts” box in the right column to disable the automatic buttons on this specific post.

You can use the [shared_counts] shortcode to manually display the buttons.

Styling and Display

We include many share button styling options, so you can pick the perfect look for you site. Additionally, you can automatically insert the share buttons before and/or after the post content. Want granular or manual control? No problem! You can also use the [shared_counts] shortcode to insert them inside your content as you see fit.

HTTP Recovery / Upgrading to HTTPS

We provide a one-click option to retrieve both HTTP and HTTPS share counts, ensuring you don’t lose your share counts when upgrading your website to HTTPS.


Unlike other social sharing tools, this plugin does not use cookies, tracking scripts, or store any user data.


Shared Counts was created with site performance in mind, even at large scale. It is used on several large websites that get tens of millions of page views each month. Our unique and creative caching methods have a minimal affect on site overhead. Leveraging the API, we can retrieve (almost) all share counts in a single request.


Additionally, Shared Counts was built to be developer friendly! We provide very liberal usage of hooks and filters. Everything is customizable and the possibilities are near limitless. Unlike other plugins all data (counts) are stored and cached in post_meta which makes it easy to access for extending (e.g. fetch top 10 most shared posts on your site). We have extensive documentation on our website and we’re also on GitHub.

Add On Plugins


For details on this please see the Shared Counts website and our GitHub wiki.


If you find an bug or problem, please let us know by creating an issue.


Contributions are welcome!

  1. Open an Issue on GitHub.
  2. Fork Shared Counts on GitHub.
  3. Create a new branch off of develop; branch name should be issue/### to reference the issue.
  4. When committing, reference your issue and provide notes/feedback.
  5. Send us a Pull Request with your bug fixes and/or new features.


  • Available styles


  1. Download the plugin from GitHub. or from
  2. Activate plugin.
  3. Go to Settings > Shared Counts to configure.

We recommend you sign up for a free account at, which lets you receive share counts from all services (except Twitter) with a single API query. Alternatively, you can select ”Native” as the count source and select which services you’d like to query. If you select all 5 native service queries, then you will have 5 separate API queries every time share counts are updated.

If you would like to include Twitter share counts, you can sign up for a free account at


7 maj 2024
I have installed your plugin version 1.4.1 in my website and because of nonce validation lack in hook wp_ajax_nopriv_shared_counts_email, my server was down for a whole day!! The logs? DDoS Attack in wp-admin/admin-ajax.php with POST these data: Array ( [action] => shared_counts_email [postid] => [recipient] => [name] => 开沪立送58礼金- -ぃAG视讯豪华厅,直播美女陪您决战到天亮,大额无忧; [email] => [validation] => [nonce] => ) Using nonces in ajax requests is fundamental principle of WordPress development…
3 april 2024
It was not supported on Zeever theme and the social share buttons was spread all over the post content multiple instances of social share buttons was displayed and there was no other option to fix it.
20 december 2022
Great support! It was not even a problem with the plugin, but Bill helped me grandly. Thanks again!
13 september 2022 6 svar
The developers reached out immediately to resolve my concerns. The plugin works very well on the sites I put them on.
20 mars 2022
This is a very nice plugin to have but, there is no clear or intuitive way to set it up. It seems like the questions in the Setting panel are good questions to have as options but when you go to use the plugin meta boxes in the individual post’s editor, there is no clear way to ”do anything” with the plugin. I believe it is lacking the simple instructions as to what each functionality or button is supposed to do. It will say ADD URL, for example, in the post editor metabox. And there is not a way of knowing what the url is or where it is going or what it is going to do if you enter the url. Then it has a widget to add a new image which, I assume is going to be used as the image that is SENT to social media but, that too is unclear as to what the image ”does.” Very ambiguous and lacks the UI/UX needed to use in confidence.
31 augusti 2021
Works best with my theme. No errors in code or problems with caching. It’s a shame that it is no longer being developed and that the last update was some time ago. Thank you!
Läs alla 28 betyg

Bidragsgivare och utvecklare

”Shared Counts – Social Media Share Buttons” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Shared Counts – Social Media Share Buttons” har översatts till 1 språk. Tack till översättarna för deras bidrag.

Översätt ”Shared Counts – Social Media Share Buttons” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.


– Changed: Replaced server side email with a mailto link to remove the possibility of spam, see #131
– Changed: Updated the Twitter logo to X, see #129
– Changed: Removed jQuery dependency, see #113
– Changed: Use esc_url() for sharing links, see #130

– Added: Only update share count if larger than currently saved service count (prevents zero counts when API is down), see #51
– Added: Accessibility improvements around email share modal, see #112
– Changed: Allow theme file editor to work if Count Source is set to ’none’, see #120
– Changed: Updated Native Facebook counts to work with new Facebook API, see #98
– Changed: Dashboard widget only appears if there are posts with share counts, see #83
– Changed: Ensure input fields are full width in email modal, see #77
– Changed: Fixed edge case where buttons show 0 count when source set to ”None”, see #81
– Changed: Improved fancy style in small areas, see #58

– Added: Filter for changing services used by location: shared_counts_display_services.
– Added: Admin bar stats.
– Added: Support for Twitter counts using, props @robert-gillmer.
– Added: Automatic social share tracking with Google Analytics.
– Added: Add support for fastcgi_finish_request when updating counts.
– Added: Specific services can be defined in shortcode via services attribute (comma separated).
– Changed: Pass post_id to needs_updating method.
– Changed: Removed support for Google+ and StumbleUpon (RIP).
– Changed: Default letter-spacing to normal on button labels.
– Changed: Hide Total Counts button if empty and ”Hide Empty Counts” setting is enabled.
– Fixed: Pinterest JS API conflict.
– Fixed: Multiple spaces between some CSS classes inside markup.
– Fixed: Twitter URL encoding issue with special characters in text.
– Fixed: Email counts not tracking, props @thartl.
– Fixed: Showing ”Preserve HTTP Counts” setting when Count Source is None.
– Fixed: Enabling various settings by default on initial save.
– Fixed: When sorting posts by share count in the admin, posts with zero shares are now included.
– Fixed: Data attributes are filterable.

– Added support for Pinterest Image add-on plugin
– ”Hide empty counts” checkbox now works correctly
– Pinterest ”Pin it” JS no longer modifies our pinterest button
– Metabox is now always visible, allowing you to disable share buttons even if not collecting counts

– Internal ”prime the pump” method now includes all supported post types. Can be used with this plugin to view the status of the cache and mass update posts.
– Improved compatibility with Genesis theme framework.

– Added Yummly share count support/tracking.
– Added Proper rel tags for share buttons for security and SEO.
– Added caching via transient for Most Shared Content admin dashboard widget.
– Removed code for LinkedIn/Google+ share counts, as they are no longer supported.
– Added available buttons setting description to indicate which buttons support share counts.
– Fixed reCAPTCHA issue in the email sharing modal.
– Fixed encoded characters in the ”From Name” email setting.

– Email sharing modal can now be closed by clicking outside the modal or pressing the ESC key.
– The minified stylesheet has been rebuilt. It was missing some styles.

– Initial release.