Sharing Content on Social Media without a Plugin

There are a lot of social media plugins available for WordPress bloggers.  But every social media plugin comes with a good deal of baggage.  They typically have a lot of files for the SM icons they add to your site.  Most are not optimized and quite a few slow your page load time.

The Two Sides of SM

Many never think about this, but there are two sides to social media sharing.

1.  FOLLOW: There are the links to YOUR social media profiles which allow people to connect, follow, add YOU to their social media Followers, Circles, Connections, etc.

2.  SHARE: Then there are the easy share SM icons we provide to visitor so they can share our content on their SM accounts.

This means we often have TWO SM plugins on our site taking their share of resources and executing queries to our database when loading our page content.

In this post I’m going to “Share” how to provide the second option above without a plugin.

You can go to and setup your own social share account and get the code for both FOLLOW and SHARE icons.

Social Share with Add This

First you need to add this code to your header.php file:
If using Genesis place in the WP_Head Hook (I recommend getting the Genesis Simple Hooks Plugin) check Execute PHP on this hook?

<script type="text/javascript" src=""></script>

Next you put this code in the single.php and the page.php file where you want the icons to appear.
With Genesis Simple Hooks add this code in either genesis_after_post_title Hook or genesis_before_post_content Hook

<div class="addthis_toolbox addthis_default_style " style="margin-top:5px;display:block;">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_pinterest_pinit"></a>
<a class="addthis_button_google_plusone"></a>
<a class="addthis_counter addthis_pill_style"></a>

You can see what this looks like at the top of this post just under the Post Title.

Now readers can share this post any number of different social media sites. The option “Share” at the far right of the list is a catch all which is nice.

Want your readers to share your content? Want to do it without the weight of a plugin? Now you know how.


  1. Great information. I have both on my site and it does appear to load slowly – thanks for the ideas!