1

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: http://pastebin.com/MXjPVuPQ

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?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.