How two create a login page for two different kind of user roles in wordpress

93 Views Asked by At

I am making a website for my fraternity using wordpress (This is my first time using wordpress) and I am creating a login page for actives and alumni to use. Once they login depending on their role, They see either active stuff or alumni stuff. I got it to work just as a basic login page but the client wants me to create a login page for active brothers and one for alumni. I am curious how to make this work because it seems rather difficult and I have been on this issue for the past couple days. So I

I have tried many plugins and I probably used the right one and just didn't use it correctly. If anyone has done this before in the past and could help a newbie out that would be great!

1

There are 1 best solutions below

0
imhvost On

Until the user logs in, you will not be able to find out what his role is!

Regarding the login form - you can create two separate pages(possibly with different designs) with different urls, for example /login/brothers/ and /login/alumni/. But the purpose of the pages will be one - authorization. And after authorization, redirect the user according to his role.