Unlock provides a Wordpress Plugin which integrates our Paywall application into any WordPress.org site. This is the easiest way to lock content inside of pages and posts so that only your members can access them.
We maintain a WordPress.org site which lets you experience the membership experience from a visitor's point of view: wordpress-demo.unlock-protocol.com.
You have deployed your own Lock following the instructions on this page.
You are using wordpress.org to host a WordPress site yourself (wordpress.com website will not work as plugins are restricted on that platform.)
Inside the admin section of your WordPress site, click on Plugins > Add New
In the search bar on the plugins page, search for "Unlock Protocol"
Once the plugin has been installed, you need to configure it with your lock address.
After this, you're all set and you can start locking content on your posts or pages!
The plugin adds 2 "blocks" to your Gutember Editor. The first block lets you hide/show content based on whether the current visitor owns a key to your lock. This block can include other blocks so you can easily lock images or any other content.
The second block is actually a button to let your visitors purchase an access key to your lock.
Like any other block, click on the ⊕ sign to add an "Unock Protocol Block".
Once added to the page, the block contains a visual indication (only when editint the post!) to show the block's status:
From there you can add more content which will only be visible by members.
On the right column, a setting lets you toggle between members-only and non-members-only content:
The Editor also lets you chose a "Checkout Button" which users can click on to become members!
Once added to the page you can customize its text. The button defaults to the template style.
Make sure you save your post or page once it's been configured!