Custom Plugin Admin Options page - Change page / post status
This project was awarded to chitraphp for $50 USD.Get free quotes for a project like this
Project Budget$30 - $250 USD
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.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online