wysiwyg_custom_widget_args

Widget templates only: specify widget settings that users can override when inserting this widget

Accepted values: array of widget settings

Content types: All

Site-wide, you can specify widget setting for users to override when inserting widgets on a page using the config file option WYSIWYG_CUSTOM_WIDGET_ARGS. In LiveWhale 2.17.0+ this ability is extended to individual widget templates.

Adding this to a widget template will give page editors a text entry field to override each saved widget value:

<arg id="wysiwyg_custom_widget_args">header|max</arg>

 

You can optionally prefix each setting with a “label” to customize the user-facing label for that field.

<arg id="wysiwyg_custom_widget_args">header|"Show up to __ items"max</arg>

Common Settings

All Settings