Created
November 13, 2015 22:17
-
-
Save pradeepdotco/8abc90c082b195e762fd to your computer and use it in GitHub Desktop.
Template Tags wp list categories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
'show_option_all' => '', | |
'orderby' => 'name', | |
'order' => 'ASC', | |
'style' => 'list', | |
'show_count' => 0, | |
'hide_empty' => 1, | |
'use_desc_for_title' => 1, | |
'child_of' => 0, | |
'feed' => '', | |
'feed_type' => '', | |
'feed_image' => '', | |
'exclude' => '', | |
'exclude_tree' => '', | |
'include' => '', | |
'hierarchical' => 1, | |
'title_li' => __( 'Categories' ), | |
'show_option_none' => __( '' ), | |
'number' => null, | |
'echo' => 1, | |
'depth' => 0, | |
'current_category' => 0, | |
'pad_counts' => 0, | |
'taxonomy' => 'category', | |
'walker' => null | |
); | |
wp_list_categories( $args ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment