Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Editing Forum heat map (tag cloud) settings


snark
Participant

@snark

@DJPaul — I tried tweaking the function you gave me — it didn’t create an error, but it didn’t work either. Here’s what I tried:

/* Customized heat map (tag cloud) function */

function bp_forums_tag_heat_map_x( $args = '' ) {
$defaults = array(
'smallest' => '10',
'largest' => '18',
'sizing' => 'px',
'limit' => '100',
'orderby' => 'name',
'order' => 'ASC'
);

$r = wp_parse_args( $args, $defaults );
extract( $r, EXTR_SKIP );

bb_tag_heat_map( $smallest, $largest, $sizing, $limit, $orderby, $order );
}

I tried adding ‘orderby’ and ‘order’ arguments, but it didn’t work. Does anybody know how to tweak this function I’m using in my child theme to change the display order of the Forum tag cloud? By default it orders by most occurrences first and then in order of creation, so all new tags don’t even show up. I’d like to include tags by most occurrences, but then order them alphabetically. Thanks.

Skip to toolbar