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

So I'm working on a plugin for creating a questions/answers system that's as simple and well-integrated as possible (not unlike this site) but am stuck at the creation of the custom post types.

You can see my current code here:

The key is in allowing all users (down to "subscribers") to post questions and answers, edit their own posts, etc., whilst admins can manage and moderate these. So following a tutorial, I've got the basics going. Subscribers can create their own questions and answers and edit their own, but not others'.

However, these can't be deleted. Using the "Members" plugin I've given the appropriate capabilities (reference?) but not even an admin can delete their own or others' posts. I'm not really sure why this is happening, any obvious hints or something I'm missing?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.