What is Shared Counts plugin?
Shared Counts is a lightweight, performance-focused WordPress social sharing plugin developed by the team at ShortPixel. Its design philosophy is minimal — it provides clean, fast-loading sharing buttons with accurate share count display, without the JavaScript overhead, external script loading, or complex configuration of larger social sharing plugins. Shared Counts loads its assets locally, supports only the most commonly used sharing networks (Facebook, Twitter/X, Pinterest, LinkedIn, Email), and caches share counts in WordPress’s transient system to avoid per-page API calls.
The plugin is completely free with no premium version. Its target audience is performance-conscious WordPress users who want sharing buttons that do not negatively impact Core Web Vitals scores. Shared Counts supports the standard placement positions (before content, after content, floating) and provides a clean shortcode API for custom placement. The shared count caching system can be configured from 5 minutes to 24 hours depending on how frequently count updates are needed.
Shared Counts is best suited for sites where performance is the primary concern and sharing button features are secondary. For more advanced features like click-to-tweet, Pinterest image control, per-post OG customization, or extensive network support, Social Warfare or Social Snap provide more functionality at the cost of some performance overhead.
Need Help With Shared Counts Setup, Troubleshooting, or Customization?
Need help with Shared Counts? Whether you are dealing with errors, broken functionality, styling problems, plugin conflicts, or advanced customization, we can help you fix the issue and get the plugin working properly on your WordPress site.
Get Shared Counts Expert HelpKey Features
- Sharing buttons for Facebook, Twitter/X, Pinterest, LinkedIn, Email (core networks)
- Share count display with API retrieval and caching
- Count caching in WordPress transients to prevent per-page API calls
- Local script loading — no external CDN dependencies
- Multiple button styles and color options
Pros & Cons
Pros
- Fastest-loading social sharing plugin — minimal JavaScript, local assets, cached counts
- Completely free with no feature limitations or upgrade prompts
- Developer-friendly hooks system allows extension without plugin modification
Cons
- Limited to core social networks — no Reddit, WhatsApp, Telegram, or 100+ network support like AddToAny
- No click-to-tweet, Pinterest image control, or advanced OG customization
Free vs Premium
Completely free. No paid version.
Common Problems & Fixes
Shared Counts is displaying "0" for all networks even though content has been shared. How do I fix share count retrieval?
Shared Counts retrieves counts from platform APIs and caches them. If counts show as 0: (1) the initial API request may not have occurred — counts are retrieved on first page visit after publication; (2) clear the Shared Counts count cache in the plugin settings (or clear WordPress transients) to force a fresh API request; (3) Facebook count retrieval now requires App credentials — add your Facebook App ID in Shared Counts settings; (4) Twitter/X removed public share count API access — Twitter counts will always show 0; (5) verify the URL being counted exactly matches the canonical URL of the post.
Shared Counts buttons are not showing the correct button style — they appear unstyled or with wrong colors. How do I apply the correct style?
In Settings → Shared Counts → Display, select the button style from the available options (flat, flat-large, gray, official, rounded, etc.). Save settings and clear all caches. If buttons appear unstyled even after selecting a style: (1) a caching plugin may serve the page with old CSS; (2) the Shared Counts CSS file may be blocked by a performance plugin’s CSS exclusion rules — add Shared Counts to the CSS exclusion list; (3) a theme CSS rule may override Shared Counts button styles — use browser DevTools to check for competing styles.
Shared Counts floating buttons are covering important page content on mobile. How do I disable the floating bar on mobile?
Shared Counts floating bar can be controlled via CSS. Add to your theme’s custom CSS: @media (max-width: 768px) { .shared-counts-float { display: none !important; } } This hides the floating bar on mobile devices while keeping it visible on desktop. The above/below content buttons still display on mobile for sharing access. For a cleaner approach, use the Shared Counts shortcode [shared_counts] to manually position buttons within the content where they work well on all screen sizes.
Customization & Developer Notes
How do I use Shared Counts to display sharing buttons only on specific post categories?
Shared Counts does not have built-in category-level display conditions. Use a filter in your theme’s functions.php: add_filter(“shared_counts_display”, function($display) { if (is_category(“news”) || in_category(“news”)) { return false; } return $display; }); This example hides buttons for posts in the “news” category. Replace “news” with your category slug or ID. For other condition types (post format, user role, page type), use the appropriate WordPress conditional functions.
How do I add Shared Counts sharing buttons to a WooCommerce product page?
Use the Shared Counts shortcode [shared_counts] in a custom WooCommerce product description section or use a WordPress action hook. Add to functions.php: add_action(“woocommerce_after_single_product_summary”, function() { echo do_shortcode(“[shared_counts]”); }, 15); This adds Shared Counts buttons below the product summary. Adjust the priority number (15) to position the buttons before or after other WooCommerce content sections.
Frequently Asked Questions
Is Shared Counts faster than Social Warfare?
Yes — Shared Counts is generally faster than Social Warfare. Shared Counts loads minimal JavaScript and CSS from the local server, while Social Warfare loads more JavaScript for its feature-rich button system. For sites where page speed scores and Core Web Vitals are a priority, Shared Counts’s minimal footprint is measurably better. The trade-off is Social Warfare’s richer features (click-to-tweet, Pinterest image control, per-post OG settings) that justify its additional load for content-focused sites where sharing is a primary traffic channel.
Does Shared Counts work with AMP (Accelerated Mobile Pages)?
Shared Counts does not have specific AMP support built in. For AMP pages (using the AMP plugin), standard JavaScript-based sharing buttons are not compatible with AMP’s strict validation requirements. AMP pages typically use AMP-specific social sharing components. AddToAny Share Buttons is the recommended plugin for sites that require AMP compatibility, as it includes built-in AMP support.
Can Shared Counts break after updates?
Yes, that can happen, especially on older sites with many plugins. This usually happens when the plugin, theme, and add-ons are updated out of sequence. In most cases, testing on staging catches the issue before it reaches the live site. From experience, backups and changelog reviews save a lot of cleanup time.
What should I check before installing Shared Counts?
Start by checking whether another plugin already does the same job. In most cases, overlap is what creates avoidable conflicts and performance issues. A common issue is installing a plugin because it looks convenient without checking the stack first. From experience, a short compatibility review avoids most of the pain later.