Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACF with translations to rest api #43

Open
fabiofernandespt opened this issue Jul 9, 2019 · 0 comments
Open

ACF with translations to rest api #43

fabiofernandespt opened this issue Jul 9, 2019 · 0 comments

Comments

@fabiofernandespt
Copy link

m using wp rest api to create a decouple website. At this moment i already can recieve data from homepage with this call(using a plugin to make json from api pretty):

mydomain.com/wp-json/better-rest-endpoints/v1/page/homepage and mydomain.com/en/wp-json/better-rest-endpoints/v1/page/homepage

this 2 calls work just fine but, when i create another page for example about-me and make the same calls

mydomain.com/wp-json/better-rest-endpoints/v1/page/about-me and mydomain.com/en/wp-json/better-rest-endpoints/v1/page/about-me

the main language works just fine bue the translation (in this case English) is returning null on ACF object.

is something wrong? the way that i made the translations is the same on both cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants