• 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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 ) );
    }

    steeephen

    (@steeephen)

    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. =(

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tag Cloud – Edit Title’ is closed to new replies.