0
votes

I want to show custom taxonomies. But when I try to show only taxonomies wordpress takes me to 404 page.

I have taxonomy TV Series, and I can show All the terms in the TV Series Taxonomy by utilizing template {taxonomy-tv_series.php} "tv_series" is the taxonomy name. Bellow is the working url.

http://mysite.com/tv-series/lost/

and I can show all the posts inside the lost on {taxonomy-tv_series.php}. But I want to show / list all the tv-series itself like

tv-series-template.php and it displays.

a) Lost b) Prison Break c) Breaking Bad etc.

by using url like this

http://mysite.com/tv-series/

If my question is not clear to you guys, please let me know I will try to make it more usefull.

I am using pretty permalink "%spost_name%s"

Thanks.

1

1 Answers

0
votes

Currently WordPress doesn't offer an archive that displays everything tagged inside a taxonomy.

You could create a custom page template called "TV Series" and manually query all posts associated with your taxonomy.

Alternatively you could create a custom post type e.g. called "Tv Show" and connect it to your taxonomy. Then you would use archive-{post-type}.php to display all posts inside your taxonomy.

You can read more about template hierarchy at the codex page: http://codex.wordpress.org/Template_Hierarchy