I am trying to figure out how to display all tags with corresponding links on the browse page. Right now, all tags display without link using this php snippet:
<?php
$tags = get_db()->getTable('Tag')->findBy(array('type'=>'Item'));
foreach ($tags as $tag) {
echo "<button type=\"button\" class=\"btn-tags\">" . $tag . "</a></button>";
}
?>
How do I call the tags with links via php?
Thanks
Brendan