WordPress.org

Ready to get started?Download WordPress

Forums

DIFFERENT FONT SIZES FOR TAG CLOUDS (5 posts)

  1. hank839
    Member
    Posted 2 years ago #

    The tag clouds are showing in different fonts, some large, some small. Looks unprofessional. Any tips?
    Regards
    Tony

  2. They are showing in different fonts?

    Basically each tag in the tag cloud will "grow" the more times you use the tag. The larger the font, the more times that tag was used.

    It's basically a visual representation of your most-used tags.

    But I don't think it should use different fonts.

  3. hank839
    Member
    Posted 2 years ago #

    Thank you for your reply. It is not in different fonts, but different font sizes. Thank you again.
    Regards
    Tony

  4. alchymyth
    Forum Moderator
    Posted 2 years ago #

    The tag clouds are showing in different fonts, some large, some small.

    that is intended;

    if you refer to the default tag cloud widget:
    to level the tags to one size, add a snippet of code like this to functions.php of your theme (also described in here):

    add_filter('widget_tag_cloud_args','set_cloud_tag_size');
    function set_cloud_tag_size($args) {
    $args = array('smallest'    => 14, 'largest'    => 14);
    return $args;
    }

    (adjust the number value to match your site)

    there are also configurable tag cloud widgets available per plugins http://wordpress.org/extend/plugins/search.php?q=configurable+tag+cloud+widgets

  5. hank839
    Member
    Posted 2 years ago #

    Thank you so much. This is what I was looking for.
    Regards
    Tony
    PS New to WordPress

Topic Closed

This topic has been closed to new replies.

About this Topic