Hi,
I'm using the built in WordPress tag cloud. When I hover over the items in the tag cloud the tooltip shows some thing like this "5 topics". Which file should I edit to change the word 'topics' to something else?
Thanks.
Hi,
I'm using the built in WordPress tag cloud. When I hover over the items in the tag cloud the tooltip shows some thing like this "5 topics". Which file should I edit to change the word 'topics' to something else?
Thanks.
Anyone got this working?
wp_tag_cloud() is located in wp-includes/category-template.php.
/**
* Default text for tooltip for tag links
*
* @param integer $count number of posts with that tag
* @return string text for the tooltip of a tag link.
*/
function default_topic_count_text( $count ) {
return sprintf( _n('%s topic', '%s topics', $count), number_format_i18n( $count ) );
}Can you please clarify, I've found the wp_tag_cloud:
function default_topic_count_text( $count ) {
return sprintf( _n('%s topic', '%s topics', $count), number_format_i18n( $count ) );
}
Do I just change the words "topic" and "topics" to whatever I want?
I'm so used to working with xhtml that I expected to find (before reading this post):
`title="topic"'
thanks.
I'm having the same difficulty changing the TITLE tag. =(
This topic has been closed to new replies.