WordPress.org

Support

Support » Miscellaneous » Tag Cloud Widget

Tag Cloud Widget

  • Hello,
    I have recently installed WordPress 2.3 and i have a problem with Tag Cloud Widget. When i put in the sidebar the most popular tag has a very big font, and i want to change that to make smaller and i don’t know how i didn’t found anything. Here is how it looks http://xs119.xs.to/xs119/07390/widget.PNG
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The only way to do that would be to modify the wp-includes/widgets.php file.

    You’d need to change line 1092 to use the largest parameter. Currently it defaults to 22.

    See the Template Tag, wp_tag_cloud() for info.

    Make sure you make a copy of the file before you modify it.

    Thanks for the pointer MichaelH 🙂 My cloud looks better now thanks to your advice.

    One step further, where should I look into if I want a tag list, not a cloud?

    You can use the Template Tag, the tags(), for posts when displaying The Loop.

    Also, get_the_tags() will return an array of the tags associated with a post. Returns false if no tags.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tag Cloud Widget’ is closed to new replies.
Skip to toolbar