Shortcodes

There are multiple shortcodes in both core plugin and pro addon.

1. Show single or multiple polls

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

Param Name Default Value Possible Value Comment
id any “cbxpoll” post type post id use comma for multiple poll id, don’t use space after comma
description 0 or 1 If the poll should show poll description or not.
chart_type text text,pie,twitter
grid 0 or 1 as set in global setting 0 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 Name Default Value Possible Value Comment
user_id 0 any user id this param used to show polls from any user
per_page 5 any numeric number -1 for all
description 0 or 1 If the poll should show poll description or not.
chart_type text text,pie,twitter
grid 0 or 1 as set in global setting 0 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.

Last modified: August 23, 2025