I have a video tutorial website where I have to provide videos. For that purpose I have to give different user access to those who login to particular courses.

So can you please help me what is the functionality for user access manager?


1 Answer 1

  1. The most obvious approach to this would be to first create a special user role for your students.
  2. Then for users with this role you can expand the profile with extra fields. Here you can store for every user which courses they follow.
  3. Next you define a custom post type that allows you to store the video labelled with the courses for which it is meant.
  4. Finally, in your templates, you check if the content of user fields matches the labels of the video, to make sure users only see the videos they should get.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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