Social Media Share Buttons | MashShare

Wordpress Plugin
Download latest - 3.8.6



Download Stats

Today 968
Yesterday 549
Last Week 4,556
All Time 1,308,550
Banner 772x250

MashShare - The Social Media Share Buttons Ecosystem (Twitter count supported with Social Network Add-On)

A free Social Media Share Buttons Plugin, professional and highly customizable
ecosystem for social media sharing and optimizing your valuable content.

Important for EU users: MashShare is DSGVO compliant!
No IP data or any other personal data is sent to third parties or collected at all.

Stop slowing down your website and prevent ranking loss. Other social share buttons are often using external scripts which are increasing loading times. MashShare is using NO external script dependencies. All code is loaded directly from your website and MashShare ensures your and your visitor's privacy!

  • New: Most Shared Posts Widget
  • New: Async share count aggregation for Share Buttons share count
  • New: Dashboard for total share buttons share count on posts screen
  • New: Short URL integration for share buttons
  • New: Support for Accelerated Mobile Pages (AMP) when using the official WordPress AMP plugin

Installation [youtube]

It gives you per default a large total share button counter beside three large prominent Share Buttons for your Twitter tweets, Facebook share, and the option
to place a prominent subscribe button for your news feed and mailing list. These services are free per default including great support. There is no need to create an account!

We also offer free Add-Ons for specifying social sharing image, title, description, and Twitter hashtags and think this is satisfying for most website owners who need a free and effective working social sharing solution.

If you need share buttons fore Whatsapp, Pinterest, Mail,
Print, Linkedin, Odnoklassniki, etc., you get them on the Add-On Marketplace.

MashShare can also be used in conjunction with other third-party share buttons vendors!

Free and paid Add-Ons available for:

  • More Social Share Buttons
  • YouTube Video Share Popup
  • Share Button Responsive
  • Sticky Share bar
  • Social Sharing Optimization
  • Google Analytics
  • and more...

Demo | More Add-Ons >>

Social Media Share Buttons

This Social Media share buttons plugin in active development and will be updated regularly - Please do not rate negative before we tried to solve your issue.

Main Features

  • High-Performance Social Media Share Buttons - easy to use - Share Buttons for the most common networks
  • High-Resolution lossless vector font share button icons
  • Show the Total Social Media Share count at a glance
  • Object and transient caches to provide incredibly fast execution speed of Social Media Share Button Icons
  • Shortcodes
  • Extensible with many Add-Ons (Google Analytics, More Social Networks, Responsive, YouTube Video Share and more...)
  • Developer friendly with several filters and actions.
  • Highly customizable
  • Smart (virtual) share button count function. Add virtual shares to new articles. Use psychological aspects to increase real shares.

Recent Changes and New Features:

  • Social Media Share Buttons Icons with Improved performance
  • Option to disable Social Media share button count completely (no SQL queries will be generated any longer)
  • Shortcode option to disable share counts
  • Checking if curl is working on the server
  • Option to disable share count cache for testing purposes
  • Use of sharp and crisp clear font Social Media Icons instead Social Media Icons images
  • Button 'extra content' for content slider subscribe forms or any other content New: Use a link for the Subscribe button instead of the toggle dropdown
  • Complete rewrite of CSS for easier modifications
  • Improved MashShare Social Media Share Button extension system
  • Improved backend, new MashShare Social Media Share Button Add-On page
  • Multi-language capable, *.po files
  • Change color of share counts via setting
  • Count up animation for share buttons counts (Does not work for shortcodes and on blog pages)
  • HTML5 Tag < aside > wrapped around to tell search engines that the share buttons are not part of the content
  • Plus button moves to end of share buttons when activated and does not stay longer in place.
  • Drag and drop sort order of share buttons services.
  • Enable desired Social Media share buttons Icons with one click
  • Choose which Social Media network should be visible all the time This one will be large-sized by default. Other Social Media networks are behind the plus sign
  • Three different effective share button styles - Less is more here
  • Choose border radius of the Social Media buttons
  • Keep settings when share buttons are uninstalled - optional
  • Custom CSS field for the individual styling of the social media share buttons

Social Media Add-Ons available for

  • Google / G+
  • Whatsapp (Whatsapp button is shown only on mobile devices)
  • Pinterest
  • Digg
  • Linkedin
  • Reddit
  • Stumbleupon
  • Vk / VKontakte
  • Print
  • Delicious
  • Buffer
  • Weibo
  • Pocket
  • Xing
  • Tumblr
  • Mail
  • ManageWP
  • Meneame
  • Odnoklassniki
  • Frype / Draugiem
  • Skype
  • Flipboard
  • Hackernews

High Performance

MashShare Social Media ecosystem is coded well and developed for high performance. Its making full use of available persistent and non-persistent caching techniques. MashShare loads only the Javascript and PHP object classes it needs at the moment of execution, making it small and fast, and easily extensible by a third-party developer.

How fast is MashShare?

We published benchmarks of using MashShare compared with other plugins here:


  • Use [mashshare] anywhere in pages or post's text to show the buttons and total share count wherever you like. Share Buttons will be shown exactly on the place where you copy the shortcode in your content.

There are more parameters available:

  • Embed Share Buttons in pages or posts: [mashshare]
  • Buttons without sharecount: [mashshare shares="false"]
  • Sharecount only: [mashshare buttons="false"]
  • Share buttons alignment: [mashshare shares="false" buttons="true" align="left|right"]
  • Shortcode in template files via php: echo do_shortcode('[mashshare]');
  • Custom url: [mashshare url=""]
  • Custom share text: [mashshare text="This is my custom share text"]

  • For manual insertion of the Share Buttons in your template files use the following PHP code on the place you like to see the share buttons:echo do_shortcode('[mashshare]'); Configure the Share buttons sharing function in the settings page of the plugin.

  • Change the color of MashShare count with the setting option.

Full SEO third party plugin support MashShare integrates with All in One SEO Pack and WordPress SEO by Yoast. Any description and title which is defined in Yoast open graph settings will be used by MashShare Open Graph Settings

** GitHub ** Follow the development and improve MashShare. You find us on GitHub at

** Languages **

MashShare has been translated into many languages:

  1. English
  2. German
  3. Spanish
  4. Turkish
  5. Italy
  6. Portuguese (Brazil)

Please help to translate the share button plugin into more languages:

How does it work?

MashShare makes use of public available API endpoints that are delivered by social networks. It periodically checks for the total count of all your Facebook and Twitter shares and cumulates them. It then shows the total number beside the Share and Social Media Icons. No need to embed dozens of external slow loading scripts into your website.

How to install and setup?

Install it via the admin dashboard and to 'Plugins', click 'Add New' and search the plugins for 'MashShare'. Install the plugin with 'Install Now'. After installation go to the settings page Settings->MashShare and make your changes there.

Releases (75 )

Version Release Date Change Log
3.8.6 2022-11-07
  • New: Compatible up to WordPress 6.1
  • Fix: Fatal error in RolingCurlX library on PHP 8
3.8.5 2022-08-27
  • Fix: Add missing sanitization and escaping of input and output values to prevent possible XSS attempts.
3.8.4 2022-08-19
  • Fix: Improve sanitization on input values and escape output values. Fixes a low severity Authenticated Stored Cross-Site Scripting (XSS) vulnerability
3.8.3 2022-07-27
  • Fix: Undefined warning on php 8.1
3.8.2 2022-07-25
  • New: Compatible up to WordPress 6.0.1
  • Fix: Do sanitization on input values. Fix a low severity Authenticated Stored Cross-Site Scripting (XSS) vulnerability
  • Tweak: Move jQuery nearest library on top of MashShare JS
  • Tweak: Implement PHP 8.1 compatibility support
  • Tweak: Clean up code and
3.8.1 2022-03-07
  • New: Compatible up to WordPress 5.9
  • Fix: Make MashShare compatible with PHP 8.x
  • Fix: Don't request share count for preview pages. This fixes an artificially high share count on initial post creation
3.7.9 2021-02-09
  • New: Compatible up to WordPress 5.7
3.7.8 2020-11-06
  • New: Compatible up to WordPress 5.5.3
3.7.7 2020-08-19
  • Fix: Network drag and drop does not work in WordPress 5.5
  • Fix: Undefined var warning
  • New: PHP 7.4 compatibility
3.7.6 2020-06-18
  • Fix: Minify mashsb-amp.css
3.7.5 2020-04-25
  • Fix: Validate Open Graph Data button is broken
3.7.4 2020-04-04
  • New: Supports up to WordPress 5.4
  • Fix: Share count not collected for all pages on large sites with huge traffic if caching plugins are used
3.7.3 2020-03-20
  • New: Support for whatsapp web. Social network add-on needed
  • New: Supports up to WordPress 5.4
  • Fix: Show correct results if debug mode is active and integration works.
3.7.2 2019-11-13
  • New: Compatible to WordPress 5.3.0
3.7.1 2019-11-03
  • Fix: Shares are not updated as intended
3.7.0 2019-10-31
  • Fix: PHP Warning: Invalid argument supplied for foreach() in meta-box.php
  • Fix: Set the share count query rate limit to 1req/5min
  • New: Compatible up to WordPress 5.2.4
3.6.9 2019-08-31
3.6.8 2019-08-20
  • New: Add new filter mashsb_allowed_post_types for allowing or disabling share counts on particular posts types to lower the api requests to
  • Tweak: lowered their free api limit to 500 daily requests. Change description in MashShare!
3.6.7 2019-08-13
  • Fix: Whatsapp sharing does not work
3.6.6 2019-07-30
  • Tweak: Added an extra check for HTTP_HOST to make it more compliant with cron jobs and/or API workers
3.6.4 2019-05-17
  • New: Compatible up to WordPress 5.2
  • Fix: Do not call the facebook api directly any longer
  • Fix: Undefined variable notice after uninstallation and deleting all MashShare settings an installation again
3.6.5 2019-05-17
  • Fix: Share count not collected with async caching method
3.6.3 2019-04-27
  • Fix: Option Cumulate Http(s) Shares not working for API endpoint
  • Fix: Tweets can be requested via
  • Fix: Async cache refresh not fired
  • New: Performance Improvements in collecting sharecount
  • New: Switch default share method to refresh while loading
  • New: If yoast twitter title and description is populated the mashshare generated twitter card will use this settings but still allows to define a custom tweet text.
3.6.2 2019-04-23
  • New: Necessary change because of new facebook API
  • New: Remove mashengine
  • New: Remove GDPR option. Not needed any longer as all shares are collected via
  • New: Add admin notice notifying user of new facebook API.
3.6.1 2019-02-21
  • Fix: Whatsapp and mail button not opening any longer after recent chrom update when noopener attribute is used.
  • New: Support WordPress 5.1
3.6.0 2019-02-05
  • Fix: Social Sharing Meta Box not shown with update 3.5.9
3.5.9 2019-02-05
  • Fix: Better wording for gdpr complicance in its settings
  • Fix: Do not output any open graph tags if share options meta box is disabled
  • Fix: Prevent facebook popup opening twice and causing chrome blocker
  • New: Integration of to get twitter shares back
3.5.8 2019-01-10
  • New: Compatible up to WordPress 5.0.3
  • Fix: Make sure to not disable TLS while using native curl implementation
3.5.7 2018-12-14
  • New: Compatible up to WordPress 5.0.1 Gutenberg
  • New: Option to hide MashShare share options editor meta box completely
3.5.6 2018-11-22
  • Fix: Security fix to prevent XSS attacks
3.5.5 2018-10-15
  • Tweak: Explain better sharedcount and opensharecount integration
  • Fix: Error array_merge is not an array
  • Fix: MashShare social media meta box not shown if another plugin is using the same meta-box library
  • Fix: Incompatibility with meta-box add-ons
  • Fix: Whatsapp Button not visible on AMP pages
  • Tweak: Change welcome message
3.5.4 2018-07-22
  • New: Support for Yoast custom variables e.g. %%title%%
  • New: Add 10.000 free daily api requests
  • New: Switch from newsharecount to to collect twitter shares
  • New: Collect twitter shares with social network add-on
3.5.3 2018-05-18
  • New: Disable share count for new installations as default setting
  • New: Admin notice to recommend to disable the share count agregation to be complicant with upcoming GDPR
  • New: Compatible with WordPress 4.9.6
  • Tweak: Google short urls are not longer supported and removed
3.5.2 2018-03-30
  • Fix: Warning A non-numeric value encountered
3.5.1 2018-03-27
  • Fix: Fake shares not added after latest update
  • Fix: Do not collect shares if page is previewed. Fixes an issue where shares from a post are collected from the main page, resulting in wrong share counts
3.5.0 2018-03-26
  • New: Tested up to WordPress 4.9.5
  • New: Improved share count aggregation
  • New: Add rel="noopener" to all network buttons
  • Tweak: Remove opt-in notice
  • Tweak: Remove rate limit notice
  • Fix: Calls to networks api are still made when sharecount is disabled
3.4.8 2018-02-02
  • New: Extend shortcode and allow selection of certain networks and button size [mashshare networks="facebook,twitter,linkedin" services="3" size="small"]
  • Tweak: Remove Facebook Access Token. Will be replaced by queue processing soon to prevent exceeding facebook api limits
  • Tweak: Clean up debug mode
  • Tweak: Clean up Welcome page
  • Tweak: Clean up sidebar
  • Fix: Tweet button
3.4.9 2018-02-02
  • New: Add new short code parameter [mashshare icons=1] allows to show icon buttons only
  • Fix: Remove access token notice
  • Tweak: Lower request break to 5min if facebook api req/hours limits are reached
3.4.7 2017-11-28
  • Fix: 100% PHP7 compatibility! No more warnings with php7 compatibility checker
3.4.4 2017-11-16
  • Fix: Check fb access token not working properly
3.4.6 2017-11-16
  • New: Make use of Twitter character limit of 280 characters.
  • Tweak: Compatible up to WordPress 4.9
3.4.5 2017-09-04
  • New: Create custom values for open graph meta tag og:type, e.g video, product
  • Fix: undefined var title
  • Fix: Pinterest popup not opening when network add-on is not installed
  • Fix: Remove deprecated code and make mashsb.js smaller
  • Fix: Facebook access token validation function not working
3.4.1 2017-07-25
  • Cleaning up readme.txt. MashShare plugin has been disabled on for using too many keywords and a few other issues with its readme.txt
3.4.3 2017-07-25
  • Fix: Facebook and twitter buttons missing on multisite activations when bimber theme is used
  • Fix: Whatsapp button not shown on sticky sharebar add-on when network add-on is not installed
  • Tweak: Return a more clear error notice when access token is not valid.
3.4.2 2017-06-09
  • New: Support for PHPUnit 6
  • Fix: Move invisible sub menus from dashboard to MashShare menu section to prevent confusion if a plugin like Menu Editor Pro is active which makes even invisible menu entries visible
3.4.0 2017-04-06
  • New: Google Analytics add-on allows to append utm_source tracking params for traffic tracking with google Analytics
  • Fix: Pinterest and google plus share counts are not cummulated together with http/https option
  • Fix: Remove admin notice if Facebook access token is empty
  • Fix: Remove console.log test notice
  • Fix: Check if multi_curl_exec is allowed
  • Fix: Share count not incrementing if transient mashsb_limit_req expiration is not set. (Caused by Possible WP Bug or custom theme transient filter)
  • Tweak: Use https endpoint for facebook sharing url
3.3.9 2017-03-13
  • New: Create filters to allow customizing the refresh times
  • Fix: Sporadic connection issues in post editor
  • Fix: Pinterest and google share count not correct for https websites
  • Fix: Remove inline css on AMP site
3.3.8 2017-02-16
  • Fix: Zero shares are not shown with the use of the inline post plugin
  • Fix: jQuery nearest library not detected with older jQuery versions
3.3.7 2017-01-30
  • New: Check once a day if facebook access token is expired and throw a message
  • New: Add feedback form if user is deactivating MashShare

  • Fix: PHP Warning: A non-numeric value encountered in share count fake count option

  • Fix: Flat styled social media buttons are shadowed on a few themes

  • Tweak: Admin helper notice to create a facebook access token

  • Tweak: Check if curl_multi_init() is installed for getting social media share counts

  • Tweak: Remove mashshare css on non mashshare admin pages

3.3.6 2016-12-12
  • Fix: Custom CSS field not working since 3.3.5
3.3.5 2016-12-07
  • New: Add new Facebook Access Token to bypass the rate limit issue
  • New: Add filter 'mashsb_hide_addons' to hide add-on related sections
  • New: Add new option to hide buttons when they appear in widgets or not in main query (is_main_query conditions)
  • New: Add French language
  • New: Add Arabic language
  • New: Add Dutch language
  • New: Add Brazil language
  • New: Add Indonesia language

  • Fix: Do not remove backslash from custom css

  • Fix: Change general admin class panel-container to a more unique one

  • Fix: Check if image exists before detecting image size for twitter image

  • Fix: Twitter shortcode custom url value is ignored

  • Fix: Rate Limit Notice not working

  • Fix: Undefined var is_main_query

3.3.4 2016-10-21
  • Fix: Disabling share count still makes requests to facebook and co. Important fix to resolve facebook rate limit issues which result in stuck share count
3.3.3 2016-10-20
  • Fix: css not minified properly
  • Fix: Rewrite some code to be PHP 7 compatible
  • New: Use full size buttons for shortcode buttons
3.3.2 2016-10-19
  • Fix: Convert Quote characters in open graph title to html entities.
  • Fix: Pinterest button not working on AMP pages
  • Fix: Hackernews and Flipboard button not working on AMP pages
  • Tweak: Lower rate limit to reduce request per second to facebook network
3.3.1 2016-10-11
  • New: Integrate Facebook Rate Limiter to prevent hitting facebook api request limits and rate limit errors resulting in zero facebook share counts
3.3.0 2016-10-10
  • New: Integrate Facebook Social Media Rate Limiter to prevent hitting facebook api request limits and rate limit errors resulting in zero facebook share counts
3.2.9 2016-10-07
  • New: Better prevent excessive Rate Limit exceeding of the facebook api on high traffic sites which results in 0 facebook share counts
  • New: Create warning notices that appears when caching is disabled or cache is purged permanetely
  • New: Debug mode writes debug notices into footer of the site available only for administrators
3.2.8 2016-10-04
  • Fix: Custom field mashsb_jsonshares facebook is empty when old "refresh while loading" share count method is used
  • New: Add more unit tests to make sure that future updates do not break share count generation
3.2.6 2016-10-03
  • Fix: Google and Facebook share count not calculated correctly
  • Fix: pinit.js converts pinterest button into a pinterest native icon. Needs MashShare Networks 2.3.9 or later!
  • Tweak: Remove admin notice for creating Facebook Access Token
3.2.7 2016-10-03
  • Tweak: Remove FB access token generator
3.2.5 2016-09-13
  • Fix: Fix a bug where only for http schemed urls the shares are returned. This happens only when no FB APP secret is used.
  • Fix: Default table options are not stored on plugin update
  • Tweak: Add more unit tests to check shares for http(s)
  • Tweak: Show FB app secret admin notice only on MashShare admin pages
3.2.4 2016-09-08
3.2.0 2016-09-05
  • Fix: buttons not loading on some mobile browsers. Remove css fade-in animation
  • Fix: Button margin deactivated per default on update installation
  • New: Admin notice to show how important the new access token generation is
3.2.3 2016-09-05
  • Fix: Facebook API limit hit and share count not growing.
  • Fix: Broken url property in mashengine can lead to zero shares when FB access token is used
  • New: Hide image and excerpt in Widget Most Shared Post. Use 0 values to do so.
3.2.2 2016-09-01
  • Fix: Default settings not loaded on first time installation
  • Fix: Button Style Shadow not working
  • Fix: Cumulate Http(s) option is not counting twitter https scheme
3.2.1 2016-08-29
  • New: Post specific option in meta box social sharing settings to hide and show share buttons
  • Fix: Button margin is zero when plugin is updated after storing settings
  • Fix: Flipboard button missing on settings page
  • Fix: Buttons are small after saving admin settings. Restore default large size
  • Fix: Pinterest Button Not working on AMP pages
  • Fix: Facebook Share Button not url encoded
3.1.9 2016-08-25
  • Fix: Non missing css rules in minified css
3.1.7 2016-08-19
  • Fix: Hotfix changes facebook api endpoint
  • Fix: Remove all changes in 3.1.6 and put them into 3.1.8 for testing first the new API endpoint before creating new features
3.1.6 2016-08-19
  • IMPORTANT: This update is mandatory to get the facebook share count back!

  • New: Tested up to WP 4.6

  • New: Dynamic Button Resize Feature that expands buttons to full width ones (enabled per default on new installations)

  • New: Three more button sizes: Small | Medium | Large (Default is Medium)

  • New: Post Thumbnail in Most Shared Post widget plus extra options

  • New: Color Picker for Share count color

  • New: Button Margin Option

  • New: Button label And share icon align center option

  • New: Add Flipoard and Hacker News to the supported networks

  • New: All Fonts and CSS are located in assets folder. Template folder not used any longer for assets

  • New: Clean up the user interface and change some wordings

  • New: Changed facebook api endpoint

  • Fix: jQuery error nearest() not defined

  • Fix: Remove inline css completely when custom css is not used

  • Fix: Shortcodes not working in above and below content section

  • Tweak: default font-family sans-serif for the buttons

  • Tweak: Allow Headlines in admin settings

  • Tweak: Clean up admin js

  • Tweak: Remove deprecated sharedcount endpoint

  • Tweak: Change link to docs

  • Tweak: Create new filter mashsb_share_count

  • Tweak: Plus button as span element instead div

  • Tweak: Class mashsb-primary-buttons as wrapper for the large buttons

  • Tweak: New admin footer and several CSS improvements

3.1.5 2016-07-20
  • Fix: Twitter title for floating sidebar and sharebar add-on is wrong when on frontpages with multiple blogposts
  • Fix: Telegram button missing style in mashsb.css
  • Fix: Wrong textdomain
  • Fix: Size of inline css when using AMP Plugin is too big.
  • Tweak: Missing update notice after succesfull settings import
  • Tweak: Improve Open Graph and Twitter Card settings description
  • New: Hide User Profile MashShare meta box with setting Meta Box Visibility in general settings
3.1.4 2016-07-15
  • Fix: Remove deprecated REST API functions which are throwing errors on php 5.2
  • Fix: Change domain path to /languages
  • Fix: Change doc header of meta-box.php and remove wrong declarations
  • Tweak: Change label of User Roles Options Visibility to Meta Box Visibility Permissions
  • Tweak: remove is_admin() condition for sharecount creation. Leads to zero sharecounts on themes with bad infinite scroll implementation where is_admin() is true even on frontpage
  • Tweak: Add more translations
  • New: Support for Telegram button included in network add-on
3.1.3 2016-06-22
  • Fix: Share Buttons are not shown on a few ajax based themes. (Remove is_main_query() condition)
  • Fix: WP Shorturls are enabled per default
  • Fix: Warning message when log folder is not writeable
  • Fix: Warning message when curl_init not availabe
  • Fix: Possible Security Warning Issue Resolved when using Vaultpress
  • Tweak: New admin footer in mashshare settings pages
3.1.2 2016-06-14
  • New: Option to show Social Sharing options meta box only for specific user roles
3.1.1 2016-06-13
  • Fix: When using shortcode [mashshare] without an "services" argument the number of large buttons is wrong.
3.1.0 2016-06-12
  • Fix: Undefined var $mashsb_options
  • Fix: Default caching method async cache not working after update 2.5 > 3.x when settings were not saved manually