Problem with Custom Taxonomies
-
Thank you very much for this excellent plugin!
I just have an small problem, each time I try to add a custom taxonomy manually and co-authors plus is activated at the same time, the site don’t load posts and it starts cycling.
This is the code of the taxonomy:
function add_artist_taxonomy() { register_taxonomy('album-artist', array( 'post', 'attachment'), array( 'hierarchical' => false, 'labels' => array( 'name' => _x( 'Artist', 'taxonomy general name' ), 'singular_name' => _x( 'Artist', 'taxonomy singular name' ), 'search_items' => __( 'Search Artist' ), 'all_items' => __( 'All licenses' ), 'parent_item' => __( 'Parent Artist' ), 'parent_item_colon' => __( 'Parent Artist:' ), 'edit_item' => __( 'Edit Artist' ), 'update_item' => __( 'Update Artist' ), 'add_new_item' => __( 'Add New Artist' ), 'new_item_name' => __( 'New Artist Name' ), 'menu_name' => __( 'Artists' ), ), 'rewrite' => array( 'slug' => 'artist', 'with_front' => false, ), )); } add_action( 'init', 'add_artist_taxonomy');
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Problem with Custom Taxonomies’ is closed to new replies.