echo' <table border="0"><tr><td>';
 $counter=Display_catogories($t_parent," ",0,0);
 echo' </td></tr></table>';

 echo $t_content;
 function Display_catogories($t_parent,$title,$level){
 global $counter;
 //echo $t_parent.' ';
 $args = array(
 'orderby' => 'name',
 'hierarchical' => '1',
 'child_of' =>$t_parent
 $categories = get_categories( $args );
 foreach ( $categories as $category ) {
 echo $title.$t_numer.' <a href="' . get_category_link( $category->term_id ) . '">'. $category->name .'('.$category->count.')</a><br>';

 if(($counter%18)==0){ echo' </td><td>'; }


$categories =NULL;
 return $counter;

Screen Shot 2013-07-27 at 8.54.49 AM

By admin-powenko

Dr. Powen Ko is a teacher and CEO on LoopTek LLC, and like to teaching. if you need to class, please let PowenKo know, he will love to service and sharing. LoopTek web site is

Leave a Reply