Closed boonebgorges closed 9 years ago
We'll probably do this with a filter for CAC. We don't want to intrude on anyone that might want categories for their implementation of events.
This is handled internally.
For those interested, this is the code snippet in use:
/**
* Remove 'Categories' taxonomy for event post type.
*/
add_action( 'add_meta_boxes_event', function( $post ) {
remove_meta_box( 'event-categorydiv', 'event', 'side' );
} );
This is fine - thanks, @r-a-y. (Though, fwiw, I think that EO has enabled both categories and tags just because WP does it for posts; WP does it for posts only for historical reasons. It's hard for me to see the value in having both for events, in the majority of use cases. But I don't feel strongly about it.)
On 04/17/15 21:53, r-a-y wrote:
This is handled internally.
For those interested, this is the code snippet in use:
|/**
- Remove 'Categories' taxonomy for event post type. */ add_action( 'add_meta_boxes_event', function( $post ) { remove_meta_box( 'event-categorydiv', 'event', 'side' ); } ); |
— Reply to this email directly or view it on GitHub https://github.com/cuny-academic-commons/bp-event-organiser/issues/29#issuecomment-94112898.
At least for CAC, we don't want both categories and tags. Let's just use tags.