Comments (13)
In order to get the ACF fields I'm currently using: http://site.dev/wp-json/acf/post/27, where 27 is the post ID.
from acf-to-wp-rest-api.
Hi @fabioquarantini,
Try to access that url format:
http://website.com/wp-json/wp/v2/locals/
In my last commit, I have added support for custom post type: 97f1646
Thanks.
Cheers
from acf-to-wp-rest-api.
Sorry i made a typo in my url.
GET http://website.com/wp-json/wp/v2/locals/id
Thanks
from acf-to-wp-rest-api.
π π
from acf-to-wp-rest-api.
I mean, i made a typo in this issue not in my application, my url is this:
http://website.com/wp-json/wp/v2/locals/id
but "acf" is not showing.
I'm running the last update of your plugin and WP REST API
from acf-to-wp-rest-api.
locals is a public custom post type?
from acf-to-wp-rest-api.
Yes
'public' => true,
'has_archive' => true,
'exclude_from_search' => false,
'publicly_queryable' => true,
from acf-to-wp-rest-api.
can you send your project for me?
[email protected]
from acf-to-wp-rest-api.
Hi @fabioquarantini,
try the steps below:
1- Access the permalinks settings ( Settings > Permalinks );
2- Click the Save Changes button.
from acf-to-wp-rest-api.
The permalink doesnβt resolve the problem. I sent you the data.
Thanks
from acf-to-wp-rest-api.
Hi @fabioquarantini,
I updated the plugin in your admin and the magic happened.
I sent screens for your e-mail with the responses.
from acf-to-wp-rest-api.
Thanks π
from acf-to-wp-rest-api.
π
from acf-to-wp-rest-api.
Related Issues (16)
- Questions about Attachment acf data in Gallery Field HOT 5
- Rename from 'acf' in response HOT 2
- Orderby ACF field HOT 12
- Field Not Updating
- Retrieving ACFs from custom Option Pages HOT 2
- v3 orderby issue
- Getting post/object by field HOT 1
- Full Guide on Posting and Getting ACF data HOT 1
- Will this support post? HOT 10
- Shortcodes HOT 3
- Getting ACF data for a set of posts? HOT 1
- Filter by ACF Field Value HOT 10
- All request endpoints return null HOT 3
- Request to page HOT 4
- Including Custom Post Types & Corresponding ACF Data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acf-to-wp-rest-api.