Automaticaly add taxonomy’s terms depending on a field value
-
Hi,
I presume it’ll be hard to manage but, I wonder if it was possible to add some taxonomies terms to a post depending on what we enter in a custom field value ? The fact is, I actually use a custom taxonomy to sort my custom posts type by french code postal.
My client want a field where we can enter the department number which is composed by two digits in my country (e.g. : 67) and when we save the new post, it automatically attributes to this post all the taxonomies terms that begin with thoses digits (e.g. : for ’67’ : 67500, 67150, 67200, 67800 …).
I’m a begginer in wordpress development and I don’t know at all how to make that…
I presume we need to go through a custom plugin ?Thank you for your help
- The topic ‘Automaticaly add taxonomy’s terms depending on a field value’ is closed to new replies.