Use wp_list_cats() instead of list_cats()
git-svn-id: http://svn.automattic.com/wordpress/trunk@2571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
db7f896a2f
commit
6784ed04bd
|
@ -48,7 +48,7 @@
|
|||
|
||||
<li><h2>Categories</h2>
|
||||
<ul>
|
||||
<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
|
||||
<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
|
Loading…
Reference in New Issue