I'm using WordPress as a directory site, where a user can submit a post, which becomes their ad/listing. The users are assigned a custom wordpress role.
Posts need to need to be approved and published by the admin once, and then they can freely update their post as they see fit. It work's fine like this at the moment because I haven't given the custom role any publishing capabilities.
However, I also need the ability for the user to take their post offline (draft perhaps) temporary whenever they want, and make it published again whenever they want. Currently, when they make their post a "draft", they need to submit it for a review to make it published again - this isn't ideal.
Is there a way around this so they can change their post from published
to draft
, and then back again from draft
to published
, without needing it to be approved?
Or maybe I give them publish capabilities to start off with, but there's a plugin that requires their first post to be approved? (they are only permitted 1 post anyway).
What about a custom metabox with a checkbox that controls whether or not the post is published? Unfortunately I would have no idea where to begin with this kind if functionality. I am using WPALchemy for other metaboxes though.