wordpressBUCK
Member
Posted 4 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.
Thanks!
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!
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.
Resources:
Stepping into Templates
Stepping into Template Tags
Template Hierarchy
Editing Files