How can I make the text in the_tags function translatable? Currently I’m using following:
<?php the_tags('<div class="tags">Post Tags',' ','</div>'); ?>
But I’d like to make ‘Post Tags’ text translatable by adding the text domain, similar to this:
_e('Post Tags', 'textdomain');
Translate the title before you send it to
the_tags()
: