Use wp_list_cats() instead of list_cats()
git-svn-id: https://develop.svn.wordpress.org/trunk@2571 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1592d90958
commit
de788d90c3
|
@ -48,7 +48,7 @@
|
||||||
|
|
||||||
<li><h2>Categories</h2>
|
<li><h2>Categories</h2>
|
||||||
<ul>
|
<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>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue