<?php
$cat = get_query_var('cat');
$categories=get_categories('child_of='.$cat);
if ($categories) {
?>
<div class="subcat-archive">
<?php
$cat = get_query_var('cat');
$categories=get_categories('child_of='.$cat);
if ($categories) {
foreach($categories as $term) {
echo $title . '<a href="' . get_category_link( $term->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $term->name ) . '" ' . '>' . $term->name.'</a> | ';
}
}
?>
</div>
<?php
}
else {
?>
<?php
}
?>
That Does it.. for me.. i have conditional stuff.. but in between the divs is the real stuff. ?? cheers!
Murad