Read a couple of tutorials (here's one) but I don't understand why I can't make it work. I'm trying to create a page for custom taxonomy terms. Like mysite.com/tag/term or mysite.com/category/term but for my taxonomy.
This is what I've done so far:
I registered the new taxonomy
add_action( 'init', 'register_taxonomy_author' ); function register_taxonomy_author() { register_taxonomy( 'author', 'post', //Let WordPress know that the artist taxonomy has posts array( 'hierarchical' => false, 'label' => 'Authors', // This tells WordPress how to label the various user interface outlets for the artist taxonomy 'query_var' => true, 'rewrite' => array( 'slug' => 'author', 'with_front' => false )) ); }
Added a new file called taxonomy-author.php and copied+pasted the codes from category.php into it.
Now, when I try to view the taxonomy terms (Admin Panel > Posts > Authors > View) I get directed to mysite.com/author/term, which is great. But that page uses index.php instead of taxonomy-author.php. What did I miss? Codex states that index.php should be at the bottom, yet it ignores both taxonomy-author.php and my archive.php.