wp_list_cats() children=0 Issue
Tutorials & Resources | WordPress
While you are customizing/developing your WordPress theme, if you found children=0 paramter is not working with wp_list_cats() function (deprecated), you should use wp_list_categories() function instead.
It’s important to note their parameters are different, comparison as below:
wp_list_cats > wp_list_categories
optionall > show_option_all
sort_column > orderby
sort_order > order
optioncount > show_count
list > style
children > depth
optiondates > show_last_updated
child_of > child_of (unchange)
hide_empty > hide_empty (unchange)
use_desc_for_title > use_desc_for_title (unchange)
hierarchical > hierarchical (unchange)
feed > feed (unchange)
feed_image > feed_image (unchange)
exclude > exlude (unchange)
More information:


















No Comments, Comment or Ping
Reply to “wp_list_cats() children=0 Issue”