This code:
<?php the_terms($post->ID, 'type') ?>
Gives:
<a href="/archives/type/image" rel="tag">Tag</a>
What do to if I want to display only "Tag" word, not link eg.
Tag
Thanks!
|
This code:
Gives:
What do to if I want to display only "Tag" word, not link eg.
Thanks! |
|||
|
|
|
While you can specify separators and such in You can discard unwanted HTML by using filter:
Or just use deeper |
|||||||||||||
|