I have a classipress site and want to have the user choose upon registering with the site if they are a teacher, or student. These will be different roles. I have been trying to get roles at registration plugin to work because it is basically what I need, but since classipress has a custom reg page it does not seem to work. Any ideas?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
In your functions.php file do this:
You can make 2 links in your website: 1 for teachers: http://yourwebsite.com/wp-login.php?action=register&role=0 and another for students http://yourwebsite.com/wp-login.php?action=register&role=1 So registration form automaticaly will select user role based on role set in uer. |
||||
|
|
