cuny-academic-commons / bp-event-organiser

Allows Event Organiser plugin events to be assigned to BuddyPress groups and generates a group calendar page for each group
GNU General Public License v2.0
3 stars 1 forks source link

Let's lose categories #29

Closed boonebgorges closed 9 years ago

boonebgorges commented 9 years ago

At least for CAC, we don't want both categories and tags. Let's just use tags.

r-a-y commented 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.

r-a-y commented 9 years ago

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' );
} );
boonebgorges commented 9 years ago

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.