ThumbsUp Shortcode Attributes

From IThemes Codex
Jump to: navigation, search
  • show_stats - Whether to show the stats or not (default 1)
  • group_id - The ID of the voting group you would like to display.
  • thumb_width - Default is 200. The Width dimension for displaying image thumbnails.
  • thumb_height - Default is 200. The Height dimension for displaying image thumbnails.
  • video_max_height - Default is 300. The maximum height for an embedded video
  • video_max_width - Default is 300. The maximum width for an embedded video
  • show_item_title - Default is true. Whether to show the title for each item
  • show_group_title - Default is true. Whether to display the title for the voting group
  • show_group_desc - Default is false. Whether to display the description for the voting group
  • show_image_caption - Default is false. Whether to display the caption for an image
  • show_image_desc - Default is false. Whether to display the description for an image
  • orderby - Default is 'menu_order' - Which parameter to order by (rating, date, menu_order, rand)
  • order - Default is 'DESC'. The order to retrieve the items.

Example Shortcode for Videos

[thumbsup group_id="2813" orderby="rating" order="DESC" show_group_title="1" show_group_desc="0" show_item_title="1" video_max_height="600" video_max_width="600" ]

Example Shortcode for Images

[thumbsup group_id="2806" orderby="rand" order="ASC" show_group_title="1" show_group_desc="0" show_item_title="1" thumb_height="500" thumb_width="500" show_image_caption="1" show_image_desc="0" ]

Example Shortcode for Topics

[thumbsup group_id="2818" orderby="rand" order="ASC" show_group_title="1" show_group_desc="0" show_item_title="1" ]


← Back to ThumbsUp Codex Home

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox