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
Hey Matthew!
Thanks for this. This looks like a possible answer to something I’m trying to do. Your function looks like it loops through blocks and if a given block exists then you can display content from it. I have an acf block ‘hero-block’ that I want to place outside of and before the content area. How would I place a specific block where I want it to go using this method?
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.