@airesvsg
Just to add when I use the following to list posts: https://www.MYSITEURL.com/wp-json/acf/v3/posts
I get the following:
[
{
"id": 35980,
"acf": []
},
{
"id": 33675,
"acf": []
},
{
"id": 33220,
"acf": []
},
{
"id": 32808,
"acf": []
},
{
"id": 32006,
"acf": []
},
{
"id": 31846,
"acf": []
},
{
"id": 30240,
"acf": []
},
{
"id": 28420,
"acf": []
},
{
"id": 27843,
"acf": []
},
{
"id": 27531,
"acf": []
}
]
I am sure I have not configured something so some guidance might get me up and running on this one. Cheer, C
Hi @airesvsg
I have installed your plugin in the hope to use it to fetch ACF data and set it accordingly.
I am can confirm the plugin is activated as I get the end points / routes when I use the https://www.MYSITEURL.com/wp-json/acf/v3/ URL.
However when I go to try and list all data for my custom post type “agents” I get a no such route. I used your endpoint from the endpoints guide /wp-json/acf/v3/{post-type}
So for me this was https://www.MYSITEURL.com/wp-json/acf/v3/agents/ and I get a response:
{
"code": "rest_no_route",
"message": "No route was found matching the URL and request method",
"data": {
"status": 404
}
}
This is the same for all my custom post_types.
Did I miss something basic in the installation? Do I need to add something to my functions.php or add filters in there?
Any help would be great as if the plugin was to work it would be a real benefit.
Cheers,
Col
This reply has been marked as private.