Get category list


Display your categories in your site the way you want.

<?php 
$args = array(
'show_option_all' => '',
'title_li' => __('Categories'),
'show_option_none' => __('No categories'),
'orderby' => 'name',
'order' => 'ASC',
'style' => 'list',
'taxonomy' => 'category',
'feed' => '',
'feed_type' => '',
'feed_image' => '',
'exclude' => '',
'exclude_tree' => '',
'include' => '',
'show_count' => 0,
'hide_empty' => 1,
'use_desc_for_title' => 1,
'child_of' => 0,
'hierarchical' => 1,
'echo' => 1,
'depth' => 0,
'current_category' => 0,
'pad_counts' => 0,
'number' => null,
'walker' => null
); wp_list_categories($args);
?>