Home » Just Blogging » How to Edit Customize Tag Cloud deafault tooltip to Tag Name

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: &quot; . 			str_replace(;" title="&quot; . esc_attr( call_user_func( $topic_count_text_callback, $real_count ) ) . &quot;" href="$tag_link">$tag_name</a>";

Change to

$a[] = "<a class="tag-link-$tag_id" style="font-size: &quot; . 			str_replace(;" title="$tag_name" href="$tag_link">$tag_name</a>";

Wordpress Freelancer, Joomla Freelancer Web designer Mumbai india, Wordpress web developer India, Joomla Web developer india, Outsourcing web project india mumbai

By Santosh Kori Published: October 10, 2012 Professional Freelance Website developer 5 stars based on 65 reviews Total time: 24 hour 00 min Wordpress Joomla XHTML CSS jQuery HTML5 eCommerce CSS3 ☞ Offers low cost freelance web designing, asp php asp.net web development services from Mumbai India. Freelance web designer & developer Mumbai India.

I AM NOT AVAILABLE FOR WEB DESIGN & DEVELOPMENT PROJECTS