Support

Account

Home Forums Backend Issues (wp-admin) Field Groups not showing if acf_get_fields() in template

Unread

Field Groups not showing if acf_get_fields() in template

  • I’ve created a new field-group. In this field group i have a group field. This group field has a few fields like text and color.

    If i use the funtion acf_get_fields($group_id) oder acf_get_fields_by_id($group_id) in template, i get an array with all fields, but the subfields under the group field are no longer displayed on option page and on field group edit page.

    If i comment out the line, the fields are back.

Viewing 1 post (of 1 total)

The topic ‘Field Groups not showing if acf_get_fields() in template’ is closed to new replies.