gdtt_widget_terms_cloud

gdtt_widget_terms_cloud($args)

  • $args: array with parameters, listed bellow.

Render results same as the Terms Cloud widget. $args array can contain following parameters

  • post_types: post type to use for filtering.
  • taxonomy: taxonomy to get terms from.
  • number: number of terms to display.
  • unit: sizing units: pt, px, em.
  • smallest: smallest term size.
  • largest: largest term size.
  • orderby: data to use for ordering of terms: name, count, rand.
  • order: sorting order: asc, desc.
  • exclude: terms ID’s to exclude.
  • display_css: additional CSS class to add to rendered block.

Comments

Leave a Reply