I have installed Wordpress JSON APi plugin, the idea what I want to do is to retrieve all posts from a websites except a specific category for example with ID: 434.
I need all posts except from this category.
The query is like this example: www.example.com/?json=1&count=300
I have changed something in code but it removes the details of categories, not posts.
if ($category->id == 434 && $category->slug == 'archive') {
// Skip the 'archive' category
continue;
}
How it is possible, please help me!!!