Support

Home Forums Event Espresso Premium Add custom taxonomy

Add custom taxonomy

Posted: July 22, 2015 at 9:08 am

Viewing 4 reply threads


Bruno Pérez

July 22, 2015 at 9:08 am

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


Josh

  • Support Staff

July 22, 2015 at 10:42 am

Hi Bruno,

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.


Bruno Pérez

July 24, 2015 at 3:18 am

thank you, we view the code, we are trying something but nothing happened https://gist.github.com/anonymous/73a2c59e889dd4ea7006


Josh

  • Support Staff

July 24, 2015 at 8:38 am

Hi Bruno,

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:

https://eventespresso.com/developers/event-espresso-pros/


Bruno Pérez

July 28, 2015 at 1:53 am

ok thank you !

Viewing 4 reply threads

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.

Event Espresso