Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need a specific user role to be able to login through a form on a page, and then display the page content. They shouldn't login with the wp-admin page. I just want a normal <form> on the protected page, but i want the "real" user credentials to be used, not just a single password.

They should be able to go into the admin and change their profile details, but not touch anything else. Could i restrict access to only one page in the admin for that user role? And if the user tries to visit another page in the admin, redirect him somewhere else?

Is it possible to do these two things?

share|improve this question

closed as not a real question by toscho Dec 15 '12 at 23:20

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

Is it possible to do these two things?

yes.

UPDATE if you want to know how to do that read next manuals and code guides:

  1. User Roles
  2. Utilizing User Roles In WordPress
share|improve this answer
<sarcasm> Thanks, that's all i wanted to know! </sarcasm> – qwerty Nov 15 '12 at 9:16
That was your question, man. Not mine. – Oleg Butuzov Nov 15 '12 at 9:17
1  
see update if you intrested into know how to implement it. – Oleg Butuzov Nov 15 '12 at 9:24
3  
Please stop posting bare links as “answers”. Add solutions or comments. – toscho Nov 15 '12 at 9:30
First time link to giude calls a "bare link". – Oleg Butuzov Nov 15 '12 at 9:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.