S
S
SergeyCorpus2021-07-16 10:48:34
WordPress
SergeyCorpus, 2021-07-16 10:48:34

Display acf fields for a specific custom taxonomy category?

Hello, there is a custom post type "team" and there is a custom taxonomy "team category" and in this taxonomy there is a category "achievements". How to create a field group just for that specific category?
if I set the condition "taxonomy = team" - then the fields are displayed for all categories of the team https://yadi.sk/i/F7HBJZyx2Ge03w , if I set the condition "post taxonomy = achievements" - then the fields are not displayed in the taxonomy https://yadi. sk/i/fDEmAYgkUbExyA

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Dubkov, 2021-07-16
@SergeyCorpus

I could not understand your structure of "taxonomy categories", but I solved a similar task by creating custom rules, more details in the ACF documentation , I had to create an additional attribute for the record. Perhaps such problems can be solved more simply.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question