How to Add a Social Content Locker for Blogger [Fixed Facebook Buttons]

Update on How to Add a Social Content Locker for Blogger: One of our readers remind us about Facebook button issue. Actually, Facebook has changed the programming of Link and Share button, so our buttons are not working. But, We have updated {Fixed} the code and now it is working very well without any issue.

Social Content Locker for Blogger

Blogger is the biggest and free platform for hosting website. It is free, so this is the first choice of newbies. Many people are using social networking sites to boost their site’s traffic.

Professional bloggers also depend on upon this strategy; they also rely on the social network traffic. But, for a newbie, it is too difficult to gain followers.

Social Content Locker for Blogger Posts

There are many widgets by using which a newbie can increase their followers on social networking profiles. Social Content Locker Widget is also one of them.

So, today we have come up with social content locker widget by using which you can boost your blog traffic from social sites because this widget can increase followers.

What is Social Locker & Why to Use it?

A Social Content Locker allows you to lock any part of your content on a web page until a user clicks one the social buttons (Tweet, G+, Facebook Like). This way you get more tweets, likes, shares, etc. thus giving you massive exposure.

Way to Add Social Content Locker for Blogger Blog?

  • Go to Blogger >> Template >> Edit HTML.
  • Search for </head> tag and paste following jquery library just above if it. Most of the templates already come with it. If your template has already this library code, then skip this step and move on next.

<script src=’https://code.jquery.com/jquery-1.10.2.min.js’ type=’text/javascript’/>

  • Now, again Search for </head> tag and paste the following code just above if it.

<link href=’https://doc-0s-7k-docs.googleusercontent.com/docs/securesc/46mevca208h20kh59uvtk55q7dku0d9l/v6vg0hu920bn8rogntsjv4agqgusqopu/1495785600000/08960062118141305201/08960062118141305201/0B-tTrbz0ZUcpY0pZbFV3VVVkYlk?e=download&nonce=f563ii5mtg2pa&user=08960062118141305201&hash=avg6o490n12qh189t9rta5aogtdan51o’ rel=’stylesheet’ type=’text/css’/>
<script src=’https://doc-0c-7k-docs.googleusercontent.com/docs/securesc/46mevca208h20kh59uvtk55q7dku0d9l/v7nm805i6a1hb50d5vnukjfjg7jqsq0p/1495785600000/08960062118141305201/08960062118141305201/0B-tTrbz0ZUcpVzdUZk14MFEyUVk?e=download’ type=’text/javascript’/>
<script type=’text/javascript’>
//<![CDATA[
$(function(){
$(‘.socialLocker .to-lock’).sociallocker({
buttons: {order:[“facebook-like”,”twitter-tweet”,”google-plus”]},
twitter: {url:”http://twitter.com/mybloggerguides“},
facebook: {url:”https://www.facebook.com/mybloggerguides“},
google: {url:”https://plus.google.com/+MyBloggerGuides“},
text: {
header: “Like us To Unlock This Content”,
message: “This content is locked. Like us on Twitter, Facebook or Google plus to unlock it.”
},
locker: {close: false, timer: 0,},
theme: “secrets”
});
});
//]]>
</script>

  • Replace the links with your links where you want likes or shares.
  • Now, whenever you want to show this social content locker on any of your blogger post or pages, just add this code in your Blogger HTML Post Editor.
<article class=”socialLocker”>  <div class=”to-lock” style=”display:none;”>    — ADD YOUR CONTENT HERE —   </div> </article>
  • Replace — ADD YOUR CONTENT HERE — with your content which you want to lock.
  • Hit on publishing button.
  • That’s it. Now Open your blog post where you have added this social locker and see it live.

Recommended Blogger Guides & Widgets

  1. How To Add AdSense Page-level Ads in Blogger for Mobile View
  2. How To Add Materialized Ripple Effect on Blogger Elements
  3. How To Add Sitelinks to Google Search Result for your Blog/Website

In Conclusion of Social Content Locker for Blogger Blog

So above guide is about How To Add A Social Content Locker for Blogger Blog? We hope this tutorial will help you in creating a social content locker & this tutorial will still help you gain some social signals and boost your traffic. Do Share.

Thank You! Stay Blessed!

Contents

Paramjot Singh
 

I’m Paramjot Singh, the creator of mybloggerguides.com. I started this blog back in 2016 to share my real experiences from the world of blogging – the wins, the failures, and everything in between. Originally from India and now living in Australia, I’ve spent years learning how blogging, SEO, and online income actually work in the real world. On My Blogger Guides, I focus on SEO tips, blogging strategies, product reviews, and step-by-step guides for Google’s Blogger platform, so that anyone can start their blogging journey without investing much money. My goal is simple: to make blogging easier, clearer, and more accessible for beginners who want to build something of their own online.

Click Here to Leave a Comment Below 11 comments
oussama sebti - August 25, 2016

facebook box doesn't works it looks empty, no FB like button at all

Reply
    Paramjot Singh - August 26, 2016

    There is a problem with FB button due to Facebook updates
    this will be fixed in the new release.
    Thank You! Keep In Touch With Us.

    Reply
    Paramjot Singh - August 27, 2016

    @Oussama, We have updated the code. Now Facebook Like & Share button of social locker working perfectly.

    Reply
oussama sebti - August 30, 2016

it's working now, I was looking for this content locker for long time, thank you.

Reply
    Paramjot Singh - August 31, 2016

    Welcome @Oussama.
    Glad to help you.
    Keep in touch with us.

    Reply
ONHACKING - December 4, 2016

Exactly Facebook share does not works besided that everything is fine

Reply
Mohammad Gouse - December 17, 2016

hi bro its very nice..How to add share buttons instead of like buttons

Reply
Paramjot Singh - December 24, 2016

Hey bro. 🙂
Change this line – buttons: {order:["facebook-like","twitter-tweet","google-plus"]},
with this line – buttons: {order:["facebook-share","twitter-tweet","google-share"]},

Thank You. 🙂

Reply
sachin khanna - May 25, 2017

Please update link of dropbox. Because sometimes dropbox blocks your link due to high traffic problem.

Reply
sachin khanna - May 25, 2017

Please update link of dropbox. Because sometimes dropbox blocks your link due to high traffic problem.
Please give us a link where we can download these two files.

Reply
    Paramjot Singh - May 26, 2017

    Hi, Sachin. Links has been updated. Let me know if you’re facing any problem. Thank You. 🙂

    Reply

Leave a Reply: