Hello Everyone,
I am planning to build a website with an operational portal. I want the users to login through the portal using the provided login credentials.
I am planning to build 4 different login forms for 4 different user roles. For example, There are 4 roles for the portal… Student, Teacher, Staff, Management. I want each user role to login through their respective forms.
I don’t want the teacher credentials to be verified by student form or vice versa. Any suggestion on how can I build such login page?
Note: I know only entry level coding in PHP so I am more reliant on Plugins. I was planning to use ACF Form as it allows us to use conditional logics but I am only able to either add or edit users via ACF Form.
[ad_2]
What’s the reason for wanting separate forms? Any membership style plugin (e.g. MemberPress, Ultimate Member, Paid Memberships Pro, etc) can automatically log the user in with their respective roles because they are assigned to the username.
The way it usually works is a every single user has its own credentials, but every user gets assigned its own role (and capabilities) so the backend frontend is different for each role. Maybe you can use restrict content pro, memberpress and so on perhaps to get what you want.