The response for all posts in wp-json
does not include a couple of Custom Fields that I created in my posts. I call it this way: /wp-json/posts
How can I make sure the JSON response also contains my Post Custom Fields?
The response for all posts in wp-json
does not include a couple of Custom Fields that I created in my posts. I call it this way: /wp-json/posts
How can I make sure the JSON response also contains my Post Custom Fields?
You must be logged in to post a comment.
Check out this link.
Turns out this is a problem at the mo in WordPress, but the link has a suggestion fix (amongs others) as such :
You will however have to go through the full post as the above link, s it turns out a lot of people are having this issue, but a number of them got the issue resolved with all the suggestions in the post.
It also appears this question has been asked before. refer to this question.