Most Share Posts

Screenshots of the Most Shared Posts plugin on various sites.

The Most Shared Posts plugin for Wordpress allows you to display, as a widget, which of your blog posts have the most social shares and are proving to be your most popular content.

download button Version 1.1.0 - 14th August 2011
hosted on


If you'd like to see this plugin in action, you can see it on this site, or you could check out Kate Morris' SEO Blog or John Doherty's SEO Blog. They both helped to test the initial version.


If you have feature requests, bug reports or you just want to show me where you are using the plugin please post a comment below or drop me an email to [email protected].

  • Fetches Facebook Likes, Twitter Tweets and the new Google +1s.
  • Caches results to ensure good performance. Older posts are cached for longer.
  • Select which of the 3 social counts to include.
  • Select how many posts to display in the list, and an age cut-off.
  • For beginners, it is very easy to install with no necessary customisation.
  • For advanced users, there are various display options available.
  • Option to hide the counts and icons.
  • You can have multiple instances on the same page with different titles (e.g "Most Tweeted Posts" showing just the Tweet counts, or "Most Liked Posts" showing just the FB Likes counts etc.)


The steps to install 'Most Shared Posts' are quite simple:
  1. Upload `most-shared-posts` directory to the `/wp-content/plugins/` directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to the 'Widgets' page in the 'Appearance' section of WordPress.
  4. Now you can add the widget to different pages of your site. Recommended pages to add the widget: "Sidebar Index", "Sidebar Single", "Sidebar Category".
  5. You can customise the plugin differently for each of these sections should you wish.
  6. NOTE: The plugin throttles how quickly it gathers the social data, to ensure it does not cause any slowness for your users. For small sites with less than 100 posts, this should typically be done in the first hour. For sites with other 2000 posts it could take a day or more.
  7. Now load a page on your blog which should show the widget. This will initiate the first data fetch.

Frequently Asked Questions

  1. Q: I just installed and refreshed the page, but my most shared posts are not at the top of the list?
    A: The plugin will take a little time to collect all the data about your posts. It does so in batches so as not to upset the social networks by requesting too much data at once. You should find that it'll sort itself out and catch up quite quickly.
  2. Q: I just got tweeted but the count hasn't updated! Why not?
    A: The results for each post are cached for varying lengths of time depending on the posts age. Very recent posts (less than 2 days old) are cached for an hour, and then older posts are cached for incrementally longer periods of time. Posts in the last month are cached for 12 hours, posts 1-6 months old are cached for 48 hours and older posts are cached for a week.
  3. Q: My older posts aren't showing up...
    A: When you add an instance of the widget to a sidebar in the Wordpress admin section, you can customise how far back you wish to look; the default is 2 years.
  4. Q: Where can I change how many posts are included in the list?
    A: When you add an instance of the widget to a sidebar in the Wordpress admin section, you can customise how many posts to include; the default is 5.
  5. Q: I activated the plugin, but I don't see it. :(
    A: This plugin is a widget, so after activating it you need to go to the Appearance->Widgets section of your Wordpress settings and select which pages you'd like it to appear on.
  6. Q: Can I include the count inside a post or a page?
    A: Yes - there is now a shortcode option. The shortcode has a few options (all are optional):

    [most-shared-posts num_posts="5" max_month_age="24" title="Most Shared Posts"]
  7. Q: I have no shares. How depressing... help!
    A: Assuming you're providing content worthy of being shared... Make sure you are including sharing buttons on your blog in a consistent fashion. I recommend adding them into your theme, or alternatively:
    • Alex Moss of Pleer has created some great social button plugins for Twitter, Facebook and Google+.
    • The AddThis plugin is very popular, and provides a variety of sharing buttons.
    • At, they provide a variety of sharing plugins.
    • The Sharedaddy plugin, part of Jetpack from, provides a range of social buttons.


Version 1.0.0 - 4th August 2011
  • Initial Release
Version 1.0.1 - 5th August 2011
  • Update on the format of the API requests for added robustness.
  • Added link to the FAQ on plugin activation.
Version 1.1.0 - 14th August 2011
  • Can now view social stats in admin area (with or without an active widget).
  • Added a shortcode option to include within posts/pages.
  • Data now collected without an active widget.
  • Improved method for scheduling data collection.
  • Various code tidying and improvements.


Please consider a donation, or alternatively enabling the attribution link in the settings:
Donate Button
282 comments on “Most Shared Posts – WordPress Plugin
  1. Muhammad Raza

    does not work, i put the plugin into plugins folder, activated the plugin, and put the plugin into sidebar but many days spent it is not picking shared posts, which are shared into facebook and twitter.

    There is also one question regarding the plugin; on Facebook if I share a post with specific list of people (not public), would it be considered a share (means would it be listed into shared posts) or post will be considered shared if and only if it is public?

  • Muhammad Raza

    working like a charm, private or public considered a share :); thanks for this wonderful plugin. Do you have plans for including other social media like Linkedin?

  • Neti Pot

    not so bad…

  • graco duoglider

    great pleaser

  • Miguel Dey

    Great plugin – I’ve been looking all over for something like this. I do have a suggestion though.
    Feature request: The option to display the post feature image beside the post title.

  • John

    Hello Tom, I recently installed this plugin on my website. It works fine initially, but as I’m writing this comment right now, I noticed my top 2 most shared posts have been removed from the list of most shared posts. I double-checked those 2 posts and saw they still have the same high number of shares, except they just don’t show up in the list. Do you know why this might be happening? Thanks.

  • adam

    is there a way to customize the plugin to set a time period for tracking the likes or tweets? For example, if I wanted to run a contest to see which post got the most likes during a month or so?

    By the way, I really like what the plugin does already. It’s working great on my site.


  • Lucian

    Is LinkedIn still supported in the current version?

  • Sandra

    Does not work ony ma blog!

  • Sandra

    Does not work on my blog!

  • Lojra

    Great Plugin, thank you 😉

  • Funny pictures

    Very useful blogpost with a lot of useful tips about wordpress. There are a lot of plugins, but I think your article will help newbies understand more :)

  • Bruno

    Well. Do you support this plugin? It does not work on my WordPress Installation.

  • Bruno

    Please consider, that in some cases you have to copy a php.ini file in the directory WordPress is installed. The php.ini has to contain the lin “allow_url_fopen=on”. Otherwise the plugin won’t work.

  • buy xanax online

    I’m still learning from you, but I’m trying to achieve my goals. I certainly enjoy reading all that is posted on your blog.Keep the information coming. I loved it!

  • Recommended WordPress Plugin: Most Shared Posts

    […] Most Shared Posts […]

  • Best Of Wordpress Social Media Plugins : .:Webb0lled.Com:.

    […] Most Shared Posts | Download Cost: free […]

  • Bojan

    I install your plugin, but I have a problem with styles, how to edit .css for this plugin? I use only this code for my post page:

    [most-shared-posts num_posts="10" max_month_age="24" title="Most Shared Posts"]

    I don’t have widget. How to change .CSS?

  • Bojan

    This is my url: and I want set CSS like a front page:


  • Veljko

    Great PlugIn. But why, on my blog count only G+, and not Tweet and Facebook like? I was cheked in “Include Facebook Likes” and “Include Tweets”. For expl, this URL is tweet for now 49 times ThankYou

    • Al

      I’m having the same problem on one site but not on another. I’m guessing it’s a plugin conflict. I am using the same caching plugin on both sites though so I guess it’s not that. Quickcache plugin.

  • Aimee

    Just getting started with this plugin. I like how clean it looks and it seems to be working great for me. Thank you for providing this plugin. I’d love to see a Pinterest feature that keeps track of repins.

  • Cristi

    Great plugin!
    Do you think you can integrate other sharing networks?
    I am interested in Stumbleupon specifically and even pinterest.
    Thank you.

  • Bojan

    shortcode not working on new version 3.3.2!!!! please fix this problem! thanx

  • 7 recursos sociales para aumentar el tráfico hacia tu blog |

    […] 4. Most Shared Posts. Con este plugin de WordPress se añade un widget con el que mostrar en el sidebar las entradas de tu blogs más compartidas en las redes sociales. En el escritorio se añade una página con el resumen detallado por redes sociales. […]

  • Aldrich

    Hi, You have done an admirable job. I will definitely stumbleupon it and I’ll recommend to my friends. I know they are going to be taken advantage of this great site.

  • Sureshot Commodity Tips

    yeah social sharing is a process of SMO. and it is the part of SEO.

  • Frederik Trovatten

    Sweeet! I tried “popularity contest” which failed.. So thanks for making my day!

  • Rouge

    Is there way for me to filter the categories by IDs or other means? Thank you.

  • Frederik Trovatten

    Hi Tom,

    I have installed your widget, but I only see G+ shares.. Here’s how it looks: – do you know what’s wrong?

  • Webespacio

    This plugi is the best, i am installed in mmy website.

    Good job.

  • Al

    I am also wondering if you could provide some type of styling guide as mine is a mess on both my sites. It looks so tidy in your widget.

  • Pizza a domicilio

    Hi Tom, congratulation for this plugin, it’s great. I have a question for you. Is there a way to display a specific post type in widget?

  • Morten Ross


    There has not been any update for this great pluging for over a year, perhaps it’s time :-)?

    I’m using WP 3.4.1 with around 1100 posts and have the following issues:

    1: I don’t understand why posts with no shares are displayed (either in Admin or Widget). In widget it will thus display different posts with no shares each time widget is refreshed – the same goes for the Admin gui.

    Top 100 should never display other posts than those that have shares – that is the point of the plugin. Nor should the widget display any other posts except those with shares, so if limit is set to 5 in widget and there are only 2 so far – only those 2 posts should be visible.

    2: I have now had mine active for a couple of weeks, and only one of my shared posts is discovered. Each time I refresh the Admin gui, different posts are displayed below the single post with discovered shares.

    Morten Ross

  • Jice

    Would love to see a version for Drupal … you can contact me if you need some coding on Drupal (though I don’t have too much time for it)

  • christophe


    Do you still work on the ‘most shared posts’ plugin? I am looking for a plugin like the one you made, but the intention is to sort photos (most shared photos). I don’t think your plugin currently allows to see the picture in a post, does it? Do you know a way on how to integrate this? Or do you know a plugin that is right for my needs?


  • Arkantos

    Is there a way to call the plugin in php to insert it manually in one page (sidebar.php) without using the widget option?

    • Jeff Byrnes

      I’d also love to know if this can be called programmatically in PHP, rather than using a widget.

  • PeopleString Proof of Payments – Is PeopleString a Scam

    […] Ways to Integrate Social Tools into Your Website2011 Social Media Sites That Will Be Missed…Most Shared Posts – Social Shares WordPress PluginMost Shared Posts – Social Shares WordPress Plugin var topsy_style = […]

  • Lorenzo

    Great plugin but I can only see the ranking of the las five posts… and I have more than 200 shared on de social networks. Are something wrong?

  • Lorenzo

    The problem has been solved. 😉

    Just one suggestion: Hide/show posts by categories.

  • Lorenzo

    One more suggestion: Show/hide the excerpt under the link.

  • sam

    This blog is very interesting. But if you want to extract the herbal aroma and flavor molecules from the similar ingredients you may use volcano vaporizer . This device has a digital and analog temperature control and two valves options by which it fills the balloon.

  • Francis

    From my site everything is seeing well, but after a week ago, all number of share are stop countering. May I know why and how to solve it?

  • new penny auction site

    Very much interesting blog i must say, helped me a lot solving my assignment as well…:)

  • thomas

    plugin on:
    Total query time: 0,35153s for 588 queries.
    Total num_query time: 4,765 for 600 num_queries.

    plugin off:
    Total query time: 0,13558s for 100 queries.
    Total num_query time: 4,117 for 102 num_queries.

    so 600(!) queries with plugin and 100 without the plugin? pleeeaaasse fix! that costs 2 seconds before page renders.

  • ChrisLangley

    If you want to buy a house, you would have to receive the home loans. Moreover, my sister all the time utilizes a student loan, which seems to be really reliable.

  • beats by dre uk

    so 600(!) queries with plugin and 100 without the plugin? pleeeaaasse fix! that costs 2 seconds before page renders.

    • led strips

      Is LinkedIn still supported in the current version?

  • lili

    I’m still learning from you, but I’m trying to achieve my goals. I certainly enjoy reading all that is posted on your blog.Keep the information coming.

  • famous brands store online

    Hi there, I just read your blog post regularly and I own a very similar one and I was just curious about if you have loads of spammy responses?
    If you are just how do you prevent it, any plugin or anything you can recommend?
    I get so much lately it’s driving me insane so any help is really appreciated.

  • Louis vuitton outlet

    Hi Tom, congratulation for this plugin, it’s great. I have a question for you. Is there a way to display a specific post type in widget?

  • Rob Maurizi

    Hey folks- Anyone know if I can access the most-shared data from within my theme without displaying the widget, etc? My client’s wireframes call for displaying the one most-shared post within a tabset on the homepage. I was going to take the most-shared post and then query for that post and display it as desired.

    I guess if I could customize this plugin a whole bunch to display this one post how creative wants it, that would do it as well.


  • metal roofing

    Hi Tom, congratulation for this plugin, it’s great. I have a question for you. Is there a way to display a specific post type in widget?

  • Josko

    Hi, i have problem with showing data for facebook and twitter. Plugin shows me only number of G+ shares. I saw that few of you in comments have a same problem, so i’m wondering if someone found solution for this problem!


  • Sneis

    Thank you for this interesting content!

  • Leave A Comment

    Your email address will not be published. Required fields are marked *