With Directory we have a widget called the T → All Categories List. This widget lists down all the categories. It is generally used on the home page to let the users view all the categories and select from them.
A list of categories is displayed with the help of the widget. Clicking on the category page will directly lead to the category page of that category.
How to configure it?
To configure this widget navigate to Dashboard >> Appearance >> Widgets >> T→ All Categories List.
Title: Set the title for this widget here.
Post Type: This will allow to select the post type of which the categories will be displayed. If it is Events, the categories and subcategories of the Events post type is shown.
Category Level : This lets you decide the level of subcategories under the main category to be displayed.
Number of child categories: This will let you decide the lines of child categories to be displayed under the main category after which the view more link will be displayed. If the number specified here is greater than the total number of sub-categories available than all the subcategories will be displayed.
How the categories list appears on the front end?
Here “Browse listings by categories” is the widget title. Classified, Health & Medical, Places, etc are categories with sub-categories within them. The number in the bracket beside the sub-category name denotes the number of listings submitted within that category.
In our directory demo we have this widget placed in the top of home page main content area. This will enable the users to select the criteria on the home page itself.
It also lets the user’s have a brief idea about the content of the site based on the categories and the listings posted in each category.
It makes browsing the site easier and simpler and enhances user experience.