Ask your WordPress questions! Pay money and get answers fast! (more info)

How to allow app to create posts in WordPress? WordPress

  • SOLVED

I have a WordPress site with a custom post type. I am being asked to connect it to an app and allow that app to create posts.

What is the best way for me to connect the two?

Answers (2)

2016-10-12

Rempty answers:

Using the rest api
http://v2.wp-api.org/

2016-10-14

Bob answers:

correct you can do it with rest api.

for custom post type this will be helpful.
[[LINK href="http://v2.wp-api.org/extending/custom-content-types/"]]http://v2.wp-api.org/extending/custom-content-types/[[/LINK]]

[[LINK href="http://scottbolinger.com/custom-post-types-wp-api-v2/"]]http://scottbolinger.com/custom-post-types-wp-api-v2/[[/LINK]]