Skip to main content

Params

Parameter types define the input controls that users interact with when configuring elements in WPBakery Page Builder.

This section provides detailed documentation for every parameter type available in WPBakery Page Builder, from simple text fields to complex custom controls.

Text & content

Selection & options

Media & assets

Visual & design

WordPress integration

Advanced controls

Utilities

Using parameters

Parameters are defined in the params array when registering an element with vc_map():

vc_map([
'name' => __('My Element', 'textdomain'),
'base' => 'my_element',
'params' => [
[
'type' => 'textfield',
'heading' => __('Title', 'textdomain'),
'param_name' => 'title',
'value' => '',
'description' => __('Enter a title', 'textdomain')
],
[
'type' => 'colorpicker',
'heading' => __('Color', 'textdomain'),
'param_name' => 'color',
'value' => '#000000'
]
]
]);

Common parameter options

All parameter types support these common options:

  • type - The parameter type
  • holder - HTML tag name where the attribute value is displayed in backend edit mode (default: hidden input)
  • class - CSS class added to the holder HTML tag
  • heading - Label displayed to the user
  • param_name - Unique identifier
  • value - Value for the parameter
  • description - Help text
  • group - Tab/group organization
  • weight - Display order (higher = shows first)
  • dependency - Conditional visibility
  • admin_label - Display in element title
  • edit_field_class - CSS class for field width
  • param_holder_class - CSS class for the param wrapper in the edit element modal
  • save_always - Force saving the param value to the shortcode even if it equals the default or is empty
  • callback - JavaScript function callback attached to the window object (e.g., ['after_add' => 'vcChartParamAfterAddCallback'])
  • settings - Array of type-specific configuration options (varies per param type, see individual param docs)
  • custom_markup - HTML template used to render the element in the backend editor. See vc_map() → custom_markup
  • deprecated - Version in which the param was deprecated

Next steps

  • Browse individual parameter documentation for detailed usage examples
  • Check Element Development for implementing parameters in your elements
  • Review Developer Tutorials for advanced parameter techniques