Support

Account

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.