I have created a custom post type to which various fields have been added, including a repeater field. I use an ACF Gutenberg block to load this data in a regular blog post, passing the ID of the CPT post. This block works correctly in the backend (Gutenberg editor), but the repeater field data is not displayed correctly in the frontend. When I var_dump the repeater field, it shows true in the backend and false in the frontend. However, if I manually create the fields in ACF and export them to PHP, it works correctly in both the backend and frontend.
Could someone please help me understand if I am doing something wrong or if this is a bug?
Hi all,
I have created a custom post type to which various fields have been added, including a repeater field. I use an ACF Gutenberg block to load this data in a regular blog post, passing the ID of the CPT post. This block works correctly in the backend (Gutenberg editor), but the repeater field data is not displayed correctly in the frontend. When I var_dump the repeater field, it shows true in the backend and false in the frontend. However, if I manually create the fields in ACF and export them to PHP, it works correctly in both the backend and frontend.
Could someone please help me understand if I am doing something wrong or if this is a bug?