See the best WordPress Black Friday Deals collection and get massive savings on your favorite WordPress services, themes, and plugins! View Deals

Professional WordPress themes for your business and personal sites

Home Blog Adding Social Share Links to your Website Without Affecting Performance

Adding Social Share Links to your Website Without Affecting Performance

Last updated: 2 Comments

Social share icons, for better or worse, tend to be on most to-do lists when building websites for clients. However, they can be surprisingly difficult to implement in a light-weight fashion. Far too often, social plugins load far too much extraneous javascript, images and CSS, bogging down site speeds.

We’re going to look at a number of ways you can add social sharing links to your website without them having a majorly detrimental effect on your loading times.

On each occasion, we’ll be testing with a new install of WordPress with the default WordPress theme, twentyseventeen pre-installed using the excellent WebPageTest to measure the results. We normally have caching enabled on our server but for the nature of these tests, it has been turned off, to give a more accurate result set.

All three plugins we’re testing are free and available from the WordPress plugin directory.

What we will be testing

The plugins we will be testing are intended to add a ‘Share this post’ icon at the top of, or below, a single post. Also on some occasions, there is an option to add them to the post loop and on pages.

And what we won’t

We won’t be testing a plugin that adds social icons widget functionality and links simply to a social media profile without including the page or post reference. If that is what you’re looking for, I’d recommend taking a look at the Lightweight Social Icons plugin from Thomas Osborne of GeneratePress fame.

Base (2017 theme installed)

So the base metrics are as follows, with just the twentyseventeen theme installed with no caching and no social sharing plugins installed. We’ll be using this as a comparison base.

Base results with no social sharing plugin installed
Base results with no social sharing plugin installed

The load time is 1.322s and the first-byte rendering of 0.752s. Fully loaded, there are 23 requests. These are the numbers we’re interested in observing as we install each plugin.

1: Social Media Feather Plugin

Social Media Feather Plugin

The Social Media Feather plugin is a very popular choice with over 100,000 active installations on the .org plugin directory. Let’s take a look at the plugin features and then the page load speed metrics after initializing it.


The settings page for this plugin is very comprehensive. You can display the icons before, after or before and after a post. You can also display them automatically on posts and/or pages or via a shortcode. There are even options to prefix the outputted markup with your own classes which is pretty nice for developers. Plus, with this plugin you can:

  • Share with Facebook, Twitter, Google+, Reddit, Pinterest, Tumblr, Linkedin, and E-mail.
  • Follow on Facebook, Twitter, Google+, Pinterest, Linkedin, YouTube, Tumblr, Instagram, Flickr, Foursquare, and Vimeo.
  • Each social provider can be individually enabled or disabled.


Personally, I’m not wild about the design of these icons – they look pretty dated – a throwback to the early Web 2.0 look. Plus, for some reason, they load in individual PNG images for each icon which is bound to have an effect on speed rather than using sprites.

Using one large image containing all icons and some background-position CSS to select an icon would have been much more efficient when it comes to loading requests.

Design styles within the plugin
Design styles within the plugin

On the plus side, there is an option with the plugin settings to include retina versions of the images, and you can adjust the sizes and spacing very easily so you don’t need to know any CSS yourself.

How did it do?

Results before and after the Social Media Feather Plugin becomes active

Not very well. Adding nearly half a second to load time, first byte and start render would be unacceptable to many sites. Plus, an extra 18 requests when fully loaded and an extra 100kb loads to quite a weighty plugin.

2. Ultra Light Social Share Buttons Plugin

Ultra Light Social Share Buttons Plugin

From a plugin with over 100,000 active installs to one (at the time of writing), just 300. Despite the low install numbers, the Ultra Light Social Share Buttons plugin claims to be the fastest social sharing solution, a large part due to that it doesn’t load any javascript or images. Sounds good to me, let’s see how it does.


Unlike the previous plugin, the settings page for this one is pretty basic.

  • You can decide the location to display them – Top/Bottom/Both
  • The templates – Posts, Page and/or the Blog Loop.
  • You can select the services to show which include Facebook, Google+, Linkedin, Tumblr, Email, Whatsapp (Mobile only), Pinterest, Reddit


Original styling
Original styling

To my eyes, the default icons need a little bit of design TLC. The plugin’s stylesheet also includes a number of !important declarations which aren’t good practice.

By adding some custom CSS to Appearance > Customize > Additional CSS – I created a neater looking result than the plugin defaults.

he custom CSS added results in a neater look
The custom CSS added results in a neater look

How did it do?

esults before and after the Ultra Light Social Share Buttons plugin becomes active
Results before and after the Ultra Light Social Share Buttons plugin becomes active

It’s better. Load time increases by 0.369 seconds, first byte and start render by a similar amount and it adds only one extra request which is impressive.

3. Social Warfare Plugin

Social Warfare Plugin

I’ve seen a lot of people raving about the Social Warfare plugin so it’s been on my list for a while to take a look. They have a Social Warfare Pro version with even more social networks to choose from and more advanced options but for the purpose of this test, I’m running the free version. Design-wise, it appeared even from first glance, to be a cut above the rest, deploying a nice hover effect which expands the icon and displaying the number of shares. Showing the number of shares is a notorious speed logjam issue so I was curious to see if the developers found a way to incorporate this functionality without overly affecting performance.


  • Display Facebook, Twitter, LinkedIn, Pinterest, Google+ and StumbleUpon icons
  • You can show individual button counts as well as a total count
  • Lots of position options (above/below posts and pages) as well a floating bar option which can ‘stick’ to the footer on scroll.


I really liked the out of the box design of these. I didn’t have to do anything, the defaults already looked great and the floating bar effect added a nice touch to the post. Hovering over an icon caused it to expand, revealing the label and shrinking the rest.

Original Social Warfare Design
Original Social Warfare Design

I turned off the number of shares from displaying in the first test as it was fairer to see a straightforward result set with just the icons enabled.

Result before and after the Social Warfare plugin becomes active (no share totals)
Result before and after the Social Warfare plugin becomes active (no share totals)

This is the best result so far. Load time, first byte and start render increases are minimal. It adds 3 requests and 52kb once loaded for the first time but with a decent caching plugin active this cost can be minimized on subsequent visits.

Now let’s try it with share totals active.

Result before and after the Social Warfare plugin becomes active (with share totals)
Result before and after the Social Warfare plugin becomes active (with share totals)

With share totals active the load time increases by over half a second. Interestingly, however, the start render and first byte numbers are only very slightly higher than the test without the totals active. This indicates that the page continues to load while the totals are being calculated so you see minimal disruption by the time the totals are rendered.


I was very impressed by Social Warfare. The design is clean and modern. It had the right number of settings and required no custom CSS to display correctly. Most importantly, it has excellent performance metrics, especially with the share totals feature turned off.

It works brilliantly with our Free WordPress themes and our Premium WordPress themes so you can try it today if you’re using any one of those.

Let us know in the comments if you’ve tried any of these plugins or have another one to recommend for us to include in future tests.

Follow us on Twitter and Facebook!

Stay connected – be the first to get interesting updates and new releases from Create and Code.

Designer, developer and pixel pusher until things are just right. Loves creating WordPress themes which include designs for niches such as industry, medical and blogging. Can quote liberally from Arrested Development.


  1. Hey Simon! Thanks for the diligent and honest review. I am always happy to see Social Warfare listed in such well-thought articles.

    I’m curious though, how many loads did you do with the Total shares active? The way Social Warfare is supposed to work is that it caches those total counts and only fetches them on the first load (if the cache is expired). You should have much faster load times after that one pageload that triggers the count update, all others after that would be cached in your own database (lowering the number of external calls made).

    Thanks again for the compliments, and the testing. Cheers!

    1. Hey Dustin!

      I refreshed the post each time first but I’ll run the test with the count enabled again just to be sure – and update the post accordingly. Cheers for a great plugin!


Leave a Reply

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