# How to create gated content on wordpress

> To create gated content in WordPress, install and activate the MailOptin plugin, create a new In-Post optin campaign with a chosen template, configure the content lock settings by enabling the lock option and selecting a block style, and set up display rules.

Canonical: https://livedemo.ai/tutorials/how-to-create-gated-content-on-wordpress/
Apps: WordPress
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a39a9ab56e05a00fe04b0/preview?step=1

## Steps

1. Head over to your WordPress admin area and select "Plugins."
2. Search for "MailOptin" in the plugin search bar. Click "Install Now" and "Activate."
3. Navigate to the toolbar, select "MailOptin," and click "Optin Campaigns."
4. Click the "Add New" button located next to "Optin Campaigns."
5. Select "IN-POST" and choose a template you want to use for your Optin form.
6. Set up your template as desired. Proceed with activating the content lock feature by clicking "Configuration."
7. Enable the "Lock Content Below Optin" option, then choose the content block style you'd like to apply.
8. Select "Display Rules" to automatically configure content locking by establishing the display conditions for this MailOptin campaign.
