Documentation for CBX Poll

Shortcodes

1. Show single or multiple polls

[cbxpoll id="poll post id" description="1" chart_type="text" grid='0']

Param NameDefault ValuePossible ValueComment
idany “cbxpoll” post type post iduse comma for multiple poll id, don’t use space after comma
description0 or 1If the poll should show poll description or not.
chart_typetexttext or other chart typechart type is pluggable, core has text type display, 3rd party or codeboxr may have other chart type addon to display any poll result using graphical chart like donut, pie etc.
grid0 or 1 as set in global setting0 or 1 (0 = list 1 = grid)Poll answer will show as list view or grid view

2.Poll listing or archive

[cbxpolls per_page="5" description="1" chart_type="text" grid='0']

Param NameDefault ValuePossible ValueComment
per_page5any numeric number-1 for all
description0 or 1If the poll should show poll description or not.
chart_typetexttext or other chart typechart type is pluggable, core has text type display, 3rd party or codeboxr may have other chart type addon to display any poll result using graphical chart like donut, pie etc.
grid0 or 1 as set in global setting0 or 1 (0 = list 1 = grid)Poll answer will show as list view or grid view

3.Poll Frontend Shortcode

[cbxpoll_dashboard]

This shortcode has no params, just create a page, put the shortcode in that page, go to poll setting and click the frontend dashboard tab, choose this page. All set.