WordPress.org

Make WordPress Core

Changeset 2571


Ignore:
Timestamp:
04/22/05 05:12:59 (10 years ago)
Author:
ryan
Message:

Use wp_list_cats() instead of list_cats()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/sidebar.php

    r2511 r2571  
    4949            <li><h2>Categories</h2> 
    5050                <ul> 
    51                 <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?> 
     51                <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?> 
    5252                </ul> 
    5353            </li> 
Note: See TracChangeset for help on using the changeset viewer.