[Plugin: NextGEN Gallery] bug in function nggTagCloud
-
the function ‘nggTagCloud’ has a light bug where the default setting in the args array
is missing the separator item that splits the individuals tags and allows the cloud to form.
so when the shortcode [ tagcloud ] is applied it does not create a cloud but a vertical column of tags on the page as the default seperator of the underlying wp_generate_tag_cloud function has
as defaultI replaced this in line 1117 to fix this.
$defaults = array(
‘smallest’ => 8, ‘largest’ => 20, ‘unit’ => ‘pt’, ‘number’ => 45,
‘format’ => ‘flat’, ‘separator’ => ” “,’orderby’ => ‘name’, ‘order’ => ‘ASC’,
‘exclude’ => ”, ‘include’ => ”, ‘link’ => ‘view’, ‘taxonomy’ => ‘ngg_tag’
);
The topic ‘[Plugin: NextGEN Gallery] bug in function nggTagCloud’ is closed to new replies.