Computer Code

A repository of various code that I am making freely available.

Try 1

Stuff after

$cats = explode('
‘, wp_list_categories(‘title_li=&echo=0&depth=1&style=none’));
$cat_n = count($cats) – 1;
for ($i = 0; $i < $cat_n; $i++):
if ($i < $cat_n/2):
$cat_left = $cat_left.'

  • ‘.$cats[$i].’
  • ‘;
    elseif ($i >= $cat_n/2):
    $cat_right = $cat_right.’

  • ‘.$cats[$i].’
  • ‘;
    endif;
    endfor; ?>

    Leave a Comment