Categories

[insert_php]

//wp_list_categories();
echo ‘

‘;

// $categories = get_categories();
// foreach ($categories as $cat) {
// if ($cat->category_parent == 0) {
// echo ‘

‘;
// echo ‘

ARTICLES: ‘ . $cat->category_count . ‘

‘;
// if ($cat->category_description != ”) {
// echo ‘

‘.$cat->category_description.’

‘;
// }
// echo ‘

‘;
// foreach ($categories as $child) {
// if ($cat->term_id == $child->category_parent) {
// echo ‘

‘;
// echo ‘

ARTICLES: ‘ . $child->category_count . ‘

‘;
// if ($child->category_description != ”) {
// echo ‘

‘.$child->category_description.’

‘;
// }
// echo ‘

‘;
// }
// }
// }
//
// /*
// if ($cat->category_description != ”) {
// echo ‘ – ‘.$cat->category_description;
// }
// */
// }
//

[/insert_php]