The last category catches everything that does not fit in one of the other six categories. In fact, the Theming category is the original Uncategorized. I just renamed it, making Theming the default category with ThemingWP.

The tags can be divided in three groups: theme features, theme vendors, and miscellaneous. The latter include tags like Child Theme, Mobile and Tools. All miscellaneous tags are related to the Theming category.

With 36 terms, the theme features are the biggest and the most important group of tags. Examples in this league are Genesis, Photography, and WooCommerce.

Hierarchical taxonomies allow you to create parent/child relationships. WordPress categories are an example of a hierarchical taxonomy.

Non-hierarchical taxonomies are less structured and flat. It is not possible to definte relationships between terms of a non-hierarchical taxonomy. WordPress tags are non-hierarchical.

For the brands taxonomy, I decided to opt for the hierarchical version, because it is more flexibile. For instance, it would allow me to distinguish themes created by StudioPress from StudioPress Third Party Themes.

A crucial key/value pair in this code is 'hierarchical' => true. The value true generates a hierarchical taxnomy, and false a non-hierarchical one.

Not all key/value pairs above are required, but I tend to follow the templates as suggested by the codex.

How do we know we succeeded? We did not encounter an error, or a white screen of death. Which is promising. But did we actually create the brands taxonomy?

The first piece of evidence is found in the Brands UI, added to the Posts panel:

More proof is available in the Add/Edit posts screen. A Brands meta box has appeared, next to the post editor. We are making progress.

When you are following along, make sure you resave the permalinks before continuing. Go to Settings >> Permalinks, switch to Default, save, switch back to ‘Postname’, or whatever your permalink setting was, and save again.

You can also create taxonomies with the Simple Taxonomy plugin. But this plugin was last updated over three years ago. You better stay away from this one.

Fortunately, there is an alternate tool available in the cloud – GenerateWP.

Move existing tags to the new taxonomy

Now that we have a dedicated brands taxonomy, we need to move the theme vendors from tags to brands.

The more posts you have, the more time you will have to devote to this exercise. At least when you are planning to do it manually. But that is not necessary.

There is a plugin for that too. And that plugin is the Taxonomy Switcher.

The Taxonomy Switcher adds a page to the WordPress Tools panel. A page with only four fields.

First you select the from and to taxonomies. Here we are moving from tags to brands.

The next step is entering the IDs of the taxonomies that we want to migrate.

Field #4, limiting the number of child terms to transfer, is optional. And not required for our ThemingWP project.

Hit the [Switch Taxonomies] button, and you are done.

Visiting the brands page, we see indeed 15 vendor terms. Terms which are no longer listed with the tags. Mission accomplished.

The Taxonomy Switcher plugin is no longer needed, so we delete it.

Update the .htaccess file

We have completed our task, but there is still some housekeeping to do.

Now that we moved the vendors from tags to brands, a query or a link with the original tag will lead to a 404 – page not found. Search engines do not like 404s. And humnas stumbling into one even less.

We can solve this by adding 303 redirects to the .htacces file in the WordPress root.

Fire up an FTP-client like FileZilla, or login to the control panel of you host, and open the .htaccess. Add the necessary redirects to the bottom of the file.

Wrap up

Now we are really done adding the custom taxonomy. The vendor terms are transferred, and old links presented to visitors by search engines, or saved as bookmarks, are diverted to the new taxonomy links.

Disclosure: This post may contain affiliate links. When you follow an affiliate link and purchase an item on the website regarding, Wilwebs may receive a compensation -- but rest assured, not at your expense ;-) .