Is there a way of for instance, insert a post and assign a category to it, without accessing Wordpress' back-end?

1 Answer 1


Yes @janoChen, you can use wp_insert_post,

take a look at this answers:

WP insert post PHP function and Custom Fields
Front-End Post Submission

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.