WordPress Developer Ukraine, Kyiv
Add Built-in WordPress Tags to a Custom Post Type

Add Built-in WordPress Tags to a Custom Post Type

How to add the built-in tags to a custom post type When most WordPress developers need something like post tags for a custom post type, they register a new taxonomy. But this is not always convenient. A custom taxonomy is a separate list of terms that lives only in that post type, and you also…
WordPress: Add Parent Term Slug to Child Term URL

WordPress: Add Parent Term Slug to Child Term URL

WordPress: add the parent term slug to child term URLs By default, terms of a custom hierarchical taxonomy do not include the parent slug in their URL. A child term “Lorem” under the parent “Test” gets the URL /topics/lorem/, not /topics/test/lorem/. Adding the parent slug gives cleaner, more descriptive URLs that reflect the hierarchy.
How to Create a Custom Taxonomy in WordPress

How to Create a Custom Taxonomy in WordPress

Register a custom taxonomy for a post type WordPress has two built-in taxonomies for posts: categories (hierarchical) and tags (flat). A custom taxonomy works the same way, but you decide what it is called and which post types it belongs to: books by genre, portfolio items by technique, events by city.