Published on Mar 24, 2020

[Condition] Post Password Protected

Sridhar Katakam

This members-only tutorial provides the steps to register a custom condition so that the entire content of single pages (Pages or Posts or CPTs) including the content coming from the Oxygen editor can be password protected in Oxygen.

This is a newer and better method compared to the earlier solution.

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: [Condition] Post Password Protected

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $499 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right