I am looking for someone who knows how to make a custom plugin. The plugin would have a custom admin options page. On the admin options page it will list specific page ID's and give the user (admin) the ability to somehow select / toggle between that page post status and select either (draft | publish)
Here is the function that changes the post status:
$post_id - The ID of the post you'd like to change.
$status - The post status publish|pending|draft|private|static|object|attachment|inherit|future|trash.
$current_post = get_post( $post_id, 'ARRAY_A' );
$current_post['post_status'] = $status;
Then call the function EXAMPLE
I need this function to have an admin options page and be dynamic for the user to select between draft and publish. Also the above example is for one single post.. I need it to work with 2 or more. Once you set it up with 2 or more I am pretty sure I can see whats going on and replicate it with the specific post ID's I want listed.
This should be a quick and easy gig for someone who knows wordpress and PHP - if that is you please contact me with a quote and time frame.