Forums
(@larskerff)
9 years, 4 months ago
That’s no problem. What’s the best you think to do this? Just editing the htacces so a page has 2 url’s? /en/studies & /studies.
Not sure if that’s possible.
Thanks!
9 years, 5 months ago
Aah found it. The get_field has 2 parameters:
First for the id and the second one is to tell ACF not to format the value, and return only what is in the DB (array of IDs).
Setting last to false did work!
What makes it even stranger is the following:
The dutch page has ID 4, so for debugging I tried to use get_field(‘my_relationship_field, ‘4’) for the english page. But it still gives an empty array at the english page.
10 years, 9 months ago
Could you please help me with this?
10 years, 10 months ago
Thanks, would be great!