Password Protected User

I read almost all your posts on this topic and still can’t figure out how to accomplish this.
I need instructions on how to implement this…

http://demo.theme.co/icon-1/shortcodes/protected-content/ Can you point me to the right direction please?

Hi Lucy,

Thank you for writing in, anything inside that [protect] shortcode will not be visible to users, unless they are logged in.

e.g.

[protect] This content is not visible to user, unless logged in! [/protect]

You can paste a shortcode inside a Content Area element.

Actually, you don’t need the shortcode because the Protect Content is available as a Classic Protect element.

Again, anything that you put on that Classic Protect element will only visible to the logged in users.

Hope this shed some lights,
Cheers!

I understand but still need to know how to add user name and password so the users who have password can log in

I will create a page using cornerstone and add a session for headline and the next should be for the user name and password

Do I need a special code for that?

I saw another post with a code to add into the php child theme - those posts were old so maybe there is an easier way.

How should I do?

Hi Lucy,

I’m sorry I’m not entirely certain of what you’re trying to do. You mean how to create/add a user? In your admin dashboard navigate to Users > Add New, create a user with a Subscriber role, then your viewers can use that login to see what’s in the Protected Content.

How to Add New Users and Authors to Your WordPress Blog

Thanks,

No that is not what I meant.

I just want to display in the protected page

User name …
Password …

Just like the link I sent on this original message.

How do I do that?

Hey @LucyKeile,

To create a passowrd protected page, edit your page in WordPress page editor then click on the Visibility option (see screenshot)

Change the visibility from public to Password Protected and set the password below (see screenshot)

The [protect] shortcode or the Classic Protect element uses the normal WordPress username/password, to create username / password for the page that uses [protect] shortcode or the Classic Protect element, you need to create a new user via Users > Add New as Friech suggested here

Hope this helps!

Thanks that worked!!!

We would like to give that password to certain people to read and see more detailed info. Do I still need to create a new user? Would be a new user for every person who goes to this protected page?

Hi Lucy,

You don’t need to create new user for that setup, you can just give them the URL and the password. Creating a user account is only needed if they need access to the backend or to certain features (like membership).

Thanks!

Fantastic!

Glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.