Update: New version (v1.1.4) of the Easy Mashable Social Bar Plugin released with more clean code and some added features. Download and check it out.
I had been long wondering how to implement/copy the social box of mashable.com and fortunately came across this post How to Add A Mashable Style Social Media Box to WordPress at WPKube.com by my friend Devesh. Devesh has always been a guy who is always updated about the latest plugins and themes across the blogosphere. Only then I came to know about the Easy Mashable Social Bar plugin released as a free resource by InspiredMagz which once activated actually adds a widget inside your WordPress installation. Without wasting much time, I quickly downloaded the plugin and tried it on a local wordpress installation to test out the functionality. Below are a few screenshots of the plugin in action.
Everything looked fine until I looked at the page source to see the output. This is one thing that I always do before adding a plugin and I would suggest everybody to make it a habit to look into the plugin output before you add it into your live site. It is also a good idea to look into the plugin source code if you understand PHP code and find if there is any malicious code injected into the plugin.
Now coming to the point, I found that the guys from InspiredMagz have tricked all their users and injected a couple of hidden links to their plugin. You guys must be thinking what is the harm in that as long as the plugin is not breaking your site functionality or design? For your information, according to Matt Cutts, you should not have any hidden links in your page source. He has written an excellent article here about Hidden Links on his Blog. Hidden links are taken negatively by the Google spiders and you might get penalized for that and might end up going down the search engine ladder. If you’re unlucky you might get SandBoxed as well by Google.
Here are the screenshots of the codes which are hidden:
As you can see in the above screenshots, the following code snippet is harmful and hidden. The heights of the div equals 0 and the font-size equals 0 is the reason for these hidden links.
<!--begin of social widget--> <div style="margin-bottom:10px;"> <div id="inspiredmagz-mashable-bar" style="width:<?php echo $widgetwidth_id; ?>px;"> <!-- Begin Widget --> <div class="fb-likebox" style="background: <?php echo $fbboxcolor_id; ?>;"> <!-- Facebook --> <iframe src="//www.facebook.com/plugins/like.php?href=<?php echo $facebook_id; ?>&send=false&layout=standard&width=< ?php echo $fbwidth_id; ?>&show_faces=true&action=like&colorscheme=light&font&height=< ?php echo $fbheight_id; ?>&appId=234513819928295" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:< ?php echo $fbwidth_id; ?>px; height:< ?php echo $fbheight_id; ?>px;"></iframe> </div> <div style="height:0px;"><a style="text-decoration:none; font-size:0px;border:0;" href="http://inspiredmagz.com/">Inspired Magz</a></div><div style="height:0px;"><a style="text-decoration:none; font-size:0px;border:0;" href="http://inspiredmagz.com/easy-mashable-social-bar-wordpress-plugin/">Easy Mashable Social Bar WordPress plugin</a></div> <div class="googleplus" style="background: <?php echo $gpluscolor_id; ?>;"> <!-- Google --> <span>< ?php echo $recommend_id; ?></span><div class="g-plusone" data-size="medium"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> </div> </div></div>
<div id="get-inspiredmagz" style="background: #EBEBEB;border: 1px solid #CCC;border-top: 1px solid white;padding: 1px 8px 1px 3px;text-align: right;border-image: initial;font-size:10px;font-family: "Arial","Helvetica",sans-serif;">
<span class="author-credit" style="font-family: Arial, Helvetica, sans-serif;"><a href="<?php echo $footerurl_id; ?>" target="_blank" title="< ?php echo $footertext_id; ?>">< ?php echo $footertext_id; ?> »</a></span></div> <!-- End Widget -->
<div style="height:0px;"><a style="text-decoration:none; font-size:0px;border:0;" href="http://inspiredmagz.com/">Inspired Magz</a></div>
<!--end of social widget-->
Now, the intention of the guys at InspiredMagz was to get a lot of backlinks quickly; which is not wrong. But, the way they tried to accomplish it, is unethical, since users of their plugin would be linking to their site unknowingly and that is bad. Since InspiredMagz has put a lot of effort in writing the code, they really deserve a link back, but not in such a way. I strongly believe that the plugin authors should have left it upto the user whether to link back or not. Infact, they could’ve put their links visible and maybe ask the user to tweet about their plugin/ Google+ or maybe a Facebook like to remove the links. Even releasing a premium version without the links to their site would have been an ethical choice.
Just as I found this, I reported it to Devesh at WPKube and promised to re-release a new version, which would be free from these hidden links. Most of InspiredMagz’s code remains same in my version of the plugin with a few changes like:
- Removed LinkedIn code and replaced with Feedburner email subscription link.
- Added Google+ Add to Circles Small Badge at the top.
- Last but not the least, removed the hidden links
Download Easy Mashable Social Bar Plugin below
Download v1.1.3!
Download new Version v1.1.4!
Please click on the facebook like button if you find this plugin helpful.
I hope you will like this plugin and make use of it on your self-hosted wordpress blog to the fullest to get more subscribers and social engagement. Let me know if you find any bug or new features. I’ll try my best to add new features. I request all users who have downloaded this plugin from the InspiredMagz site to pull it down immediately and download my version to keep free from their hidden links. Guys, do this immediately as Google spiders are always indexing your site and finding these links.
@InspiredMagz: If you guys read this post, then please try to be ethical. There is no harm in promoting your links or even beg for backlinks. But putting your links hidden from users who appreciate your work and getting their sites penalized by Google is not the way to go. We all appreciate your efforts to code this plugin and would love more of such great plugins in future, but keep your plugins free from such hidden links.





I too had noticed their links in source but had not given any importance as i had no idea about what consequences this may occur later. Thanks a ton to you who have discovered the tactics of the plugins owner. Thank you for the plugin!
Thanks Irfan for downloading the plugin and I am glad that you now know the consequences. I’ve replied to your email and I noticed that the plugin is working fine on your blog.
This seems to be a nice development. mashable plugin use to delay the loading time of the website. I am installing it on my blog now. Let see if its loading time is lower now or not.
I did not check any loading delay. As you can see that my blog has a page speed score of around 89-91 which varies on each page load. I did not find any difference after installing this plugin. Please report back if you notice any considerable changes in loading time.
Thanks,
Prasenjit.
Hi,
Thanks for sharing this wonderful article. It helped me gain a lot of info.
I’m glad that the you liked the article Suraj.
Thanks for sharing this Prasenjit..
Ohh my pleasure Arsie. I’m here to share some good work. Just need your appreciation and support.
If i use this plugin will it create Google authorship too ?
Sorry, I believe not.
Hello,
Thanks for sharing this update.
Downloaded the revised version by you guys.
Thanks Jeet. Hope you like this clean plugin.
Thanks Prasenjit,
problem got solved
Ohh great. Good luck with the plugin.
Facing one problem also, the Google + badge is going outside, see it here :http://dl.dropbox.com/u/18514293/Widget.png
Hi Jeet,
Got your problem. It is just that the Google+ badge has a width of 300px. Kindly set the widget width to 300px and you are good to go.
Hope that fixes your problem. Please report back.
Thanks,
Prasenjit.
Hello Prasenjit,
I LOVE the plugin! Brilliant work! However, the Google+ box is disconnected from the rest, as you can see here: http://seductionmadeeasy.com
Do you know what I can do to fix it? Thanks and keep up the great work!
William
Hi William,
Thanks for installing the plugin. I am seeing that the height of the G+ badge div has become 98px for you. Is there any other css which is interfering? Do not add any styling to the badge. Just let it to the default values.
Let me know if that works.
Thanks,
Prasenjit.
Hey Prasenjit,
I’m not sure about other css interfering. I’m not very good with code. I have a guy who normally does that for me but he’s on vacation. The only thing I did was change the sizes in the widget panel (but there’s no option for Google+ size). Maybe it’s something to do with the template? I’m not sure.
I’m sure that you’re doing something wrong. Did you add only your Google+ page id (103926791910538024435 in your case) in the appropriate fields?
Can you give me access to your wordpress installation to look into it? If yes just send me an email with your credentials and I’ll be happy to look into it.
Thanks.
Wonderful plugin Prasenjit. You pointed out right that we must not have hidden links at all. Thanks for sharing this. I got a couple of questions regarding this plugin.
How can I remove options from the box, such as I dont want G+ at the bottom; how to remove this options.
I don’t want FB faces. How to disable this?
This will be highly appreciative if I get the resolutions.
Thank you
Thanks Kalyan for your comment. For the options that you want, I’ll have to re-code it and release it in another version which is definitely a very good idea. I’ll do it soon. Otherwise, you’ll have to hack the code yourself if you know PHP.
Best,
Prasenjit.
“you’ll have to hack the code yourself if you know PHP”.. lol for me.. I am not as good as you man.. just a little bit of PHP knowledge I have. Anyway, I wait for your next version with more options. I guess this will be great for some people who do not have any particular profile or does not want to have one.. Release your new version soon buddy. Thank you very much.. You indeed got a great blog. Bookmarked & subscribed using your plugin
Ohh thats great. Thanks so much for your compliments and for bookmarking and subscribing. Also consider giving us a +1 in Google and sharing our page on Facebook.
Thanks once again and of course I’ll release the new version soon with more options.
Done. . Plused it and shared it on my facebook. see it here https://www.facebook.com/kalyan.das1
If you change the facebook height from 80px to 30px it will shrink it down and you won’t see the faces:)
But why would you want to reduce the height of the facebook like box? Your problem is with the G+ box right?
Yep that was my problem but this was in answer to Kalyan’s problem
But that is not the correct way of doing it. Since the faces will be loaded and it will unnecessarily take more time. I’m going to release the new version probably by tonight. So guys keep watching.
I need to ask one more that How can i re-size the “circle us on Google” field? It oversize than my sidebar size.
Please help me.
Dude I am very sorry about that, but the only solution that I can think of right now is to edit the plugin file. I’ll tell you how.
1. Open the “wp-content/plugins/easy-mashable-social-bar/Easy-Mashable-Social-Bar.php” through Filezilla.
2. Find the line
.
3. Edit it to
.
This should work for you now. I’ll have to find a way to add an option to edit the width from the widget configuration itself.
Let me know if it works.
Prasenjit, thanks so much for this – I hadn’t really checked out the source code of this one.
I was actually just writing a post about the plugin for my blog so really nice save here, I’ll be including a link to this post now so my readers can benefit from this.
You’re most welcome Adam. It’ll be really very good if you point out this fact of hidden links in your posts and should link to the clean version. Great initiative we’ve taken to help the blogosphere.
I’ve written the post and explained all about hidden links and linked back, but I’m just waiting to migrate hosts so I will have to hold off posting it till that’s finished.
I wonder if you could help with something though, if you visit the link on my site you’ll see your re-coded version already on my site, however I’m having problems with the displaying of the google plus badge, it’s just appearing as empty space, any idea’s?
Thanks!
Ok Adam. Found the problem. You have linked to your Google Plus profile which is not something that the plugin supports. You have to create a G+ page and add the page id in the widget. You can refer this article and to find out more.
Once you link to your page, it should work fine I suppose. Just let me know if that solves your problem.
Thanks.
Thought I had oops, copy and paste fail lol!
It’s all sorted now, cheers for your help!
The new plugin doesnt provide so many options….is there any site that provides a download link for this?
Which one are you referring Suraj? Do you want to say that my version of the plugin does not offer much options? If yes, then I would like to say that this is just a re-write of the original plugin released by InspiredMagz. I’ve only removed the hidden links and added the “Add to Google+ Circle”. Thats it.
Your solution worked perfectly fine. Thanks.
Hi Prasenjit,
Thanks for making the revised version of this plugin. Could you please tell me how to remove the Google+ badge at the top because I would prefer to use this badge separately which I could include users profile pictures in it. As such I do not need the badge on this plugin and would like to remove it. Is this possible?
Appreciate the help and thanks.
Peter
Hi Peter,
I’ll soon come up with a revised version of the plugin which will have more options to let the user control what he wants. Till then please open the plugin file under “~home/wp-content/plugins/easy-mashable-social-bar/Easy-Mashable-Social-Bar.php” and delete the below line. That will fix your problem.
Thanks for using the plugin.
Somehow the code is getting messed up on my them and hence it is not appearing. Please delete line 52 from the plugin to solve your problem.
Hey there,
Love the plugin. But I have question regarding removing the link at the bottom of the widget. In the widget option, iv left everything blank regarding the footer text and link.
But a little square appears linking back to same page the widget is on, regardless if im viewing from my homepage or a post.
Here is screen shot pic: http://imageshack.us/photo/my-images/804/linkzd.png/
I’d like to remove it, since its giving a link back to my own site. It would helpful if I could remove it.
Thanks,
Hi Sav,
Simply remove the below code from the plugin php file.
<div id="get-inspiredmagz" style="background: #EBEBEB;border: 1px solid #CCC;border-top: 1px solid white;padding: 1px 8px 1px 3px;text-align: right;border-image: initial;font-size:10px;font-family: "Arial","Helvetica",sans-serif;"> <span class="author-credit" style="font-family: Arial, Helvetica, sans-serif;"><a href="<?php echo $footerurl_id; ? rel="nofollow">" target="_blank" title="< ?php echo $footertext_id; ?>">< ?php echo $footertext_id; ?> »</a></span></div>What happened to the faces of Facebook fans showing and is this plugin more effective at getting the likes and plus ones we are looking for being that there are so many promising to do the same thing
Why what happened to the faces? Since this social box is used by Mashable, we can presume that it will be more effective than the others.
I only asked because i didn’t see any faces on yours but now I at least see mines after I plus oned it
I would suggest you make the following in your next release:
1- Allow the option and editing features of the top Add to Circles part
2- Allow the option of showing plugin credits or not or at least charge a couple of dollars to have it removed
3- Since there’s already two spots for GPlus remove the small bottom GPlus and replace it with a small LinkedIn
btw,
Do you know how to add a background color to the Add to Circles spot
The FB faces only appear when you’re logged into FB, i.e. when there is an active Facebook session.
1. This is planned feature.
2. Good idea, but right now I do not have any plans to charge my users. I add that option for free.
3. Your point is correct. I’ll do it. But many of us do not have LinedIn accounts. Hence I doubt how much it will be useful.
What do you mean by background color to Add to Circles? Add to Circles is being loaded in an iframe from Google, and hence it cannot be manipulated. Do you mean something else?
I have re-coded the plugin from the nib !
Well , i am upto add more features in it soon.
Thanks for your comment Ahmad. But do you think that the idea of allowing two twitter accounts as I can see in your blog is worth?
Sir gimme sometime and i will be modifying this plugin to a lot more powerful widget. Right now working on three different layouts and certain other options.
Oh thats great Ahmad. We’ll wait for your version. And by the way tonight I’m going to release a new version with a little more code cleanup and optimization. Check out…
Great !
Well i have released 3 versions of it and the latest one 1.0.2 has a lot of errors debugged.With new SEO techs
Im using the same plugin but its little out of range, can you help please?
Of course I can help. Let me know what issue you’re facing.
New version uploaded with some added features which we received as comments. Please download the new version and let me know if you come across any bugs.
If you want any more features to be added into the plugin, then please leave a comment or drop an email.
Thanks,
Prasenjit.
Prasenjit,
Could you please add a screenshot of the v1.1.4 some where in this post so that we could have a glance before downloading it? Thanks.
Peter
Hi Peter, There is not much change in the frontend. Below is the changelog:
1. Cleaned html and css to fix overflow of some div’s
2. Added option to select whether to show Add to Circle or not.
3. Now you can show faces in the Add to Circle badge. That means both the Small badge and the Standard badge are included.
4. Change theme of the Add to Circle box – options include light and dark.
5. Show or hide Facebook faces.
Just download and install it. You’ll like it.
Hi Prasenjit,
I’ve used v1.1.4 on my blog now but somehow, the 3 icons at the very bottom (RSS Feed, Email Updates and Google Plus) are not totally/fully visible. Just take a look on the widget on my blog here : http://www.computerhowtoguide.com/. Please advice on how can I fix this. Thanks.
Peter
Hi Peter,
Just FTP through your plugins directory and then to the easy-mashable-social-bar directory (wp-content/plugins/easy-mashable-social-bar) and open style.css file. Find
#other-social-bar .other-followcss selector and removeheight: 20px; padding-top: 2px;.That should fix your problem.
Prasenjit,
This is an awesome plugin, but I’m having an issue. The add to circles part of the widget is completely blank on my blog (yes my browser is html 5 compatible.) Any ideas?
Do you have a business page created in Google Plus? If not then that might be the issue. Please create a business page and insert your page id in the widget setting and it should work fine. Let me know if that solves your problem.
thanks Prasenjit, had no idea it had to be a business page. That solved it
Hi Prasenjit
I just installed the plugin on my website. I’ve changed both Twitter and Facebook to Spanish, but I don’t know how to do it for the Google+ Circles button. Can you please help me out?.
Thanks
Hi CD,
Thats is easy. Just after you’ve the plusone.js file included, make sure to add
{lang: 'es'}Let me know if that works.
how about this plugin: http://wordpress.org/extend/plugins/wp-mashsocial-wigdet/…??? I see the screenshoot is same Easy Mashable Social Bar Plugin…
That plugin has been released by one of my readers here, but I have no idea about how it works and what the features are.
I codded it , and it has certain new features, right now the 11th version is up on wp.org you can find the support thread here ,
http://goo.gl/UTniF
Thanks for your answer. I only want to be sure that the plugin is secure and also made by a honest man.
Thanks.
Don’t worry , its all fine , and is updated with new features.
Hi, is there a way to remove the subscribe feedburner part?
That feature is not in place right now.
Read the comments here http://goo.gl/zknxb and you will find one in which I told how to remove subscription box.
why it’s look ugly on my site?
I don’t see it breaking on your site. What problem are you facing exactly?
hmmm, anyway, it look like has a white space between Search and this plugin? how to fix it.
Since you don’t have a Google plus account, kindly disable the G+ badge from the widget settings page. That should work.
still not work..
You still did not disable the G+ badge. Try doing it first.
i don’t know where to disable it, just {display : none}
sorry….
Great Job Prasenjit.
I don´t know why some plugin developers insist in inserting hidden links to their plugins.
I know they want backlinks but as you say, that way is unethical.
Thanks for your advice.
Regards
Thank you for the improved plugin,we are going to remove the old plugin and install this one.