Support

Account

Forum Replies Created

  • I also would like print out the layout label, but “get_sub_field_object” hasn’t helped me, maybe I’m using it wrong.
    Made it in two ways: ACF style “has_sub_field” and also more PHP style `$fields = get_field(‘flexible’);
    foreach($fields as $field)…`

    Printing out flexible content field (“get_field” and “get_field_object”) gives me a large array and I can see it’s contents, but I don’t get, how [value] is related to [layouts]. Therefore I cannot get the layout label.

    Could you advise me on how to get it?
    Since I’m using flexible->repeater->repeater with complicated HTML, I would much more prefer “foreach” style.

    Thank you 🙂

  • Adding php_value max_input_vars 1000 to 5000 in .htaccess helped me.
    Before that I had trouble saving fields and I could only add 7 of them.
    I too have a lot of nested fields: flexible -> repeater -> repeater.

  • True, but with repeating fields it’s another thing.
    Willing to pay for a solution, repeater solution that is, because Elliot is correct about simple single fields. Should be just disabling Magic fields and activating ACF and creating fields for it.

Viewing 3 posts - 1 through 3 (of 3 total)