• Resolved samuelashbr00k

    (@samuelashbr00k)


    Hi, i was just wondering if the code editor field only supports “get_field”. I have attempted to insert this field within a flexible content field however, it doesn’t seem to display anything if i use “get_sub_field”.

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    The Code Editor field, like any other field, can be used as a sub field (within a Repeater or a Flexible Content).

    I would recommend to make sure that you correctly used the have_rows(): the_row(); get_sub_field('my_sub_field'); syntax before using it.

    Please refer to the ACF Flexible Content documentation for more code examples and explanations.

    Hope it helps!

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Code Editor Field not working with Sub Fields’ is closed to new replies.