Hi,
I am trying to make a custom category for event in the menu called “Venue Categories”. The purpose is to use these categories to show “related venues” in a single venue page. Is this something that I can do with Calendar Pro?
so far my code looks like this:
function venue_category() {
register_taxonomy('tribe_venue_category', 'tribe_venue', array(
'hierarchical' => true,
'show_ui' => true,
'show_admin_column' => true,
'query_var' => true,
'labels' => array(
'singular_name' => _x( 'Venue Category', 'venue singular name' ),
'menu_name' => __('Venue Categories', 'venue singular name')
),
'rewrite' => array(
'slug' => 'venue-category'
)
));
}
add_action( 'init', 'venue_category', 0 );
I would appreaciate if you could point me into the right direction.