Showing posts with label Solution. Show all posts
Showing posts with label Solution. Show all posts

Wednesday, May 27, 2015

How To Added Social Content Locker In Blogger Blos

Hi Friends Iam Maria
Today iam going to share How To Added Social Content Locker In Blogger Blogs.
I hope my Method will help you to get easily social content locker in your blog content

First Step: Go to Template then Click Edit Html

Second Step : Make Sure jQuery library is already included in your blog.if not search (ctrl+f) <head> and write down the following just below of <head>

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

Third Step :  Now search for (ctrl+f) <head/> And Paste the following code before <head/>



<link href="http://cdn.rawgit.com/menightfury/social-locker/master/style.css" rel="stylesheet"></link>
<script src="http://cdn.rawgit.com/menightfury/social-locker/master/script.js" type="text/javascript">
<script type='text/javascript'>
  //<![CDATA[
jQuery(document).ready(function ($) {
  $('#default-usage .to-lock').sociallocker({

    buttons: {order:["facebook-like","twitter-tweet","google-plus"]},

    twitter: {url:"http://twitter.com/username"},
    facebook: {url:"https://www.facebook.com/your page url"},
    google: {url:"https://plus.google.com/google+ id"},

    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>





Fourth Step : Now When you post a new content click in post's Html and paste the code then copy the content what you want to do hide and past it -- Hidden Content Starts --

<article id="default-usage">
 <div class="to-lock" style="display:none;">
  -- Hidden Content Starts --
 </div>
</article>

Tags: How To Added Social Content Locker,added Social Content Locker,How To install Social Content Locker blogger blog,How To Get Social Content Locker in blogger blog