Skip Navigation

[Resolved] WP Types not showing other Plugin's Custom Taxonomy

This support ticket is created 7 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by bassemA 7 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#393489

I am trying to add "The Events Calendar" custom taxonomy to a custom post type i created with wp-types. But I can't see it in custom taxonomies panel in order to assign it to my CPT... I've tried adding it from the CPT panel but it doesn't show on the wordpress editor. Any ideas?
Thank you.

#393612

Dear bassem,

How do you setup the custom taxonomy "The Events Calendar"?
Is it created with Types plugin? if it is created with other plugins, please post a downloadable URL for it, I need test and debug it in my localhost, thanks

#393794

Hello, thank you for your reply.
Basically I need to use an existing custom taxonomy created by this plugin: hidden link
This plugin have a custom taxonomy called "event category", I need to use it on another CPT created by wp-types.

#394113

Thanks for the details, I can duplicate same problem in my localhost, in your case, you can try with wordpress function register_taxonomy_for_object_type, for example, add below codes into your theme/functions.php:

add_action( 'init', 'tribe_events_cat_cpts_func', 11);
function tribe_events_cat_cpts_func(){
	 register_taxonomy_for_object_type( 'tribe_events_cat', 'my-cpt-1' );
}

Please replace my-cpt-1 with the slug of your custom post type.

More help:
register_taxonomy_for_object_type
Add a registered Taxonomy to a registered Post Type.

#394133

Thanks, it works very well ! 🙂

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.