This code returns me the categories of the Magento but I could not make it increment the url of the category so that it is clickable and go to the page of the corresponding category. Can you help me?
<ul>
<?php
$obj = new Mage_Catalog_Block_Navigation();
$storeCategories = $obj->getStoreCategories();
Mage::registry('current_category') ? $currentCategoryId = Mage::registry('current_category')->getId() : $currentCategoryId='';
foreach ($storeCategories as $_category):
?>
<li>
<strong>
<?php echo "<a href=".$_category->getUrl().">" . $_category->getName(); "</a>"; ?>
</strong>
</li>
<?php endforeach; ?>
</ul>