Custom Taxonomy & 404
-
Hi,
Having some issues with custom taxonomies at the moment, hopefully someone recognizes the issue and can provide a solution.
I have the following function defined in functions.php
add_action( 'init', 'create_my_taxonomies', 0 ); function create_my_taxonomies() { register_taxonomy( 'people', 'post', array( 'hierarchical' => false, 'label' => 'Contributors', 'query_var' => true, 'rewrite' => true ) ); }
This work great.
Now, I’m adding a second custom taxonomy – by adding a new register_taxonomy function to functions.php.
It seems to work. Taxonomy block show in the new post window, I can add terms and when viewing the various terms, it correctly shows the number of assigned posts.
Problem is – the taxonomy pages result in a 404. I tried everything, or so it seems. Re-saving permalinks, emptying browser cache. Nothing seems to work.
Mind you, this is *just* for the 2nd taxonomy. The first one rocks and rolls right along.
Any ideas here?
- The topic ‘Custom Taxonomy & 404’ is closed to new replies.