Get a string value for the tags and print it only if there are tags:
$tags = get_the_tag_list('', ', ', ' ');
if ( "" !== trim( $tags ) )
{
echo "<p><i class="icon-tags"></i>$tags</p>";
}
Get a string value for the tags and print it only if there are tags:
$tags = get_the_tag_list('', ', ', ' ');
if ( "" !== trim( $tags ) )
{
echo "<p><i class="icon-tags"></i>$tags</p>";
}