[This documentation is in progress]
This is complete documentation for CBX Petition for WordPress.

CBX Petition is a wordpress plugin and distributed via wordpress plugin directory. The core plugin is free and can be installed from worpress dashboard plugin manager by searching “CBX Petition”. The pro addons can be downloaded from here in product page and can be installed as zip file from wordpress dashboard plugin manager.

Documentation for Core Plugin – “CBX Petition”

Core plugin’s various shortcode details

CBX Petition has 9 shortcodes so far and more will come in future.

  • Displaying a petition – [cbxpetition]
  • Displaying a petition summary – [cbxpetition_summary]
  • Displaying a petition signature form – [cbxpetition_signform]
  • Displaying a petition’s video – [cbxpetition_video]>
  • Displaying a petition’s photos – [cbxpetition_photos]
  • Displaying a petition’s letter – [cbxpetition_letter]
  • Displaying a petition’s banner – [cbxpetition_banner]
  • Displaying a petition’s signatures – [cbxpetition_signatures]
  • Displaying a petition’s stat – [cbxpetition_stat]

[cbxpetition] Shortcode Details

Param Name Default Value Possible Value Comment
petition_id 0 or current petition id if in petition page Any “cbxpetition” post type id
sections cbxpetition_banner,cbxpetition_stat,cbxpetition_video,cbxpetition_photos,cbxpetition_letter,cbxpetition_signform,cbxpetition_signatures Any petition sections

[cbxpetition_summary] Shortcode Details

Param Name Default Value Possible Value Comment
petition_id 0 or current petition id if in petition page Any “cbxpetition” post type id
sections title,content,stat,expire_date

[cbxpetition_signform] Shortcode Details

Param Name Default Value Possible Value Comment
petition_id 0 or current petition id if in petition page Any “cbxpetition” post type id

[cbxpetition_video] Shortcode Details

Param Name Default Value Possible Value Comment
petition_id 0 or current petition id if in petition page Any “cbxpetition” post type id

[cbxpetition_photos] Shortcode Details

Param Name Default Value Possible Value Comment
petition_id 0 or current petition id if in petition page Any “cbxpetition” post type id

[cbxpetition_letter] Shortcode Details

Param Name Default Value Possible Value Comment
petition_id 0 or current petition id if in petition page Any “cbxpetition” post type id

[cbxpetition_banner] Shortcode Details

Param Name Default Value Possible Value Comment
petition_id 0 or current petition id if in petition page Any “cbxpetition” post type id

[cbxpetition_signatures] Shortcode Details

Param Name Default Value Possible Value Comment
petition_id 0 or current petition id if in petition page Any “cbxpetition” post type id
perpage 20 Any numeric value
order DESC DESC,ASC
orderby id

[cbxpetition_stat] Shortcode Details

Param Name Default Value Possible Value Comment
petition_id 0 or current petition id if in petition page Any “cbxpetition” post type id
show_count 1 1,0
show_progress 1 1,0

Documentation for Pro Addon Plugin – “CBX Petition Pro Addon”

Pro addon plugin’s various shortcode Details

Pro addon has only one shortcode to show the frontend petition dashboard.

  • Displaying petition Dashboard – [cbxpetition_dashboard] , this shortcode has no params just the shortcode