DEV Community

Discussion on: Frontity, a React framework to create WordPress sites

Collapse
 
kivabitar profile image
kivabitar

This is pretty cool! I have a semi-styled localhost version of another site up in less than an hour. Quick question, is there any way to pull in ACF fields via the normal WP RESTFUL API? github.com/airesvsg/acf-to-rest-api/ <-- The ACF fields ouput in JSON, directly after the content and meta info. I tried post.acf.field_title and a couple other ways of accessing that data, but no luck. Thanks!

Collapse
 
r_martinezduque profile image
Reyes Martínez • Edited

Hi! Thanks for reaching out! Although this topic of our forum addresses other issue, I think this answer can help you: community.frontity.org/t/acf-optio....

If it doesn't, please let me know and we'll be happy to look into it. Thanks :)

Collapse
 
kivabitar profile image
kivabitar

Thenk you Reyes, this is EXACTLY what I was looking for!

Thread Thread
 
r_martinezduque profile image
Reyes Martínez

Glad it helped! Feel free to reach out if you have any other questions or would like to share what you're building. We'd love to learn about your experience 😊