Home › Forums › Gutenberg › ACF 5.8 – Parse Gutenberg blocks and get ACF data outside of post › Reply To: ACF 5.8 – Parse Gutenberg blocks and get ACF data outside of post
Hi @ruurd, thanks for posting the solution.
Where to add this code to fetch the blocks data on the home page?
I have added it to functions.php file and used echo $slider_images. But it does not render any output on the page.
We are trying to display the ACF block heading and title using on home page the above code as a reference point but it didn’t work for us.
Any help would be appreciated..
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.