Call-to-action
The powerful field for call-to-action
Arguments
Name | Type | Value | Description |
| string | single_image | The type of setting |
| string | {field_name} | The unique name will be used in template |
| string | (optional) | The label that appears above of the setting field. |
| string | (optional) | The description that appears above under of the setting field. |
| string | (optional) | The long description that appears on the tooltip when hover on. |
| object | (optional) | { href: string, src: string, //'%URL%/image.jpg' alt: string, class: string, id: string, icon: 'fa fa-', 'icon-pos': 'after|' 'data-ga-action': string, 'data-ga-category': string, 'data-ga-label': string, 'data-fb-pixel': '', 'class': '' } |
options | object | (optional) | { type: 'image|icon|text', // using image, icon or text icon_source: '%URL%/icons.css', // Use icon icon_class: 'fa' // Extra icon class example: <i class="fa } |
| object | (optional) | Add listener events for setting field (Supported all event ) |
Code example
Last updated