customize tag cloud (4 posts)

  1. gtiphane
    Posted 7 years ago #

    I was trying to figure out how to change the font sizes in the tag cloud, found this post in the forum about changing widgets.php to change the number of tags in a cloud, and modified it to include font sizes. It lets you modify the numbers in the widget's edit.

    I think ideally this would come from the style sheet, but I can't see how. If the code can be useful, see:


  2. LizLeih
    Posted 6 years ago #

    I've read this top through as well as a few others, but I can't find the place in widgets.php where it lists


    so you can add the parameters you want.

    The only listing of


    is in the following list:

    $_wp_deprecated_widgets_callbacks = array(

    Can anyone give me better instructions? I've also read the codex article http://codex.wordpress.org/Template_Tags/wp_tag_cloud#Parameters, but I do not understand WHERE to put the code.

    Many thanks in advance.

  3. LizLeih
    Posted 6 years ago #

    Ok, I found that you have to make this change in the file category-template.php. Totally different from widgets.php.

  4. ken.dodds
    Posted 6 years ago #


    Thanks for the info have been pulling my hair out trying to figure which file I needed to change.

    Again Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic