adjust text size in tag cloud (3 posts)

  1. wordpressBUCK
    Posted 8 years ago #

    I've looked everywhere (at least it seems) I just want to adjust the different max sizes of the default tag cloud...I can't find anything about the tag cloud in any file.

    What do I need to add / change, what file and where do I find it do I need to adjust.


  2. Tdude
    Posted 8 years ago #

    Hi. If you use the default tag with a simple wp query it would probably look something like this: '<?php wp_tag_cloud('smallest=8&largest=20'); ?>'

    Good luck!

  3. MichaelH
    Posted 8 years ago #

    If you are using the Tag Cloud Widget you can't adjust those sizes without modifying the core file wp-includes/widgets.php.

    If the tag cloud is part of your sidebar, then probably in your theme's sidebar.php file you will find reference to the Template Tag, wp_tag_cloud(), where you can make the change a Tdude suggested.

    Stepping into Templates
    Stepping into Template Tags
    Template Hierarchy
    Editing Files

Topic Closed

This topic has been closed to new replies.

About this Topic