Getting a list of categories

In this example a category list can be requested by calling wp_list_categories. A query string is passed to the function to specify categories that are children of the category ID 6. Additionally an order variable will sort the results by category name.

Leave a Reply