WordPress.org

Ready to get started?Download WordPress

Forums

Where can i remove the link of my tags? (4 posts)

  1. kojakfull
    Member
    Posted 5 years ago #

    Hi guys can you please enlighten me on where to remove the link of my tags in my blogpost? I just wanted it to be text and not links. Here is an example of my post with tags:

    http://www.ownnursingagency.com/how-to-start-your-own-nursing-business-guide.html

  2. MichaelH
    Member
    Posted 5 years ago #

    If you were using the WordPress Default theme, you would edit wp-content/themes/default/index.php and delete the reference to the Template Tag, the tags().

    Example code to delete:

    <?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ','multiple') ?>

    That would delete both tags and categories from displaying with each post.

  3. kojakfull
    Member
    Posted 5 years ago #

    Hi if i remove this code <?php the_tags('Tags: ', ', ', '<br />'); ?> then the tags will not appear in my blogpost. I just wanted to remove the link code on tags...

  4. MichaelH
    Member
    Posted 5 years ago #

    Then the get_the_tags article in Codex has just the example for you.

Topic Closed

This topic has been closed to new replies.

About this Topic