Ajax answer as json to editor [taxonomies, image, title, etc]
-
Hello,
I’m developing a simple plugin that requests data to an API that returns a JSON data.
I have much information that already set in custom fields in new post, but I’m having trouble with the following features I would like to have:With the result of Ajax Call I would like to set the page title, the text (as HTML in jSON), choose the category, tags upload an image and set it as featured image. I also have some other data likes prices, descriptions, reviews that already filled in custom fields (that have their own id/name).
I’m getting trouble in inserting data in the editor (title, text, category, tags, etc).
Already searched in docs but couldn’t find anything that would help me. Any solution for this?
- The topic ‘Ajax answer as json to editor [taxonomies, image, title, etc]’ is closed to new replies.