How to Create Custom Taxonomies in WordPress

Today I’ll show you how to create custom taxonomies in WordPress. If you want to create a site that has custom post types like books and track them by adding custom taxonomies like a topic and add topic terms like adventure, romance, maybe a non-fiction, then this tutorial will show you how to do that. First install and activate the simple taxonomy WordPress plugin.

Then go to Settings — > Custom taxonomies to create a new taxonomy.

We’ll add a name here, decide if we want it to be hierarchical and we’ll click true here.

Next what post types do we want this associated with.

I’m going to pick posts and I’ll say none for auto add terms. Now I need to add translation wording that is associated with the taxonomy here.

Once I’m finished with all of that, I can click add taxonomy.

And we now have a new custom taxonomy for posts. You can see the field here in a new post.

Оставьте комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Пролистать наверх