Home › Forums › General Issues › Create json api from ACF plugin data. › Reply To: Create json api from ACF plugin data.
Hi there,
I found this amazing plugin: https://wordpress.org/plugins/acf-to-rest-api/
Now when i open json at /wp-json/wp/v2/posts i can see filed ACF
And there i can see fileds recommended_sidebar: yes or recommended_sidebar: no
But this JSON will show all posts.
Is it possible to make some filter for posts?
I will like to show only posts that have recommended_sidebar: yes ?
Thank you!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.