Skip to content

Commit

Permalink
Simplified subcategory lists
Browse files Browse the repository at this point in the history
  • Loading branch information
splorp committed Oct 15, 2012
1 parent fe8edfa commit ff54d96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions category.php
Expand Up @@ -18,8 +18,8 @@
$cat_ID = get_query_var('cat');
$children= get_categories('child_of='.$cat_ID) ;
if ( $children && $children != 'No Children.' ) {
echo '<ul class="cat-children">';
echo '<li><strong>Sub-Categories:</strong></li>';
echo '<p><strong>Subcategories:</strong></p>';
echo '<ul>';
wp_list_categories('title_li&hide_empty=0&child_of='.$cat_ID);
echo '</ul>';
}
Expand Down

0 comments on commit ff54d96

Please sign in to comment.