How to Add Social Media Share Count Widgets in WordPress

Grab the Original Widget

Most of the share counts are a piece of JavaScript that you must retrieve from the social media service. This article is also meant to serve as a one stop shop. You can come here to find the location for top social media services because a lot of them makes it really hard to find on their sites. The goal of this article is to avoid using as many plugins as possible, so when you are picking the type choose site: Normal.

  • Digg
  • StumbleUpon
  • Tweetmeme Retweet
  • Facebook Share
  • Facebook Like Button
  • Reddit
  • Njuice Google Buzz
  • Sphinn

Share Count Widgets

Customizing the Codes

Because we chose the code for a Normal Site, we may need to modify it to make it compatible with WordPress. We are also going to be showing just the Compact Share Count Buttons. You can ofcourse use the codes as a guide to get different sizes.

Note: You must paste all of these codes inside a loop, most likely in your single.php file.


01    <script type=”text/javascript”>
02    (function() {
03    var s = document.createElement(‘SCRIPT’), s1 = document.getElementsByTagName(‘SCRIPT’)[0];
04    s.type = ‘text/javascript’;
05    s.async = true;
06    s.src = ‘;;
07    s1.parentNode.insertBefore(s, s1);
08    })();
09    </script>
11    <a href=”;?php the_permalink(); ?>”></a>

Normally, you should not have to add the href part of the link area. But if you don’t, and you have paginated comments or posts, then your digg button will not work on all pages. So if the main page was submitted, the second page will show a submit URL allowing users to submit duplicate content to digg.


1    <script src=”;?php the_permalink(); ?>”></script>

Tweetmeme Retweet

1    <script type=”text/javascript”>
2    tweetmeme_source = ‘wpbeginner’; tweetmeme_service = ‘’; tweetmeme_style = ‘compact’; tweetmeme_url = ‘<?php the_permalink() ?>’;
3    </script>
4    <script type=”text/javascript” src=””></script&gt;

Make sure that you change the Tweetmeme_source variable to your twitter handle. Right now it is @wpbeginner. So whenever someone clicks it will show RT @wpbeginner Post Title – Link. We are using as the link shortening service, you can change it to others that tweetmeme offers, but is the best one.

Facebook Share

1    <a name=”fb_share” type=”button_count” share_url=”<?php the_permalink(); ?>” href=””>Share</a><script src=”; type=”text/javascript”></script>

Facebook Like Button

Facebook Like Button is a phonemonal tool for traffic. Syed has shown how it has helped in our WordPress Newsletter in the past.

1    <iframe src=”;?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:450px; height:60px;”></iframe>


1    <script type=”text/javascript”>
2    reddit_url = “<?php the_permalink(); ?>”;
3    reddit_title = “<?php the_title(); ?>”;
4    </script>
5    <script type=”text/javascript” src=””></script&gt;

Njuice Google Buzz Count

Google Buzz do not have an active API that allows to keep track of count. There are a few ways to work around that which gives you some what of a misguided count. But for those users, who want to have a Google Buzz Count, then here is how you can add it.

1    <script type=”text/javascript”>
2    var njuice_buzz_size = ‘small’;
3    var njuice_buzz_title = ‘<?php the_title(); ?>’;
4    var njuice_buzz_url = ‘<?php the_permalink(); ?>’;
5    </script>
6    <script type=”text/javascript” src=””></script&gt;


1    <script type=”text/javascript”>submit_url = ‘<?php the_permalink(); ?>’;</script>
2    <script type=”text/javascript” src=””></script&gt;

That is all the customizing we need to make each of these widgets work with WordPress perfectly. Now, you may have to customize the styling for it to work with your theme design. You are better of putting these codes above <?php the_content(); ?> code. You can also use our Smart Sharing Plugin, to display a floating icon down your window.

Source :


Must Do Twitter SEO Tips

I think it is crazy when I come across a Twitter account that doesn’t have a bio section filled in or even a URL in the domain section. How can you forget to put your website domain in your profile? Here are some ways to really keep your SEO elements moving in the right direction with your Twitter account.

Must Do Twitter SEO Tips

Here are some of the top must do Twitter SEO tips to consider:

URL: Probably the most important thing. Don’t forget to have your URL visible in your profile. It only takes a few seconds to type in.
User Name: Your user name is also going to be listed in your domain so chose one wisely. If you pick something to cutesy you will have no chance of ranking in search results for your targeted keywords.

Description: Your description is used as the meta tag information for your profile so you can see where this would come in very handy to have optimized for your targeted keywords. Are you starting to see the overall goal of optimizing your profile?

Background: Take advantage of using your background to get more of your messaging across. You are allowed to upload your own background image so use it to either further your business brand or you can use the right hand side of the background to list some information about your services or your business.

Personality: Don’t let your profile seem like just a business even though you might be there to generate new leads. Try adding some personality to your profile. Ask your followers questions, have a contest show your audience that there is a human being behind that Twitter profile.

Hash Tags: This one is often overlooked by many people. If you drop a “#” before a word like SEO or any other keyword you might be targeting this will allow your tweet to show up in search results for when others search for that keyword.

Whenever dealing with any online social network or even a business profile optimization and SEO elements are very important. It doesn’t mean that it will rank all the time but if you are spending the time to create a profile you might as well make it 100% efficient in order to increase the possibilities of that profile ranking in search results.

Source: SEO Journal

Must Have Google Chrome Extension For Twitter Lovers

Google chromes browser supports extensions or plugins like Firefox. Google has launched the extension library for public use now. If you are looking to enhance the functionality of your Google chrome browser the head over to Google Extension Library page. But before starting to use this extension you need to have a beta version of latest Google Chrome browser.

Download Chrome Twitter Extension

Download Chrome Twitter Extension

Twitter extension for Google Chrome Browser:

1. Chromed Bird: Chromed bird is a twitter extension for chrome users from where you can easily interact with your followers. Features of Chromed Bird allows you to easily retweet the message, automatic shorten the url, track read/unread tweets, notify users whenever the new tweet arrives and lot mor.

Download Chromed Bird Extension from here.

2. Twitter Bar: Most of you have heard of twitter bar plugin for Firefox. The same extension is also available for Google chrome users as well. Twitter bar lets you tweet you the link from the address bar of your web browser. It automatically shortens the url when it goes to twitter so you need not to worry about the message length. You can also change the url shortner service from the option menu.

Download Twitter Bar chrome extension from here.

3. Twitter theme: Tired of seeing the same old interface of twitter? Change the look of your twitter using the twitter theme extension.

Download twitter theme from here.

4. What the trend?: Are you a blogger? If you are interested in knowing what is the latest trend in twitter and install this “What the trend?” chrome extension and enjoy the latest updates on the trend. You can search the trend using your own keyword. It also explains you that why this topic is a tending topic. Interesting, right?

Download what the trend chrome extension from here.

5. Chrowety: Chrowety is a simple twitter client for chromes users. It lets you retweet (RT), automatically shortening of url using , watch the youtube video, check pictures of Twitpic and Tweetphoto, notify when the tweets arrive and lot more. You can also mark the tweets to your favorite or delete is easily.

Download Chrowert chrome plugin from here

Know More about Google Chrome Extension For Twitter……

Build Your Personal Brand on Twitter

1. Claim your Twitter handle

Prime domain names, especially those ending in “.com,” have long been desirable, hard to find and extremely expensive. By not reserving your domain name, your business or personal brand is at risk and you may never be able to reclaim it once you’ve lost it. With Twitter continuing its meteoric rise in popularity, it’s no surprise that Twitter account names are starting to be treated like domain names.

What happens when you don’t claim your Twitter handle:

• Exxon Mobil failed to claim their name on Twitter and was forced to deal with reputation management problems, when an imposter started tweeting using @ExxonMobilCorp.

Jack Canfield, founder and CEO of Chicken Soup for the Soul Enterprises, had to take a different user name because he didn’t act quickly enough to secure his full name (he has @J_Canfield, not @JackCanfield).

• The same thing happened to web developer community and book publisher SitePoint, which was forced to settle for @sitepointdotcom, rather than @sitepoint.

Jack Canfield twitter

Twitter handles have become so important, that there is now even an aftermarket for them, Tweexchange, where user names are bought and sold.

Stop what you’re doing right now and claim the Twitter handle for your full name, as well as any products and/or companies that you currently own or you have plans to create in the future. You can’t truly own your personal brand if you don’t even own your Twitter handle.

2. Decide how you want to brand yourself

Before you start actively using Twitter, you need a strategy, and the first step in developing that strategy is to completely fill out your user profile. One of the goals of having a Twitter account is to gain followers and few people want to follow an account that doesn’t look legitimate (i.e. the profile hasn’t been filled out and there’s no avatar).

Take a good look at your other websites and profiles and draft a Twitter bio to match the rest of your online branding. This is how people will find you and recognize you now and in the future, so be honest. Don’t brand yourself as an expert unless you already are one. Do brand yourself based on your passions and skill set.


Once you have everything filled out, you should spend some time focusing on your Twitter background, which gives you an opportunity to extend your brand image onto Twitter and create a more cohesive experience for your followers. There are many sites that you can use to help you develop a custom background, such as Twitpaper and Twitterimage.

I recommend creating a Twitter background that resembles the colors, format and logo from your personal or corporate website. When you create your background, add in additional information that isn’t covered in your Twitter profile, such as pointers to more websites, contact information, or information about products or services you sell.

Three techniques for branding yourself on Twitter:

1. Lead with your company: Pete Cashmore puts his company (Mashable (Mashable reviews)) ahead of himself on Twitter by using @Mashable as the account name, but uses his personal avatar and bio. This is a smart approach for Pete because he wants to build his company’s brand, while associating his own name with this successful property. This also gives Mashable a face and a personality to go with it.

2. Mutual branding: More and more companies are realizing that their employees are on Twitter and that they can be tapped to help promote their initiatives. Some of these Twitter accounts are mutually branded, so that the avatar has the person’s picture and the corporate logo. Two examples are Kodak’s Jennifer Cisney (@kodakCB) and Allison and Mike from CareerBuilder’s PR team (@CareerBuilderPR).

3. 100% personal branding: If you’re trying to build a strong personal brand, then focus your Twitter handle, avatar and bio information 100% on you, instead of your company.

3.Utilize third-party applications

There are literally thousands of Twitter applications out there, but only a few that can really help you build your personal brand. The apps below will help you stay in touch with your industry, find people you can network with, save you precious time, and push out your content.

Note: If you have additional Twitter applications that aid in personal brand building to recommend, please tell us about them in the comment section.

twellow image

Twellow: Find people in your industry to follow and connect with using this Twitter yellow pages guide. You can find more Twitter directories here.

Tweetbeep: Keep track of your brand reputation by getting alerts through email when your brand is mentioned on Twitter.

Tweetmeme: Put a button on your blog that allows your readers to more easily retweet your posts.

Hashdictionary: Keep track of conversations that include hashtags on Twitter. (Ping.Fm reviews): Save time by sending messages to all of your social networks at once.

Twitter Grader: A site that ranks your influence in the Twitter world based on an algorithm. You can see where you stand in your town, city, state or country, as well.

Tweetlater: Schedule tweets so that they are published automatically in the future. It’s a real time saver.

Read More…