K
K
Kirill Gladkih2015-12-27 13:54:19
WordPress
Kirill Gladkih, 2015-12-27 13:54:19

How to display ACF fields in wordpress when selecting a child category?

Broke my head, please help. You don't need to touch your head, it's better to help with the code :-D
In general, such a thing. We create fields, choose the location where we will show them.
uFoPMbaK.png
Everything would be fine, but!
I wanted to show these fields for child categories as well, I thought just to choose, for example, taxonomy and ... and nothing.
Actually the subject is that:
uFoPMbaL.png(works)
So everything works, all fields are displayed, you can live. We tick off only the child category and that's it, depression, decay, nothing wants to work.
uFoPMbaM.png(does not work :((( )
I searched a bunch of bourgeois articles, but I didn’t find anything sensible (I don’t know foreign languages ​​well).
I found this on off. documentation - www.advancedcustomfields.com/resources/custom-loca...
but again there is not enough brains to dock something to something.
Help me please.
Exhibiting each rubric in the rules is not an option, there are many of them. Constantly choosing a parent category for fields is also not an option.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-12-27
@baskserg

Try this solution: https://github.com/LightboxDev/ACF-Taxonomy-Depth-Rule

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question