मैं इस के लिए यह काम कर स्क्रिप्ट नहीं मिली है कि आप क्या करने की जरूरत है पहली बैकअप आप टेम्पलेट है।
तो HTML संपादित> खोज <head>
टैग और बाद <head>
<script src='http://code.jquery.com/jquery-1.10.2.min.js' type='text/javascript'/>
कि खोज </head>
टैग के बाद इस कोड डाल दिया और इस टैग से पहले कोड के नीचे डाल दिया
<link href='https://sites.google.com/site/menightfury/home/social-locker/public/sociallocker_v1.6.0.css' rel='stylesheet'/>
<script src='https://sites.google.com/site/menightfury/home/social-locker/public/sociallockermin_v1.6.0.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:"https://www.facebook.com/www.mostsharedposts"},
facebook: {url:"https://www.facebook.com/www.mostsharedposts"},
google: {url:"https://plus.google.com/u/0/b/110589424466302901501/110589424466302901501"},
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>
यह कैसे पोस्ट में अपने कोड को छिपाने के लिए है संपादक
एचटीएमएल संपादित करने के लिए जाएं और इस कोड को जोड़ें
<article id="default-usage">
<div class="to-lock" style="display:none;">
Hello i am the hidden content
</div>
</article>
मैंने इसे अपने ब्लॉग check demo
में कार्यान्वित किया है यह jQuery और कुछ वेब प्रोग्रामिंग ज्ञान जैसे सीएसएस के साथ संभव है। – aflatoon