Creating a custom taxonomy index page


show more Creating a custom taxonomy index page provides you with in-depth training on Design. Taught by Morten Rand-Hendriksen as part of the Create an Online Portfolio with WordPress show less
please wait ...

Creating a custom taxonomy index page

By default when you click on a custom taxonomy link, WordPress will use the index.php template to display the output. If you want to customize the index view for a taxonomy, you need to create a custom taxonomy template. Like with the custom posts type indexes, this is a simple matter of creating a new file called taxonomy.php, and populating it with the contents you want to use. Before we create the file, let me just show you what I am talking about. If I go to any of my posts and I click on one of the custom taxonomy terms, I will be taken to a general index for that term.

As you can see, we are now under the meal -type custom taxonomy and I am looking at everything that's filed under the term dinner. The problem is by default the title of this page is Blog Archives. It's hardly a blog archive. And in addition, each of these polls types, though they come from different kinds of custom post types, just display the same. What I want to do is change the Blog Archive's title to s...

Creating a custom taxonomy index page
Video duration: 7m 13s 3h 13m Advanced

Viewers:

Creating a custom taxonomy index page provides you with in-depth training on Design. Taught by Morten Rand-Hendriksen as part of the Create an Online Portfolio with WordPress

Subjects:
Design Web
Software:
WordPress
Author:
please wait ...