I've built a front-end post form and for the life of me I can't get it work.
would appreciate some help.
EDIT (the previous example was truncated):
http://pastebin.com/NiSwWqw1
Arnav Joy answers:
you should use following function to add post
wp_insert_post();
http://codex.wordpress.org/Function_Reference/wp_insert_post
Arnav Joy comments:
are you getting any error ?
I will have to check directly in your site to see what is happening there.
booruguru comments:
Forget it. I figured it out for myself.
Arnav Joy comments:
so all thing is done?
Reigel Gallarde answers:
can't you just use this plugin?
It does what you want...
[[LINK href="https://wordpress.org/plugins/wp-user-frontend/"]]https://wordpress.org/plugins/wp-user-frontend/[[/LINK]]
booruguru comments:
No. I need the functionality built into the theme.