Home Forums Backend Issues (wp-admin) Display fields only in one category


Display fields only in one category

  • I am trying to display a field group only in one category and that is too in edit category page.

    For example if I have test1 test2 category then I would like display the field group under test2 edit page(not the place where we can add)

    Please let me know what is the custom rule location I should use?

    Any guidance/documentation link will be highly appreciated.

    Thanks in advance.

  • Hi @raj

    ACF only allows you to attach ACF fields to a taxonomy e.g. category, Attaching the fields to a single taxonomy term may not be possible. You have to create custom location rules to achieve this.

    Have a look at this tutorial on the docs which will assist you achieve this:

    Hope this helps 🙂

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

The topic ‘Display fields only in one category’ is closed to new replies.