I have created a custom taxonomy and it works great, but i can’t find a way to make it required in the dashboard.. Is there any way ?
This is the code of the taxonomy :
function create_extra_cat_guidlines() {
register_taxonomy(
'cat',
'pr_guidelines',
array(
'label' => __( 'Category' ),
'rewrite' => array( 'slug' => 'cat' ),
'hierarchical' => true
)
);
}
Thanks in advance !
After a long search with nog answers i decided to use a plugin:
http://wordpress.org/plugins/force-post-category-selection/installation/