WordPress has come a long way from being a simple blogging platform. With additions of custom post types and custom taxonomies , it is being used as a true content management system CMS. In response from our article on how to create custom taxonomies in WordPress , some of our readers asked us how to display custom taxonomy terms in sidebar widgets. In this article we will show you how to display custom taxonomy terms in WordPress sidebar widgets. We will show you how to display custom taxonomy terms in sidebar widgets using two different methods. The first method is by installing a plugin which is simpler and easier.
The List Custom Taxonomy Widget is a quick and easy way to display custom taxonomies. Simply choose the taxonomy name you want to display from an auto-populated list. You can also set a title to display for the widget. Multiple list custom taxonomy widgets can be added to the same and other sidebars as well. There are several display options including as a dropdown , and it generally behaves similarly to the built-in categories widget but with the addition of custom taxonomies. This plugin is essentially a widget UI shell for these functions. There is no need for a settings page. If this function can do it, the plugin can do it with minor edits, just look in list-custom-taxonomy-widget.
By default, WordPress allows you to organize your content with categories and tags. But with custom taxonomies, you can further customize the way you sort your content. To help you set this up properly, we have created an easy table of content below:. A WordPress taxonomy is a way to organize groups of posts and custom post types.
In WordPress, categories are set up as a hierarchal taxonomy, and tags are set up as a multifaceted taxonomy. Taxonomy content can be displayed in a theme using taxonomy templates. Within a template, there are ample ways to display your data with built-in taxonomy functions. WordPress provides a new method of grouping content by allowing you to create your own custom taxonomies. All you have to do is understand how to configure all of the settings to suit your needs. A business that operates in multiple locations could benefit from organizing its content by location to allow visitors to browse news in their locality.