What is the download equivalent of get_the_tags? I tried pulling the tags into my archive-download.php, but nothing shows up or the page just sticks on the pre-loader.
What I tried:
get_tagsget_the_tagsget_download_tagsget_the_download_tags
My tags code in case you need it:
<?php
$tags = get_the_tags();
$posttags = '<div class="post_tags"><i class="fa fa-folder-o"></i>';
foreach ( $tags as $tag ) {
$tag_link = get_tag_link( $tag->term_id );
$posttags .= "<a href='{$tag_link}' title='{$tag->name}' class='{$tag->slug}'>";
$posttags .= "{$tag->name}</a>";
}
$posttags .= '</div>';
echo $posttags;
?>
