Looking to learn how to set up content locking in WordPress and generate more conversions from your website content?

This tutorial can help you get started the right way.

Getting thousands of views and hundreds of shares from your website content is great — but these metrics mean nothing if they aren’t leading to conversions.

Gating some of your top content is a great way to turn your traffic into leads and customers. But this can be a bit tricky — especially if you’ve never built a content lock on your own.

We've put together a straightforward, step-by-step tutorial to guide you through the entire process.

We'll show you how to effectively lock content on your WordPress site and use it as a lever to boost your lead generation.

Let’s dive in.


Here’s Why You Should Lock Your High-Value Blog Posts


Turning your high-value posts into gated content is a smart play for a few reasons.

Think of it as setting up an exclusive club for your top-performing WordPress content - it raises the bar, making people curious about what's behind the lock. It’s also a practical way to gather a crowd who's genuinely interested in the valuable content you have to offer.


The big win here is getting those email sign-ups through an opt-in content locker. Each one is a potential lead, a direct connection to someone who values your content. It's a great tool for building up your email list, which is a key part of any online strategy.

But you should restrict content sparingly to prevent potential readers from dropping off your website without interacting. Hiding most of your content behind a lock can also hurt your SEO efforts, because search engines won’t be able to crawl them correctly.

You should save content locking for:

  • Exceptionally valuable content you know people will pay for or opt-in to access

  • Building your email list (providing a free offer in exchange for contact info is a key lead generation strategy)

  • Special events like webinars or promotional campaigns, where exclusive content can significantly drive engagement and participation

How to Set Up a Content Lock on Your WordPress Website

The best way to configure a content lock on your WordPress site is with a plugin that offers this functionality. There are a number of powerful WordPress plugins that offer this function, in addition to other useful lead-generation features. A couple of top options include Thrive Leads and a pro OptinMonster subscription.

This WordPress tutorial shows you how to create an easy, eye-grabbing content lock form with Thrive Leads, one of the best WordPress content lockers available.

1. Download & Install Thrive Leads: The Best Content-Locker Plugin

Thrive Leads is a solid choice if you're looking to create high-quality content lock forms and popups without a lot of fuss. 

Thrive Leads, the best lead-generation plugin


First off, you're going to love how easy it is to use. With its drag-and-drop editor, designing custom forms is a breeze, even for beginner website owners.

This tool is all about making things simple and efficient for you. And with a variety of templates (450+ to be exact) that are not just eye-catching but conversion-optimized, you're set to capture your audience's attention.


What's really cool about Thrive Leads is the way it lets you get specific with who sees your forms and popups

You can tailor your content based on what your visitors are into, where they came from, and more. This means you can make your content super relevant to each visitor, increasing the chances they'll engage with it.

Also, it’s a-few-clicks easy to integrate with your favorite email marketing services. 

This means you can manage your new leads easily and effectively. Plus, the plugin’s detailed analytics engine helps you keep track of how your forms are performing, giving you the insights you need to keep improving.

We know how important it is for your content to look good on every device, which is why everything you create with Thrive Leads is mobile-responsive. 

Giving you everything you need to create high-converting opt-in forms and land more email subscribers.

2. Set Up Your Leads Shortcode

To add a content lock to your pages or posts, you’ll need to create a shortcode. This is super simple to do in Thrive Leads.

First, access your WordPress dashboard, navigate to the "Thrive Dashboard," and click on "Thrive Leads". 


In the Thrive Leads dashboard, find the “Leads Shortcode” section and select “Add New”.


A popup will appear, asking you to name it. Give your shortcode a simple name and click the “Add Lead Shortcode” button.


Next, click the “Edit” button in your Thrive Leads Dashboard. Now it’s time to design and customize your opt-in form.

3. Set Access Permissions by Activating the Content Locking Feature

After adding your shortcode, activate the toggle under the "Content locking" section.


This changes the shortcode's functionality to a content locking one.

4. Create and Customize Your Form

In the next screen, click the blue “Create Form” button, give it a name and click the green “Create Form” button.


Thrive Leads has hundreds of opt-in form templates for you to choose from. 

To select a template for your Lead Shortcode form, select the "Edit Design" option.


Scroll through our library of professionally designed templates until you find the perfect one for your offer.

Once you've selected a template, the Thrive Visual Editor will open, allowing you to customize your form.


You can change every element of your pop-up including the text, colors, background image, and CTA button to make a visitor take a specific action - you're in control!

Save the form and exit the editor after you've customized your form.

How to Collect Payments Through Your Content Lock

Content locks are a great way to monetize your exclusive content.

To set up a paywall for your premium content, all you have to do is remove the form on your template and replace it with a CTA button, like in the image below:


In the left sidebar, add a link to your checkout page for this post (you’ll need a WordPress payment plugin like WooCommerce or alternate checkout tool for this).

Also ensure that your customer is automatically redirected to the full-length content piece after payment.

Tip: If you’re a coach or online course creator, you can use a paywall to encourage readers to pay for access to your membership site, where they can access an array of other exclusive content. You can easily set a platform like this with a membership plugin like Thrive Apprentice or MemberPress.

5. Connect Your Form to Your Email Provider

You'll need to configure your email provider so that a confirmation email is sent and when clicking on the link in the email your subscribers are redirected to the full-length content piece, or a download page.

This is different for every email provider, but a quick Google search should help you out.

Example: “How to create a confirmation email in MailChimp

Be sure to create a follow-up email sequence to engage your new leads and build a relationship with them. This strategy is a key part of the lead nurturing process.

And if you’re collecting payments for this piece, ensure that your checkout tool adds new customers’ email addresses and names to the right email list.

6. Save and Copy the Shortcode

When everything is set up and working properly, don't forget to click on "Save Work".

Next, back in your Thrive Leads dashboard, copy the shortcode of the form that you've just customized, as you will need it for the next step:

7. Set Up Lock Mode for Your Form

Lastly, there's one more thing you can set up here, and that is the "Lock Mode".


This is where you can set up how exactly you plan to hide your content - you can opt for hiding it entirely under your form, or you can also choose to blur it and give the visitor a hint at the content that can be unlocked:


Note: The blur filter is not supported in Internet Explorer. Low opacity will be used instead.

8. Embed Your Shortcode Into Your Page or Post

Now open the page or post on which you want to set up your hidden content.


Drag and drop a "Text" element and paste the copied shortcode. Adding this element will depend on the page builder you’re using for your website.

In our example, we’re using Thrive Architect, but this content lock feature can work with most popular landing page plugins – and the WordPress Block Editor.


The shortcode consists of two parts - place the first part at the beginning of the content to be hidden and the last part at the end.

The "Hidden Content" text can be removed, and then the last part, also located between brackets, can be cut and pasted in another "Text" element, at the end of the hidden content.

Add the second part of the short code to the end of the hidden content


The only thing left to do is to save your page and preview it. The page should now have a hidden section, that can only be unlocked via optin.

After the visitor fills in the form and submits it, the hidden content will automatically become available:


Reloading the page will not prompt the visitor to submit the form once more - the content will still be available. 

Next Steps: Start Driving Traffic to Your Forms to Generate More Leads

Now that you’ve set up your content lock, it’s time to get it in front of your target audience.

As you share your content on social media, through email, and even via SEO, you need to make sure you’re targeting the right people (i.e. your ideal customer based on your buyer personas).

Here are 4 free tutorials to help you drive the right traffic to your website:

Ready to Create Your First Content Lock?

With this tutorial, you can turn your high-traffic blog posts into lead-generation or even sales opportunities.

And Thrive Leads helps you get this done fast and with ease. Our templates were built with conversion optimization in mind so you don’t have to spend hours figuring out how to turn social shares into more conversions.

The best part? You can get this plugin for a really great price.

But don’t just take our word for it.

Get Thrive Leads and start turning more visitors into subscribers today.

About the Author Chipo


Chipo is a content marketer, digital consultant, and seasoned freelancer with a keen interest in tech, marketing, and the future of work. She helps both graduates and solopreneurs set up their personal brands so they can thrive online. When she’s not working, she’s reading, dining out, and watching old seasons of Grey's Anatomy.

Get In Touch
>