Support

Account

Home Forums Backend Issues (wp-admin) Some Taxonomy Fields Not Saving Reply To: Some Taxonomy Fields Not Saving

  • Your field names are too long.

    Short answer is to use shorter field names. Your sub fields can be much shorter because sub fields are all prefixed with the repeater field name.

    Long answer

    Custom fields for taxonomies stored in options table and the option name column has a max length of 64 characters.

    Let’s say that the taxonomy is category so the field name is prefixed with “category” and the term ID

    Then it has a prefix of the repeater field name and the row index, then the field name is added

    category_1_ssfm_slider_slides_0_ssfm_slider_statement_background_image

    total 69 characters. The data is being saved but you option name is getting truncated to category_1_ssfm_slider_slides_0_ssfm_slider_statement_background so when ACF goes to look for the data it can’t find it.

    Edit: There is a trac ticket on this and the WP team has been sitting on it for years. We have been pushing to get the lenght of this field increased but they keep putting it off for more important things… well, more important to some.
    `