hi;
how can i display the tags with no links and special html to use it in the header title :
<title>tags</title>
hi;
how can i display the tags with no links and special html to use it in the header title :
<title>tags</title>
<?php
$alltags = get_terms('post_tag');
if ($alltags){
foreach( $alltags as $tag ) {
echo '<p>' . $tag->name . '</p>';
}
}
?>
hi
thanks for your reply,
the code print all the tags i used, but i'd like only to show the tag i used in the post.
Thanks for the help
This is exactly what im trying to do as well.
Anybody else have any ideas?
I want to be able to use the custom taxonimies (tags) that are on the current post as call names so dont want them wrapped in Anchor links or any other html/css.
Is this possible?
Thanks guys
$taxonomy='post_tag';
$terms = wp_get_post_terms( $post->ID , $taxonomy, '');This topic has been closed to new replies.