Support » Plugins » Modifications to wp_generate_tag_cloud

  • Hi all,

    I’ve made some modifications to the wp_generate_tag_cloud function, and thought I’d share it/get some feedback.
    Basically, I wanted to be able to display all tags in my cloud, but found that this left me with a couple of enormous words, and many words of a similar size, but with different numbers (the problem being that with the large words being such popular tags, they overwhelmed everything else).
    So, my solution was to use the natural log of the count for each tag, which this results in a fairer, and more interesting, tag cloud.

    Code is available at: http://www.commafruit.co.uk/2007/11/20/site-upgrade-wordpress-231-tags/
    Please could someone comment as to whether this is a good idea/there are problems with the implementation etc.

    thanks!
    Ben.

  • The topic ‘Modifications to wp_generate_tag_cloud’ is closed to new replies.