Wordpress Tag Cloud Code
Earlier today I was working on some quick updates for this site. I wanted to add a tag cloud. I do think that sometimes tag clouds are tacky, but I wanted to try it and I think it’ll help users understand this site faster and find content on this site faster. Ease of use is top priority.
I found that the tag cloud is easy to implement on the code side. So easy, in fact, that I might argue it’s easier than dragging and dropping a widget in the admin side of the web site.
Here it is:
<?php wp_tag_cloud(''); ?>
That’s all there is to it.
I found these options to be suitable:
<?php wp_tag_cloud('smallest=7&largest=25&number=50'); ?>
These options set the smallest font size to 7, the largest font size to 25 and the number of tags to show to be 50. Pretty easy.
There are also some more comprehensive explanations of the tag cloud code available.

No Comments, Comment or Ping
Reply to “Wordpress Tag Cloud Code”