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: https://gist.github.com/Spellhammer/e...
Get Oxygen ➜ https://oxygenbuilder.com/
Subscribe ➜ https://oxygenbuilder.com/ytsubscribe
JOIN THE OXYGEN FACEBOOK GROUP FOR HELP & SECRET INFO ➜ https://oxygenbuilder.com/facebook
Смотрите видео How To Use Native WordPress Password Protection On Pages In Oxygen онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Oxygen 11 Декабрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,701 раз и оно понравилось 109 людям.