I'm having trouble getting the syntax correct?
<?php // conditional based on whether the current cat has child categories... or not
$cat_id = get_query_var('cat');
$catlist = wp_list_categories('echo=0&orderby=id&title_li=&child_of=' . $cat_id); ?>
<?php if (get_categories('parent=' . $cat_id)) { ?>
<h1>The current cat has a child cat</h1>
<?php else { ?>
<p>The current cat doesn't have a child cat</p>
<?php } ?>
I think it's the end part...
<?php else { ?>
<p>The current cat doesn't have a child cat</p>
<?php } ?>
Thanks... I'm sooo bad at php!
Pete