<!-- Get all tags displayed -->
<nav class="all-tags">
<ul>
<?php
$tags = get_tags('post_tag'); //taxonomy=post_tag
if ( $tags ) :
foreach ( $tags as $tag ) : ?>
<li class="tags">
<a href="<?php echo esc_url( get_tag_link( $tag->term_id ) ); ?>" title="<?php echo esc_attr( $tag->name ); ?>">
<?php echo esc_html( $tag->name ); ?>
</a>
</li>
<?php endforeach; ?>
<?php endif; ?>
</ul>
</nav>