Archived topic
display a Custom Field (ACF) which has several terms (array)
3 replies · Started by twarrior on May 20, 2022
Hello,
– Custom Post Type created with CPT UI (called “Organizations”)
– Custom Fields added with ACF
– Create a New GP Block Element:
— Element type = Content Template
— Location = “Organizations Archive”
— Creating dynamic content blocks...
...How can I display a Custom Field (created with ACF) which has several terms (like a multiselect or a checkbox)?
I have tried, but it displays: "Array"
Thanks
Hi there,
Unfortuanly GB's dynamic content doesn't support ACF custom field if it's not a string or number.
We are trying to provide better ACF support in GB pro 1.3.
Ok, thanks for answering.
And hope GB pro 1.3 will get this solved.
another question "similar",
is it posible to decide if I want to display the "value" or the "label" of a custom field (ACF)?
Hum.. I'm not sure as we are still working on it, I don't think it has been decided yet.
You can try open a new issue in GB's GitHub, and Tom will decide whether we should include this feature.
https://github.com/tomusborne/generateblocks/issues