Home Forums Backend Issues (wp-admin) Repeater + taxonomy: repeated value


Repeater + taxonomy: repeated value

  • I am using this combination as follows:

    I need to print out some of the taxonomies from my site. The ACF Taxonomy select shows them alright, but when I save changes and the page reloads, the first taxonomy selected shows in all of the fields.

    I want to create a ul>li element with the results, reordering and excluding some taxonomies, so the multiple selection is not useful.

    Why is the first result being repeated?


  • You cannot use save terms and load terms when you put a taxonomy field in a repeater. If you do this all of the fields will have the value of the last field changed.

    When you use save terms, ACF updates the post terms to the term selected. It does not remember previous times that it did this so any terms previously added will be removed. Since you are also using load terms, whatever terms are associated with the post is what will be loaded and not what is saved in the acf field.

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

You must be logged in to reply to this topic.