Home › Forums › Front-end Issues › custom field group not displaying in wp query loop for a custom post › Reply To: custom field group not displaying in wp query loop for a custom post
Actually, it looks like the ACF block stores data in the the post content field as data. This is an example from a testimonial block entry.
<!– wp:acf/testimonial-grid {
“id”: “block_607ed8e56b83a”,
“name”: “acf\/testimonial-grid”,
“data”: {
“testimonial_how_many”: “15”,
“_testimonial_how_many”: “field_607d929e07f46”,
“testimonial_how_many_cols”: “3”,
“_testimonial_how_many_cols”: “field_607de7e495897”,
“testimonial_include_image”: “0”,
“_testimonial_include_image”: “field_607df0ae5e562”,
“testimonial-background_color”: “#f7f7f7”,
“_testimonial-background_color”: “field_60564f9d5d72a”,
“testimonial-text_color”: “”,
“_testimonial-text_color”: “field_60564fc05d72b”
},
“align”: “”,
“mode”: “auto”
} /–>
So I want to grab some of this info and testimonial custom fields data in post meta values and render it on the front end of a block.
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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?
— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.