<?php
$mytags = get_tags() ;
if ($mytags) {
foreach((get_the_tags()) as $tag) {
echo ‘ id ‘ . $tag->term_id;
echo ‘name ‘ . $tag->name;
echo ‘slug ‘ . $tag->slug;
echo ‘count ‘ . $tag->count;
}
}
?>
that’s good … but if there s no tag it give Error
it shoud be fixed by some else echo’nothing’ or somthing like that … waiting for a coder