/** * Display product tag cloud. * * The text size is set by the 'smallest' and 'largest' arguments, which will * use the 'unit' argument value for the CSS text size unit. The 'format' * argument can be 'flat' (default), 'list', or 'array'. The flat value for the * 'format' argument will separate tags with spaces. The list value for the * 'format' argument will format the tags in a UL HTML list. The array value for * the 'format' argument will return in PHP array type format. * * The 'orderby' argument will accept 'name' or 'count' and defaults to 'name'. * The 'order' is the direction to sort, defaults to 'ASC' and can be 'DESC'. * * The 'number' argument is how many tags to return. By default, the limit will * be to return the top 45 tags in the tag cloud list. * * The 'topic_count_text_callback' argument is a function, which, given the count * of the posts with that tag, returns a text for the tooltip of the tag link. * * The 'exclude' and 'include' arguments are used for the {@link get_tags()} * function. Only one should be used, because only one will be used and the * other ignored, if they are both set. * */ function mp_tag_cloud_sc($atts) { return mp_tag_cloud(false, $atts); }
<h3 class="widgettitle"><?php _e('Popular Products', 'framemarket'); ?> </h3> <div class="widget"> <?php mp_popular_products(); ?> </div> <h3 class="widgettitle"><?php _e('Tag Cloud', 'framemarket'); ?> </h3> <div class="widget"> <?php mp_tag_cloud(); ?> </div> <?php } ?> <h3 class="widgettitle"><?php _e('Meta', 'framemarket'); ?> </h3> <div class="widget"> <?php wp_register(); ?> <?php