2

I am in a similar situation to this person, only I need a bit more hand-holding. I don't have a good understanding of php but can cut and paste code with the best of them.

I have Justin Tadlock's Members plugin, and have set up a custom post type and associated custom taxonomies in my functions.php file.

Here's what I'm trying to accomplish:

  • User registers and is set as Contributor by default.
  • User can now see only this custom post type and can make an entry to this post type, but not publish it.
  • User can only see and edit their own post(s).

If possible, I need specifics on what and where to add to my post type registration function. I understand it involves 'map_meta_cap' and 'capability_type' but I don't know how to write the code or where to put it in the function. Once the capabilities are established I can add them as custom capabilities in the Members plugin.

1 Answer 1

3

I figured it out on my own -- the code snippet I needed to follow is here. Justin Tadlock is the man.

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.