Another issue i faced during the wordpress development, i want to change the tooltip text which appears on hovering the mouse over the tags created by wp_tag_cloud().
By default it shows something like 1 topics, 5 topics etc, and i want to make it something like “Tag Name” on mouseover
So how to do it …?
Open category-template.php which is located under /wp-includes folder.
Search for text “tag-link-”
$a[] = "<a class="tag-link-$tag_id" style="font-size: " . str_replace(;" title="" . esc_attr( call_user_func( $topic_count_text_callback, $real_count ) ) . "" href="$tag_link">$tag_name</a>";
Change to
$a[] = "<a class="tag-link-$tag_id" style="font-size: " . str_replace(;" title="$tag_name" href="$tag_link">$tag_name</a>";