WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a small course engine that has a Course custom post type and a list of users. Users should apply for courses.

I was thinking about the Posts 2 Posts plugin to create the relationship, but is there any straight forward way to assign many users to a single post type (course) and see only things for that specific post type? Any premium plugin that could do that without making everything really heavy?

P.S. A user could attend several courses as well.

share|improve this question
Assign means what exactly? – Rutwick Gangurde May 30 '12 at 11:49
It is for a post type entry, probably that makes it ambiguous. Means just as Post 2 Posts does - add many users to a specific post type entry (Courses: English, Spanish, German..) and a user should have access only to the courses he has subscribed to (while a course could have many attendees). – Mario Peshev May 30 '12 at 11:56
In WP terms, should that user be assigned as an author? – Rutwick Gangurde May 30 '12 at 12:02
up vote 1 down vote accepted

On a total fluke, I saw this WPSE answer just after reading your question. It's a plugin called "User Specific Content" that seems to do exactly what you want. "Role Scoper" is a good plugin, but it's probably overkill for what you need. Best yet, the "User Specific Content" plugin was the result of a WPSE answer's code snippet!

share|improve this answer
Thanks guys, we went with a custom implementation, but this one looks pretty much appropriate. – Mario Peshev Jun 12 '12 at 6:34

I think a plugin like Role Scoper will work for you, you can give individual users access to certain content based on their role or group.

share|improve this answer
that looks very good, but is it really for 'individual users' or for roles, as I need a granular (user-based) access and can't create a new role per user? – Mario Peshev May 31 '12 at 12:01
@MarioPeshev - you can modify both roles on a global level and individual users on a granular level. – Milo May 31 '12 at 14:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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