admin管理员组文章数量:1390334
I've been looking at the docs and tutorials online to find out if there's a way to get to the html content of my posts. For example, this endpoint gives me all the information related to one post, but not the actual HTML content, with its texts, links to videos. What is the endpoint for me to get to the meat of the post? I'm so befuddled. I would have thought this would be the most obvious thing in the world but I can't seem to find it!
I've been looking at the docs and tutorials online to find out if there's a way to get to the html content of my posts. For example, this endpoint gives me all the information related to one post, but not the actual HTML content, with its texts, links to videos. What is the endpoint for me to get to the meat of the post? I'm so befuddled. I would have thought this would be the most obvious thing in the world but I can't seem to find it!
Share Improve this question asked Jan 31, 2019 at 16:16 OctaviaLoOctaviaLo 1398 bronze badges 3 |1 Answer
Reset to default -1you can use below property from return JSON object
post.content.rendered
本文标签: rest apiWhere is the HTML content for my post in the API
版权声明:本文标题:rest api - Where is the HTML content for my post in the API 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744735885a2622323.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
post_content
field. Some of these plugins have ways to expose their content through the REST API such as additional plugins that "connect" the information. – WebElaine Commented Jan 31, 2019 at 17:11