Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have two custom post types. One of them, I would like the author role to be able to publish. The other one, I would like for them to "Submit for Review". Any suggestions?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

When the post type is registered, http://codex.wordpress.org/Function_Reference/register_post_type

one can specify custom 'capabilities'. eg I have an events post type, with event as a base for the capabilities, so automatically, there is a matching set like the page/post capabilties.

Then one can use justin tadlock's members plugin to assign capabilities to roles. Assign 'create' but not 'publish' to the 'review' post type, but full rights to the other type.

Simple.

share|improve this answer
    
Thanks. I followed justintadlock.com/archives/2010/07/10/… and it worked great. –  pistolshrimp Aug 11 '11 at 6:58
add comment

Your Answer

 
discard

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.