How do I correctly setup an AJAX nonce for WordPress REST API?
Following a link comment here which led me to these docs, I’ve tried to set up a nonce for user authentication.
Following a link comment here which led me to these docs, I’ve tried to set up a nonce for user authentication.
I have registered settings and need it to be showed in REST API.
I have a custom post type for a theme I’m developing that is named products where I will save a catalogue of products. I want to categorize these products, I’ve added the taxonomy category to the post type and I will create the categories needed to assign each post to the correct one. I’m not very informed about wordpress functions, I want to ask how I can get my custom post type that are assigned to each category. I’m thinking to do multiple WP_Query() but I don’t think this will be a good idea for performances. Is there another way? The solution I want to implement is using ajax with vue.js with the REST API to have a category list that when clicked will load the relative posts and the category name, description. Any hepl?
I am trying to create a REST APIs for my wordpress website which is used for facility listing using wordpress job manager plugin.
I am trying to filter by a meta query but no matter what I try I can not make it work.
I want to have a link to create a new post that sets the category also.
I have website on WP. Also I have account in one web service. I need to get a request from this web service to a certain address of my website. This is a webhook that I want to handle with my own plugin.
I have a custom taxonomy called collection, with advanced custom fields in it.
I have upgraded my WordPress to 4.7.1, and after that I’ve tried to enumerate users through REST API, which should be fixed, but I was able to retrieve users.
for a personal plugin (nothing going to the public or commercial), I built an AJAX form and its endpoint is a custom endpoint (REST Api).