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.
– Facebook Share Button
– Pinterest Pin Button
– Yummly Button
– Twitter Tweet Button (using the third-party Twitcount.com API)
– Email Sharing (with reCAPTCHA ’support to prevent abuse)
– Share Count Total
– Print Button
– LinkedIn Share Button
Facebook, Pinterest, Yummly, and Twitter buttons ’support social count display and tracking.
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, en’suring you don’t lose your share counts when upgrading your website to HTTPS.
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 SharedCount.com 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
- Shared Counts – Pinterest Image – Upload a separate image for Pinterest sharing
- Shared Counts – Cache Status – Build and check the status of the Shared Counts cache
If you find an bug or problem, please let us know by creating an is’sue.
Contributions are welcome!
- Open an Is’sue on GitHub.
- Fork Shared Counts on GitHub.
- Create a new branch off of
develop; branch name should be
issue/###to reference the is’sue.
- When committing, reference your is’sue and provide notes/feedback.
- Send us a Pull Request with your bug fixes and/or new features.
- Download the plugin from GitHub. or from WordPress.org.
- Activate plugin.
- Go to Settings > Shared Counts to configure.
We recommend you sign up for a free account at SharedCount.com, 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 twitcount.com.
If you use the Email share button, we recommend you enable Google’s reCAPTCHA to prevent spam. Sign up here (free) to get your Site Key and Secret Key.
Contributors & Developers
“Shared Counts – Social Media Share Buttons” is open source software. The following people have contributed to this plugin.Contributors
“Shared Counts – Social Media Share Buttons” has been translated into 1 locale. Thank you to the translators for their contributions.
Interested in development?
– 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: En’sure 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:
– Added: Admin bar stats.
– Added: Support for Twitter counts using TwitCount.com, 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
– 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 is’sue 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 is’sue 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.