Why does not appear the tags in my page?

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?

Leave a Reply

Your email address will not be published. Required fields are marked *