- The most obvious approach to this would be to first create a
special user role for your students. - 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. - Next you define a custom post type that allows you to store the
video labelled with the courses for which it is meant. - 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.
Related Posts:
- Limit access to posts/pages by user roles
- How can I let users to access plugin functions based on roles?
- How can I change plugin to give access to editor user role?
- Plugin to restrict access to pages in wp-admin
- Getting user roles in plugin files
- Auto delete WordPress users according to time
- How to create user groups and allow custom posts and plugin modify/access to specific group?
- How to create restrict content to users (by user, not by role)
- Multisite – maximum number of users with specific role
- Understanding State in WordPress Multisites
- Is there a plugin for WordPress for creating ‘Accounts’ where all users who belong to that Account can only see Account data? [closed]
- Add User Role: Pre-saved in User-Meta [SOLVED]
- Custom Login page with custom redirects for each user?
- Mutliple users editing single document in wordspress
- Remove specific administrator’s capability
- Plugin permissions for Editor role
- Role based permission edit for plugins
- Creating teams of users in WordPress
- Plugin privelages for “editors”
- implement custom roles in custom plugin
- Can we hide a certain user in WP?
- how to create user profile pages and display them based on users roles
- How to make this custom capability work? [duplicate]
- How to create different views for different user roles?
- How to show private pages based on a user’s role?
- How do I restrict a second admin certain access?
- User / membership Plugin [closed]
- How can I save cookies to members
- Overwrite user role
- Confusing problem with displaying message recipient metadata
- Defined user role to access plugin’s pages
- Restrict my pages from public
- Custom User Role
- Want to add post to user dashboard
- How to give access to the particular page in wordpress for specific username/email NOT roles [closed]
- How to disable plugin capability : “create new category”
- Best collection of code for your 'functions.php' file [closed]
- Should all plugins be encapsulated in a Class?
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- Hide Admin Menu for Specific User ID who has administrator Role
- OpenID for WordPress 3.x? [duplicate]
- Loading posts associated only to the logged in user on recent posts page
- WordPress Capabilities: edit_user vs edit_users
- How to assign user a role if none is present when logging in
- Restrict access and display for categories
- How to create custom LOGIN and REGISTRATION forms?
- How to add product images using script?
- Will WordPress username displayed somewhere in the site?
- Setting up widgets in wordpress with a unique ID for the after_title argument
- Upload files programmatically to users
- Use plugin or custom post type for game score functionality
- Copyright messages for a particular set of pages
- how to load the language file in plugin?
- How to make a customize role and view a specific plugins base on that role?
- View Private Published Page with URL Code (no login required)
- Translating long texts with html formatting
- Does any one have Idea to get these functionalities with the plugin wp-multi-network
- Displaying different in-page content to cliente/admin
- custom payment gateway in woocommerce failed to connect to remote api server
- Send reply with pre-prepared answers
- Problem with the Loop – want to limit the access to three free articles
- How to create user that has permission to create new sites on WordPress with multisite option enabled?
- Anspress Customization: How to show logged in user votes on a single answer?
- Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?
- date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)
- Inserting custom PHP script on homepage
- Add user role to generated plugin
- a weird attribute on every html tag
- How to have sample page for each new register users in a membership website
- How to change the wp_upload_dir() path in plugin
- Disable plugin only for one post
- Custom shortcode for displaying user based on a role parameter
- How I can change the required capability for an admin menu without editing the plugin file?
- Calling a save function from a “submit” button
- Is there a way to easily manage Project options (custom-fields)
- Add a “default sorting” menu to child store pages
- How to auto strip hyperlinks & images in wordpress post
- Plugin code will not work properly inside a class [closed]
- Rename Smart YouTube’s httpv back to http for all posts
- WordPress FLIR (Facelift Image Replacement) plugin clipping off end of text
- Add custom WordPress admin page with pretty url via code
- Why does plugin_url append absolute file path?
- Custom Icon assigned to menu items not working for multi-site networks
- How to see in Edit Comments if comment is from User and her Roles
- Place content inside the Post Loop
- Run only on plug-in activation instead of wp_head
- Problem with Duplicate Meta / tag description in Webmaster Tool [duplicate]
- Style WordPress Custom Post Type Single Page
- How to maintain WordPress permalink structure with custom content with URL parameters?
- Pull Data from DB for Admin Page Display as Relates to Admin Page Class by BA Internet
- show Visual form builder in the front end
- Is there a way to include some external script to some or all pages in a wordpress site?
- each user having category with their name and can add sub categories post in that category
- Making a particular kind of search engine with WordPress?
- AdBlock blocks my non-advertising sidebar images [closed]
- WordPress Customise
- Create Custom Coupon Type
- edit slider plugin capability for custom_role
- Using ACF to allow user to add and edit multiple saved forms
- Issues with creating user profile for a subscriber, but with different profile page and functionalities