Top "Wordpress-rest-api" questions

The WordPress REST API

Wordpress REST API (wp-api) 404 Error

I have been using the Wordpress REST plugin WP-API for months now while developing locally with XAMPP. I recently migrated …

wordpress wp-api wordpress-rest-api
WooCommerce - woocommerce_rest_cannot_view - Status 401

I have generated a consumer key and consumer secret. The website has SSL installed. I have also installed plugins required …

wordpress woocommerce woocommerce-rest-api wordpress-rest-api
WP REST API v2: Getting posts by post ids

I'm trying to get all posts by ID's using WP REST API. As per the documentation, we can use filter …

wordpress wordpress-rest-api
How do you add custom fields defined in posts to the rest API responses in wordpress

I want to do this without using any sort of plugin since these are both core wordpress features (custom fields …

wordpress wordpress-rest-api
WP-API get posts and order them by a descending order

I am trying to grab posts and order them by date, in a descending order. I am talking about this …

wordpress wp-api wordpress-rest-api
WordPress REST API Custom Endpoint with URL Parameter

I am trying to create a custom endpoint for the WordPress REST API and pass parameters through the URL. The …

wordpress wordpress-rest-api
WordPress REST API Global Search (API V2)

I am looking for a way to run a global search query across all or multiple post types using WP …

wordpress api rest wordpress-rest-api
create post wordpress.com using rest api

I want to make php app to create post on wordpress.com using REST api. I use this code: <?…

php rest api wordpress-rest-api wordpress.com
401 Unauthorized with Wordpress Basic Auth Plugin

I have installed the plugin made by the Wordpress Team: https://github.com/WP-API/Basic-Auth I am making this request …

wordpress wordpress-rest-api wordpress-json-api wordpress-admin
Pass String Parameters to WP REST API

I can pass integer values to WP REST API. But, cannot pass non-numeric characters. It gives error. This is what …

php wordpress rest wordpress-rest-api