// If you're not including a colour picker field then you can leave these calls out as well as the farbtastic dependency for the wpt-admin-js script below
wp_enqueue_style('farbtastic');
wp_enqueue_script('farbtastic');
// We're including the WP media scripts here because they're needed for the image upload field
// If you're not including an image upload then you can leave this function call out
'description'=>__('This is a secret text field - any data saved here will not be displayed after the page has reloaded, but it will be saved.','autoshortcoder'),
'description'=>__('A standard checkbox - if you save this option as checked then it will store the option as \'on\', otherwise it will be an empty string.','autoshortcoder'),
'type'=>'checkbox',
'default'=>''
),
array(
'id'=>'select_box',
'label'=>__('A Select Box','autoshortcoder'),
'description'=>__('A standard select box.','autoshortcoder'),
'description'=>__('These are some extra input fields that maybe aren\'t as common as the others.','autoshortcoder'),
'fields'=>array(
array(
'id'=>'number_field',
'label'=>__('A Number','autoshortcoder'),
'description'=>__('This is a standard number field - if this field contains anything other than numbers then the form will not be submitted.','autoshortcoder'),
'type'=>'number',
'default'=>'',
'placeholder'=>__('42','autoshortcoder')
),
array(
'id'=>'colour_picker',
'label'=>__('Pick a colour','autoshortcoder'),
'description'=>__('This uses WordPress\' built-in colour picker - the option is stored as the colour\'s hex code.','autoshortcoder'),
'type'=>'color',
'default'=>'#21759B'
),
array(
'id'=>'an_image',
'label'=>__('An Image','autoshortcoder'),
'description'=>__('This will upload an image to your media library and store the attachment ID in the option field. Once you have uploaded an imge the thumbnail will display above these buttons.','autoshortcoder'),