How To Use Native WordPress Password Protection On Pages In Oxygen

by | Dec 12, 2022 | 0 comments

How To Use Native WordPress Password Protection On Pages In Oxygen

by | Dec 12, 2022 | Free Wordpress Plugins | 0 comments



In this tutorial, we’re using native WordPress Password Protection to hide and show content in Oxygen.

To start, we will use a code snippets plugin (or a custom plugin) to create a new condition for Oxygen using Oxygen’s Conditions API.

Next, we’ll add a Div element to our page or template and use our newly created condition to hide the content if the password hasn’t been entered.

Finally, we’ll create a new section with a Code Block element that uses the default WordPress get_the_password_form function to show the form to enter the password. We’ll then add some additional elements, styles, and custom CSS to make our form more appealing.

Introduction 0:00
Adding the Oxygen Condition: 1:06
Setting Up your Template: 3:37
Adding and Styling the Password Form 5:06

Get the Has Password condition here:

Get Oxygen ➜
Subscribe ➜
JOIN THE OXYGEN FACEBOOK GROUP FOR HELP & SECRET INFO ➜

source