@karl 19 and carl-johan
I managed it with the code you suggested Karl19.. yet i experience exactly the same problems as you do : I’d like it not to show on ‘front page’ and would like to get rid of the no categories mention.
But it is definitly what we were after. Thanks for this one Karl !
Now what I am trying to do is to add title_description as text next or under each subcategory.. and am such a beginner I can’t seem to find how to implement such function to the above code..
<?php echo category_description( $category ); ?>
I’m trying to get this line to fit inside the code Karl kindly shared here :
<?php
if (is_category()) {
$this_category = get_category($cat);
}
if($this_category->category_parent)
$this_category = wp_list_categories('orderby=id&title_li=&child_of='.$this_category->category_parent."&echo=0"); else
$this_category = wp_list_categories('orderby=id&title_li=&child_of='.$this_category->cat_ID."&echo=0");
if ($this_category) { ?>
<ul>
<?php echo $this_category; ?>
</ul>
<?php } ?>
but i can’t seem to find the proper syntax…
Would be awesome if someone could help out figuring how to insert the descriptions bits
thanks in advance for any further help