Hello, we would like to add custom taxonomies to event espresso custom posts. When we try to do it as usual in the functions.php file, it doesn’t seem to work. Is there a special way to do it ? Thanks a lot
You can see how Event Espresso registers its own custom taxonomies by looking at the code in the EE_Register_CPTs class (in /event-espresso-core-reg/core/CPTs/EE_Register_CPTs.core.php).
If viewing the code doesn’t help, you can post your code in a gist and link to it here and we can take a look.
I took a look at your code and I’m not going to offer any coding suggestions because what you have put together so far simply will not work. Instead, I can recommend checking out the People add-on for EE4, it may just provide the functionality you need. It’s also customizable in that you can rename the people slug to be animator. Please don’t hack core though, the People Add-on has many hooks that allow the text strings to be changed in a custom function.
If you need to go forward with your own custom taxonomy, I highly recommend contacting one of the developers listed here and they may be able to work with you for a fee:
The support post ‘Add custom taxonomy’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.