yes, thank you. now that’s working.
the last thing that’s left is the link issues. still no link… here the updated code:
<div id="recentposts">
<p class="listing">
<?php
$categories = get_categories();
foreach($categories as $key => $category) {
?>
<a class="recent<?php echo $key; ?>" href="<?php echo get_category_link($category->name); ?>"><?php echo $category->name; ?></a> <?php } ?>
</p>
</div>
Thanks a lot for the help!!