Forums

[resolved] How do I modify theme to show post tags? (4 posts)

  1. racerman28
    Member
    Posted 1 year ago #

    Hello,

    I am using the Bluesense theme and I want the posts to show the tags I create.

    Do I have to modify one of the template files or would I have to use a plugin?

    Any help would be appreciated! :)

    Kenneth

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    depending on where you want to show the tags, you need to edit index.php, single.php, archive.php, .....

    the code to do this, which needs to be added inside the loop, is for instance:

    <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>

    http://codex.wordpress.org/Function_Reference/the_tags

  3. racerman28
    Member
    Posted 1 year ago #

    Thanks alchymyth. I'll give this a try. :)

    Kenneth

  4. racerman28
    Member
    Posted 1 year ago #

    alchymyth, it worked perfectly!

    Thanks for your help!

    Kenneth

Topic Closed

This topic has been closed to new replies.

About this Topic