What you need to do is to make custom user meta fields.
Links these metafields to a custom category linked to your custom post type.
Use this code for a checkbox feeling:
<input type="checkbox" id="category-<?php echo $post_type->term_id ?>" <?php if($user_cats[0] && in_array( $post_type->term_id, $user_cats[0] )) echo 'checked=checked';?>
name="categories[]" value="<?php echo $post_type->term_id;?>"/>
Every custom category you make in the custom post type will be linked to the users profile. this way you can assign posts to a certain user.
Related Posts:
- Front end post editing using a form
- Hiding posts by other users and non-logged in
- Enable comments for post when comments meta box removed
- How to fix the Post Preview Button (CPT & map_meta_cap)
- Instructor can view, edit, delete only theirs courses
- How to allow a custom user role to create, edit, delete a specific custom post type only?
- Display content based on a users login
- Restrict custom post type from appearing with ?post_types=
- Show custom post type filtered by category
- create parent post using wp_insert_post
- Turn on and off custom post type from admin?
- Missing Posts in Custom Taxonomy List
- map_meta_cap woes
- Display random posts, but omit the post it is on?
- Roles for Custom Post Types
- How do I do this with WordPress? Taxonomies?
- Disable block with taxonomies at post page
- Role scoping for contributors down to the field level
- I would like to have different styles for my posts based on the content of each post
- How can i add thumbnails images to particular post (using code not admin pannel) in wordpress
- Showing posts from different categories and from custom post type
- Get latest 3 posts from multiple CPT in one query
- can’t see custom post content filtered under “mine” filter in admin panel
- Allow non-logged in users to see a future post after clicking on a list of future posts
- Which post does a taxonomy term belongs to?
- List custom taxonomy specific to one custom post type
- Define new user capability for custom post types?
- Post image in WordPress not appearing on home page
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- Meta query for custom post type ignored in main query
- Changing custom type name hides the posts
- Display Ad on Specific Categories
- Custom post types as sub menu pages and role capabilities issue
- WordPress multiple custom post types capability conflict in a single menu
- Visual editor issue by having multiple tiny mce editors in a CPT
- Update Post Meta for a logged in user
- Add custom field to Posts and sort by it
- Add custom post type settings to wordress default posts
- Only view/edit/delete CPT made by users with the same role
- How to set individual capability of post type in individual category
- WordPress comments_open for specific user role or post type
- Restrict Access to Posts based on Custom User and Post Meta Data
- Giving permission to anyone (non-users as well) with a password to edit a post, possible?
- Get related posts of child term of custom post type
- Two Custom Post Types Many to Many Relationship
- Problem with displaying posts in the CPT category
- I want to create custom post in which user can share files like PDF & DOCx
- JS innerhtml changing style when using AJAX
- Show titles, date of all posts on single category page
- WooCommerce Customer Role Delete Custom Post Type
- Side effects of Script and Iframe in post
- How to change the post type a theme shows by default?
- Set a checkmark in a category based on a URL-parameter
- Several post types on WP Query by tag and taxonomy
- No Permission to add new Page, Post or CPT with Admin role
- Update postmeta Parent when post_status child change
- Allow Contributor to edit but not update a published post
- custom post type category count shortcode
- Portfolio Page for Classic Posts
- Add post location with mile radius allowing search
- Get the category from custom post type
- Is it possible to store Custom Post Type data in separate set of tables and still have wp_post class functionality?
- Set up post page like JAMA articles
- Users create/join groups
- Custom Post Slug same as Parents Category Slug
- Shortcode not working with post counter
- Disable user from updating certain posts
- Edit the author of custom post type
- Changing default ‘posts’ parameters with register_post_type_args
- Admin Column does not populate with data
- “Submit for review” for updates on existing posts
- Access to CPT but not to ‘post’ post type
- Allow add new post access to custom post but not wp post for some role
- Deny user access to edit post while allow him to edit custom post type
- How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?
- Prioritize posts in query by meta keys?
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Create custom post with custom user rules
- Allow user to only access custom post type
- Allow users to create posts without logging in?
- How to get all tags of a custom post type by id
- How to show featured image block in custom post type for Author?
- How to define which register_post_status goes to which register_post_type?
- P̶l̶a̶c̶e̶h̶o̶l̶d̶e̶r̶ *Default* content in Custom Post Type TinyMCE editor
- Load Next Posts With AJAX not working with custom post type
- Limit the post for differents custom post type in the same wp_query
- 2 Different Custom Post Types in Submenu
- How to assign classes to all elements?
- Is it possible to activate customfield ‘text description’ upon activating the customfield ‘checkbox’?
- How can I show 1 featured post in a styled element, and the next few below differently styled
- Want to be able to sign up subscribers as authors
- Some posts from custom post type to subdomains
- Target post type edit page to change view post button, how do I?
- How can i create an custom post template for an specific post category? [closed]
- How to sort posts in a custom post type by title in ascending order by default?
- WP the_posts() on single-cars.php get category link
- Conditional for a Single Post That Belongs to a Category?
- $post not working working in AJAX plugin with custom post type
- Permalink misbehaving in Custom Post Types
- Check post on publish for blank title