I want to do almost exactly the same thing as TDO-Mini-Forms.
I want to completely replace the default WordPress new post page, “post-new.php”, with my own one.
I don’t want to do it via XMLRPC because I want only logged-in users to be able to post to my site.
I don’t want logged in users to have to go to post-new.php or anywhere in my admin panel to post … I basically want to layout 5 or 6 different fields that are required for a new post, say like:
Title of Post
URL to remote site
Description of post
tags for post
categories for post
I’ve searched for days but cannot find anywhere that’ll teach me how to do this… to clarify, I know how to show the fields above, and I know how to call categories for users to select from, but where do I sent that information to get WordPress to treat it like a native new post?
I’m assuming this all gets wrapped up in an array of some sort, instead of everything getting inserted in MySQL separately!
Any help is appreciated!
- The topic ‘PHP/MySQL code to create new post’ is closed to new replies.