Blogger Blog Premium Article Locker Widget for Paid Members

If you're a Blogger blog owner struggling to monetize your premium content, our Premium Content Locker Widget is the perfect solution. Designed specifically for Blogger, this widget lets install custom paywall which blurs parts of your posts, rendering them unable to read, and require a PIN for access to the blurred content, the pin can be shared with paying subscribers through platforms like Patreon or Gumroad in exchange of decided charges. With features like cookie-based access through pin to premium content lasts for 60 days and it offers seamless integration into your blog, this widget empowers you to offer paid subscriptions and generate consistent revenue while maintaining complete control over your content.

  • Go to your blogger, click New Post. Inside post editor on left top corner click pen icon and change compose mode to html mode and paste following html. Change the content as per your requirement.

Find onclick="window.location.href='https://www.classwithmason.com/2024/11/membership-introduction.html'">Request Pin</button> and replace redirect link to one of your choice

<div class="blurred-content" id="blurredContent"> <p>This is paragraph 5 of the post. Praesent a metus sed ligula egestas sagittis sit amet id libero.</p> <p>This is paragraph 6 of the post. Curabitur a diam id felis viverra pretium a eget mauris.</p> <p>This is paragraph 7 of the post. Sed tristique urna vel dapibus convallis.</p> </div> <div class="benefits-section" id="benefitsSection"> <h3 style="text-align: center;"> Buy these codes by upgrading— and explore all the best widgets on Class with Mason.</h3> <small><i style="text-align: center;">The author has made this story available exclusively to Class with Mason members. Upgrade now to instantly unlock this story along with other member-only benefits.</i></small><br> ⭐<strong>Exclusive Access:</strong> Unlock member-only notes and resources on Class with Mason. <br> ⭐ <strong>In-Depth Insights:</strong> Explore detailed articles addressing key topics and questions. <br>⭐ <strong>Personal Growth:</strong> Gain actionable knowledge to achieve your goals. <br>⭐ <strong>Support the Platform:</strong> Your upgrade helps keep this platform thriving. <small> Powered by www.classwithmason.com</small> </div> <button class="continue-btn" id="continueBtn"> 📄 Upgrade </button> <div class="overlay" id="overlay"></div> <div class="popup" id="popupBox"> <button class="close-btn" onclick="closePopup()">✕</button> <h3>Enter PIN to Continue</h3> <form id="pinForm" onsubmit="return false;"> <input autocomplete="current-password" id="pinInput" name="password" type="password" /> <button class="submit-btn" onclick="checkPin()">Submit</button> <button class="request-pin-btn" onclick="window.location.href='https://www.classwithmason.com/2024/11/membership-introduction.html'">Request PIN</button> </form> <p class="note">One PIN lasts for two months, ensuring uninterrupted access. Your contribution supports us in maintaining the platform.</p> </div>
  • This is CSS which you can place in each post under html or place it once in template. Go to theme section of your website, click Edit HTML. Find tag ]]></b:skin> and place following css just above this tag
<style> .blurred-content{filter:blur(5px);max-height:200px;overflow:hidden;transition:filter .3s ease-in-out}.benefits-section{font-size:16px}.continue-btn{display:block;margin:20px auto;padding:8px 12px;background-color:#007bff;color:#fff;font-size:18px;font-weight:bold;border:none;border-radius:8px;cursor:pointer;box-shadow:0 6px 8px rgba(0,0,0,.2);transition:background-color .3s ease}.continue-btn:hover{background-color:#0056b3}.popup{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:300px;background-color:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 4px 8px rgba(0,0,0,.2);padding:20px;z-index:1500;padding-top:40px}.overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.4);z-index:12}.close-btn{position:absolute;top:10px;right:10px;background:none;border:none;font-size:20px;font-weight:bold;color:#333;cursor:pointer;transition:color .3s ease-in-out}.close-btn:hover{color:#007bff}.submit-btn{display:inline-block;margin-top:10px;padding:10px 20px;background-color:#007bff;color:#fff;font-size:16px;font-weight:bold;border:none;border-radius:6px;cursor:pointer;box-shadow:0 4px 6px rgba(0,0,0,.1);transition:background-color .3s ease}.submit-btn:hover{background-color:#0056b3}.request-pin-btn{display:inline-block;margin-top:10px;padding:10px 20px;background:none;color:#007bff;font-size:16px;font-weight:bold;border:none;cursor:pointer;text-decoration:underline;transition:color .3s ease}.request-pin-btn:hover{color:#0056b3} </style>
  • Place following javascript inside your template just above the end body tag </body>

Find the pin in the javascript (pinInput === "43119872") and change the pin to your choice.

(function(){
    const c=[80,111,119,101,114,101,100,32,98,121,32,67,108,97,115,115,32,119,105,116,104,32,77,97,115,111,110];
    const l=[104,116,116,112,115,58,47,47,119,119,119,46,99,108,97,115,115,119,105,116,104,109,97,115,111,110,46,99,111,109,47,50,48,50,52,47,49,49,47,98,108,111,103,103,101,114,45,98,108,111,103,45,112,114,101,109,105,117,109,45,97,114,116,105,99,108,101,45,108,111,99,107,101,114,46,104,116,109,108];
    const credit=document.createElement("small");
    credit.style.fontSize="10px";
    credit.style.display="block";
    credit.style.textAlign="center";
    credit.style.marginTop="10px";
    credit.innerHTML=String.fromCharCode(...c)+" <a href='"+String.fromCharCode(...l)+"' target='_blank' style='color:#007bff;text-decoration:none;'>here</a>";
    document.getElementById("popupBox").appendChild(credit);

    const d=document,blurredContent=d.getElementById("blurredContent"),benefitsSection=d.getElementById("benefitsSection"),popupBox=d.getElementById("popupBox"),overlay=d.getElementById("overlay"),continueBtn=d.getElementById("continueBtn");
    function setCookie(a,b,c){const d=new Date();d.setTime(d.getTime()+c*24*60*60*1e3),document.cookie=`${a}=${b}; expires=${d.toUTCString()}; path=/`}function getCookie(a){const b=a+"=",c=document.cookie.split(";");for(let a of c)if((a=a.trim()).indexOf(b)==0)return a.substring(b.length,a.length);return null}function showFullContent(){blurredContent.classList.remove("blurred-content"),benefitsSection.style.display="none",continueBtn.style.display="none",popupBox.style.display="none",overlay.style.display="none"}
    function closePopup(){popupBox.style.display="none",overlay.style.display="none"}
    function checkPin(){document.getElementById("pinInput").value.trim()==="43119872"?(setCookie("pinVerified","true",60),showFullContent()):alert("Incorrect PIN. Please try again.")}
    continueBtn.addEventListener("click",function(){getCookie("pinVerified")==="true"?showFullContent():(popupBox.style.display="block",overlay.style.display="block")});
    document.addEventListener("DOMContentLoaded",function(){getCookie("pinVerified")==="true"&&showFullContent()});
    window.closePopup=closePopup;window.checkPin=checkPin;
})();

Request Please do not try to remove the developer credit, that would be plagiarism and theft if you do! Encourage us to keep providing such free features and widgets for bloggers by sharing comments below and mentioning us on your site. Thanks

Premium Content Unlock Widget for Blogger Blogs

Buy these codes by upgrading— and explore all the best widgets on Class with Mason.

The author has made this story available exclusively to Class with Mason members. Upgrade now to instantly unlock this story along with other member-only benefits.
Exclusive Access: Unlock member-only notes and resources on Class with Mason.
In-Depth Insights: Explore detailed articles addressing key topics and questions.
Personal Growth: Gain actionable knowledge to achieve your goals.
Support the Platform: Your upgrade helps keep this platform thriving.

You have already seen the demo if you have purchased this code via upgrading

Disclaimer: See the list of blogger templates this widget has been tested on in the comments section below 👇. Please don't forget to share your template name if you have successfully implemented it on your site. It will help other users! Thanks

Description of the Widget

  • Purpose: This widget enables Blogger blog users to monetize their premium content by restricting access and requiring a PIN for full visibility.
  • Content Restriction: After a specified number of paragraphs (default: four), the remaining content is blurred and locked.
  • PIN Authentication: Users must enter a PIN to unlock the restricted content. If correct, access is granted, and cookies save the access for 60 days.
  • Cookie-Based Access: Users won't need to re-enter the PIN during the 60-day period.
  • Monetization Integration: The "Request PIN" button redirects users to platforms like Patreon or Gumroad, where PINs can be sold under a paid membership.

Benefits of the Widget

  • Monetization for Premium Content: Bloggers can charge users for access to exclusive content via subscription platforms.
  • Affordable Solution: No need for expensive platforms—this widget uses your existing Blogger blog.
  • User-Friendly: Subscribers enjoy hassle-free access for 60 days after entering the correct PIN.
  • Content Control: Bloggers can change the PIN periodically to maintain exclusivity.
  • Integration with Blogger: Designed specifically for Blogger, this widget requires no advanced coding skills or external tools.
  • Adaptable: Suitable for any niche, from tutorials and guides to premium articles.

How It Solves Blogger’s Subscription Issue

  • Addressing Limitations: Blogger lacks built-in subscription-based options. This widget fills that gap with an easy-to-use solution.
  • Custom Monetization: Bloggers can leverage platforms like Patreon or Gumroad to sell access codes (PINs) to premium content.
  • Seamless Integration: This widget integrates directly into your Blogger blog without requiring migration to other platforms.

Steps to Monetize with the Widget

  1. Add the widget code to your Blogger blog template.
  2. Set a unique PIN for your premium content.
  3. Share the PIN exclusively with paying subscribers through Patreon or Gumroad.
  4. Update the PIN periodically to encourage continued membership.
  5. Promote your membership program to readers for access to exclusive content.

Key Benefits for Bloggers

  • Empowers content creators to monetize Blogger blogs without additional tools.
  • Provides a scalable solution for offering premium content.
  • Retains subscribers by ensuring exclusive access to valuable resources.

Conclusion

This widget is an essential tool for Blogger users who want to unlock the potential of paid subscriptions without moving to complex platforms. It empowers creators to generate income, maintain control of their content, and provide a seamless experience to their audience.

FAQs

Can a Blogger blog be placed behind a paywall?

Yes, a Blogger blog can be placed behind a paywall using our Premium Content Unlock Widget. This widget allows you to blur parts of your posts and restrict access to premium content until users enter a PIN, which can be shared with paying subscribers.

Can Blogger blogs offer paid subscriptions?

Yes, Blogger blogs can offer paid subscriptions with the help of our widget. It integrates seamlessly with platforms like Patreon or Gumroad, enabling you to sell PINs to access exclusive content, creating a subscription model for your blog.

How does the Premium Content Unlock Widget work?

The widget blurs content after a set number of paragraphs and displays a "Continue Reading" button. Users must enter a valid PIN to unlock the content. The PIN can be sold via platforms like Patreon, providing a simple way to monetize your blog.

What are the benefits of using this widget for Blogger?

This widget allows you to monetize your Blogger blog without migrating to other platforms. It offers cookie-based PIN authentication for user convenience, integrates with popular payment platforms, and is a cost-effective solution for offering premium content.

Can I change the PIN for security or membership purposes?

Yes, you can change the PIN at any time. This feature helps you maintain exclusivity and encourages users to renew their subscriptions through platforms like Patreon or Gumroad.

how to apply paywall on blogger blog post content
Share this post to support us Leave a review or comments using disqus or facebook below

Join the conversation

Join the conversation