wp_gdsr_render_multi

wp_gdsr_render_multi($multi_set_id = 0, $template_id = 0, $read_only = false, $post_id = 0, $stars_set = "", $stars_size = 0, $stars_set_ie6 = "", $avg_stars_set = "oxygen", $avg_stars_size = 20, $avg_stars_set_ie6 = "oxygen_gif", $echo = true)

  • $multi_set_id: id of the multi rating set to use.
  • $post_id: id of the post rating will be attributed to.
  • $template_id: id of the template to use.
  • $read_only: render block as a read only, voting not allowed.
  • $stars_set: set to use for rendering.
  • $stars_size: set size to use for rendering.
  • $stars_set_ie6: set to use for rendering in ie6.
  • $avg_stars_set: set to use for rendering of average element.
  • $avg_stars_size: set to use for rendering in ie6 of average element.
  • $avg_stars_set_ie6: set size to use for rendering of average element.
  • $echo: echo results or return it as a string.

Renders multi rating block. This function call must be withing the post loop.
Function returns: string html with rendered contents.

Comments

Leave a Reply