WordPress has two types of taxonomies which allow website owners to group blog posts. These are Categories and Tags. What if you wanted to create relationships between posts? For example, let’s say that your website provides reviews of local restaurants and you wanted a way to group the different types of restaurants (i.e. fast food, steakhouse, pasta, etc.). Custom taxonomies permit this type of grouping. Read on to discover how you can group your content using custom taxonomies.
Add logical structure
Taxonomies give your website a logical structure and make it easier for visitors to find information. For example, a visitor to your website wants to find reviews of sushi restaurants. Creating a taxonomy for sushi and using the taxonomy for each sushi review, a visitor can easily see all the reviews for sushi restaurants.
Use a plugin
There are two ways to add a custom taxonomy to your WordPress website. You can use a plugin or you can add custom code to your functions.php file. The most popular plugin is Custom Post Type UI (CPT UI). After installing and activating the plugin, you can add any number of taxonomies to your website. Using the Hierarchical feature of CPT UI, you can create any number of relationships.
Manually edit code
Adding custom code to your functions.php file gives you more control over the parameters for the taxonomy. Additionally, writing the code for a custom taxonomy is a little complicated but there are excellent examples available on the WordPress Codex website. If you are unsure how to write code, you can always seek the help of a WordPress professional. They will have experience creating taxonomies.
Custom taxonomies help you extend the design and functionality of WordPress. They provide an excellent way to create unique content for your visitors. Also, they give search engines more ways to index your website. When added to your navigation system, you help website visitors quickly and easily find the content they are looking for. Use custom taxonomies to improve the grouping of your WordPress content.
Need help with custom taxonomies?