Forums

Join
bbPress Support ForumsPluginsBig to Small Tag listings

Info

Big to Small Tag listings

  1. Is there a way to present the Hot Tag listing in a big to small order? If there is a simple code tweak I can do, let me know. Otherwise, as someone who knows very little about coding, I would love it if someone came up with a way to do this. Does anyone else agree?

  2. So, what you're asking is for the tag-could to be re-ordered, based on a tag's popularity rather than its alphabetic position?

  3. yes, exactly that

  4. the easiest way right now is to change the function tag_heat_map()

    change the line

    uksort($counts, 'strnatcasecmp');

    to

    asort($counts); //or
    arsort($counts); //reverse

    may we should have a filter in the function make it pluggable..

  5. with the change set 554 you can now create a function to sort the tags in array as you like and add a filter to sort_tag_heat_map
    add_filter('sort_tag_heat_map', 'your_custom_sorting_function')

  6. You must log in to post.