我想为wordpress网站制作android应用程序。但无法获得帖子的JSON。我试着用两个插件These are the plugins of the website 为JSON没有从wordpress获取JSON
- WP REST API
- JSON API
WP REST API将返回该
[]
和JSON API将返回该
{
"status": "ok",
"count": 0,
"pages": 0,
"category": {
"id": 21,
"slug": "maths",
"title": "Maths",
"description": "",
"parent": 13,
"post_count": 3
},
"posts": []
}
根据我这个问题是由于任何其他插件。但我无法使用JSON 1.用JSON API插件我使用这个链接http://iitianlogic.com/custom/get_category_posts/ 和张贴ID = 4
你可以更新您使用请求JSON代码的问题? – tjfo