Support » Fixing WordPress » Where can i remove the link of my tags?
8 years, 1 month 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:
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.
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…
<?php the_tags('Tags: ', ', ', '<br />'); ?>
Then the get_the_tags article in Codex has just the example for you.