Categories
PHP WordPress

Display custom taxonomy in dropdown list or link format

Basically, we use get_terms() method to display custom taxonomy in dropdown list or link format. We get all terms of custom taxonomy in array format and then we are display terms in dropdown list or in link format using foreach loop.

Categories
PHP WordPress

Display category and post list in WordPress

Hello friends, Today we learn how to display all category list and each category list contain own post list. This example also work for all custom taxonomies and custom post types.