Hi i must putting tags like a paragraph under the articles, of my single.php page, this is my code

<?php $post_tags = wp_get_post_tags($post->ID);
 if(!empty($post_tags)) {?>
            <p><?php the_tags('', ' ', ''); ?></p>
        <?php } ?>

There is something wrong?

Read more here: Why does not appear the tags in my page?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: