function TS_VCSC_Team_Meta_Boxes(array $meta_boxes)
{
    // Define Available Button Types
    $TS_VCSC_Button_Types = array('ts-button-3d' => 'Standard / 3D - Square', 'ts-button-3d ts-button-rounded' => 'Standard / 3D - Rounded', 'ts-button-3d ts-button-pill' => 'Standard / 3D - Pill', 'ts-button-default' => 'Standard / Default - Square', 'ts-button-default glow' => 'Standard / Default - Square (Glow)', 'ts-button-rounded ts-button-default' => 'Standard / Default - Rounded', 'ts-button-rounded ts-button-default glow' => 'Standard / Default - Rounded (Glow)', 'ts-button-pill ts-button-default' => 'Standard / Default - Pill', 'ts-button-pill ts-button-default glow' => 'Standard / Default - Pill (Glow)', 'ts-button-flat' => 'Standard / Flat - Square', 'ts-button-flat glow' => 'Standard / Flat - Square (Glow)', 'ts-button-rounded ts-button-flat' => 'Standard / Flat - Rounded', 'ts-button-rounded ts-button-flat glow' => 'Standard / Flat - Rounded (Glow)', 'ts-button-pill ts-button-flat' => 'Standard / Flat - Pill', 'ts-button-pill ts-button-flat glow' => 'Standard / Flat - Pill (Glow)', 'ts-button-3d-primary' => 'Primary / 3D - Square', 'ts-button-3d-primary ts-button-rounded' => 'Primary / 3D - Rounded', 'ts-button-3d-primary ts-button-pill' => 'Primary / 3D - Pill', 'ts-button-default ts-button-primary' => 'Primary / Default - Square', 'ts-button-default glow ts-button-primary' => 'Primary / Default - Square (Glow)', 'ts-button-rounded-primary ts-button-default' => 'Primary / Default - Rounded', 'ts-button-rounded-primary ts-button-default' => 'Primary / Default - Rounded (Glow)', 'ts-button-pill ts-button-primary' => 'Primary / Default - Pill', 'ts-button-pill ts-button-primary glow' => 'Primary / Default - Pill (Glow)', 'ts-button-flat-primary' => 'Primary / Flat - Square', 'ts-button-flat-primary glow' => 'Primary / Flat - Square (Glow)', 'ts-button-rounded ts-button-flat-primary' => 'Primary / Flat - Rounded', 'ts-button-rounded ts-button-flat-primary glow' => 'Primary / Flat - Rounded (Glow)', 'ts-button-pill ts-button-flat-primary' => 'Primary / Flat - Pill', 'ts-button-pill ts-button-flat-primary glow' => 'Primary / Flat - Pill (Glow)', 'ts-button-3d-action' => 'Action / 3D - Square', 'ts-button-3d-action ts-button-rounded' => 'Action / 3D - Rounded', 'ts-button-3d-action ts-button-pill' => 'Action / 3D - Pill', 'ts-button-default ts-button-action' => 'Action / Default - Square', 'ts-button-default glow ts-button-action' => 'Action / Default - Square (Glow)', 'ts-button-rounded ts-button-default ts-button-action' => 'Action / Default - Rounded', 'ts-button-rounded ts-button-default glow ts-button-action' => 'Action / Default - Rounded (Glow)', 'ts-button-pill ts-button-default ts-button-action' => 'Action / Default - Pill', 'ts-button-pill ts-button-default glow ts-button-action' => 'Action / Default - Pill (Glow)', 'ts-button-flat-action' => 'Action / Flat - Square', 'ts-button-flat-action glow' => 'Action / Flat - Square (Glow)', 'ts-button-rounded ts-button-flat-action' => 'Action / Flat - Rounded', 'ts-button-rounded ts-button-flat-action glow' => 'Action / Flat - Rounded (Glow)', 'ts-button-pill ts-button-flat-action' => 'Action / Flat - Pill', 'ts-button-pill ts-button-flat-action glow' => 'Action / Flat - Pill (Glow)', 'ts-button-3d-highlight' => 'Highlight / 3D - Square', 'ts-button-3d-highlight ts-button-rounded' => 'Highlight / 3D - Rounded', 'ts-button-3d-highlight ts-button-pill' => 'Highlight / 3D - Pill', 'ts-button-default ts-button-highlight' => 'Highlight / Default - Square', 'ts-button-default glow ts-button-highlight' => 'Highlight / Default - Square (Glow)', 'ts-button-rounded ts-button-default ts-button-highlight' => 'Highlight / Default - Rounded', 'ts-button-rounded ts-button-default glow ts-button-highlight' => 'Highlight / Default - Rounded (Glow)', 'ts-button-pill ts-button-default ts-button-highlight' => 'Highlight / Default - Pill', 'ts-button-pill ts-button-default glow ts-button-highlight' => 'Highlight / Default - Pill (Glow)', 'ts-button-flat-highlight' => 'Highlight / Flat - Square', 'ts-button-flat-highlight glow' => 'Highlight / Flat - Square (Glow)', 'ts-button-rounded ts-button-flat-highlight' => 'Highlight / Flat - Rounded', 'ts-button-rounded ts-button-flat-highlight glow' => 'Highlight / Flat - Rounded (Glow)', 'ts-button-pill ts-button-flat-highlight' => 'Highlight / Flat - Pill', 'ts-button-pill ts-button-flat-highlight glow' => 'Highlight / Flat - Pill (Glow)', 'ts-button-3d-caution' => 'Caution / 3D - Square', 'ts-button-3d-caution ts-button-rounded' => 'Caution / 3D - Rounded', 'ts-button-3d-caution ts-button-pill' => 'Caution / 3D - Pill', 'ts-button-default ts-button-caution' => 'Caution / Default - Square', 'ts-button-default glow ts-button-caution' => 'Caution / Default - Square (Glow)', 'ts-button-rounded ts-button-default ts-button-caution' => 'Caution / Default - Rounded', 'ts-button-rounded ts-button-default glow ts-button-caution' => 'Caution / Default - Rounded (Glow)', 'ts-button-pill ts-button-default ts-button-caution' => 'Caution / Default - Pill', 'ts-button-pill ts-button-default glow ts-button-caution' => 'Caution / Default - Pill (Glow)', 'ts-button-flat-caution' => 'Caution / Flat - Square', 'ts-button-flat-caution glow' => 'Caution / Flat - Square (Glow)', 'ts-button-rounded ts-button-flat-caution' => 'Caution / Flat - Rounded', 'ts-button-rounded ts-button-flat-caution glow' => 'Caution / Flat - Rounded (Glow)', 'ts-button-pill ts-button-flat-caution' => 'Caution / Flat - Pill', 'ts-button-pill ts-button-flat-caution glow' => 'Caution / Flat - Pill (Glow)', 'ts-button-3d-royal' => 'Royal / 3D - Square', 'ts-button-3d-royal ts-button-rounded' => 'Royal / 3D - Rounded', 'ts-button-3d-royal ts-button-pill' => 'Royal / 3D - Pill', 'ts-button-default ts-button-royal' => 'Royal / Default - Square', 'ts-button-default glow ts-button-royal' => 'Royal / Default - Square (Glow)', 'ts-button-rounded ts-button-default ts-button-royal' => 'Royal / Default - Rounded', 'ts-button-rounded ts-button-default glow ts-button-royal' => 'Royal / Default - Rounded (Glow)', 'ts-button-pill ts-button-default ts-button-royal' => 'Royal / Default - Pill', 'ts-button-pill ts-button-default glow ts-button-royal' => 'Royal / Default - Pill (Glow)', 'ts-button-flat-royal' => 'Royal / Flat - Square', 'ts-button-flat-royal glow' => 'Royal / Flat - Square (Glow)', 'ts-button-rounded ts-button-flat-royal' => 'Royal / Flat - Rounded', 'ts-button-rounded ts-button-flat-royal glow' => 'Royal / Flat - Rounded (Glow)', 'ts-button-pill ts-button-flat-royal' => 'Royal / Flat - Pill', 'ts-button-pill ts-button-flat-royal glow' => 'Royal / Flat - Pill (Glow)');
    $prefixA = 'ts_vcsc_team_basic_';
    $prefixB = 'ts_vcsc_team_contact_';
    $prefixC = 'ts_vcsc_team_social_';
    $prefixD = 'ts_vcsc_team_skills_';
    $prefixE = 'ts_vcsc_team_opening_';
    $availablePages = TS_VCSC_GetPostOptions(array('post_type' => 'page', 'posts_per_page' => -1));
    $defaultPage = array('name' => 'External Page Teammate', 'value' => 'external');
    array_unshift($availablePages, $defaultPage);
    $defaultPage = array('name' => 'No Page for Teammate', 'value' => '-1');
    array_unshift($availablePages, $defaultPage);
    // Configure Metabox - Basic Information
    $meta_boxes['ts_vcsc_team_contact'] = array('id' => 'ts_vcsc_team_contact', 'title' => 'Basic Information', 'pages' => array('ts_team'), 'object_types' => array('ts_team'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Position:', 'std' => '', 'desc' => 'Provide some information about the team members position in your company or group.', 'id' => $prefixA . 'position', 'type' => 'text'), array('name' => '<i class="ts-teamicon-email3 ts-font-icon"></i> Email Address:', 'std' => '', 'desc' => '', 'id' => $prefixB . 'email', 'type' => 'text_email'), array('name' => '<i class="ts-teamicon-phone2 ts-font-icon"></i> Phone Number:', 'std' => '', 'desc' => '', 'id' => $prefixB . 'phone', 'type' => 'text_medium'), array('name' => '<i class="ts-teamicon-mobile ts-font-icon"></i> Cell Number:', 'std' => '', 'desc' => '', 'id' => $prefixB . 'cell', 'type' => 'text_medium'), array('name' => '<i class="ts-teamicon-portfolio ts-font-icon"></i> Portfolio URL:', 'std' => '', 'desc' => '', 'id' => $prefixB . 'portfolio', 'type' => 'text_url'), array('name' => 'Label for Portfolio URL:', 'std' => '', 'desc' => 'If left empty, the actual URL to the portfolio site will be shown.', 'id' => $prefixB . 'portfoliolabel', 'type' => 'text_medium'), array('name' => '<i class="ts-teamicon-link ts-font-icon"></i> Personal URL:', 'std' => '', 'desc' => '', 'id' => $prefixB . 'other', 'type' => 'text_url'), array('name' => 'Label for Personal URL:', 'std' => '', 'desc' => 'If left empty, the actual URL to the personal site will be shown.', 'id' => $prefixB . 'otherlabel', 'type' => 'text_medium'), array('name' => '<i class="ts-teamicon-skype ts-font-icon"></i> Skype User Name:', 'std' => '', 'desc' => '', 'id' => $prefixB . 'skype', 'type' => 'text_medium')));
    // Configure Metabox - Opening / Contact Hours
    $meta_boxes['ts_vcsc_team_opening'] = array('id' => 'ts_vcsc_team_opening', 'title' => 'Business / Opening Hours / Note', 'pages' => array('ts_team'), 'object_types' => array('ts_team'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Use this section to provide additional information, such as business / opening hours, or other optional information.', 'desc' => 'The matching elements in Visual Composer will allow you to show or hide this section individually.', 'type' => 'title', 'id' => $prefixA . 'title'), array('name' => 'Icon:', 'desc' => 'Select the icon that should be shown alongside the header.', 'id' => $prefixD . 'symbol', 'type' => 'radio_inline', 'std' => 'clock1', 'options' => array('clock1' => '<i class="ts-teamicon-clock1 ts-font-icon"></i> ' . 'Clock', 'calendar1' => '<i class="ts-teamicon-calendar1 ts-font-icon"></i> ' . 'Calendar', 'info1' => '<i class="ts-teamicon-info1 ts-font-icon"></i> ' . 'Info', 'location1' => '<i class="ts-teamicon-location1 ts-font-icon"></i> ' . 'Pin', 'none' => 'None')), array('name' => 'Icon Color:', 'desc' => '', 'id' => $prefixD . 'symbolcolor', 'type' => 'colorpicker', 'default' => '#666666'), array('name' => 'Header:', 'std' => 'Business Hours', 'desc' => 'Enter a header that will be shown above the custom content you will provide below.', 'id' => $prefixD . 'header', 'type' => 'text_medium'), array('name' => 'Information:', 'std' => '', 'desc' => 'You can use any text and basic HTML code; create line breaks via "Enter" button or by using the appropriate HTML code.', 'id' => $prefixD . 'opening', 'type' => 'textarea_code')));
    // Configure Metabox - Dedicated Member Page
    $meta_boxes['ts_vcsc_team_page'] = array('id' => 'ts_vcsc_team_page', 'title' => 'Link to Dedicated Page', 'pages' => array('ts_team'), 'object_types' => array('ts_team'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'When used in a slider, you might not want to show all data in the slider; so provide a link (button) to a page that shows the full profile.', 'desc' => 'You can select whether to show or hide the link button in the individual elements settings later.', 'type' => 'title', 'id' => $prefixA . 'title'), array('name' => 'Dedicated Page:', 'desc' => 'If existing, select a page that is dedicated to this particular team member.', 'id' => $prefixA . 'dedicatedpage', 'type' => 'select', 'options' => $availablePages, 'std' => '-1'), array('name' => '<i class="ts-teamicon-link ts-font-icon"></i> External URL:', 'std' => '', 'desc' => '', 'id' => $prefixA . 'dedicatedlink', 'type' => 'text_url'), array('name' => 'Open in New Tab/Window:', 'std' => '', 'desc' => '', 'id' => $prefixA . 'dedicatedtarget', 'type' => 'checkbox'), array('name' => 'Button Icon:', 'desc' => 'Select the icon that should be shown alongside the button label.', 'id' => $prefixA . 'dedicatedicon', 'type' => 'radio_inline', 'std' => 'eye2', 'options' => array('eye2' => '<i class="ts-teamicon-eye2 ts-font-icon"></i> ' . 'Eye 1', 'eye5' => '<i class="ts-teamicon-eye5 ts-font-icon"></i> ' . 'Eye 2', 'eye1' => '<i class="ts-teamicon-eye1 ts-font-icon"></i> ' . 'Eye 3', 'eye3' => '<i class="ts-teamicon-eye3 ts-font-icon"></i> ' . 'Eye 4', 'info1' => '<i class="ts-teamicon-info1 ts-font-icon"></i> ' . 'Info 1', 'info4' => '<i class="ts-teamicon-info4 ts-font-icon"></i> ' . 'Info 2', 'link' => '<i class="ts-teamicon-link ts-font-icon"></i> ' . 'Link 1', 'link5' => '<i class="ts-teamicon-link5 ts-font-icon"></i> ' . 'Link 2', 'none' => 'None')), array('name' => 'Icon Color:', 'desc' => '', 'id' => $prefixA . 'dedicatedcolor', 'type' => 'colorpicker', 'default' => '#666666'), array('name' => 'Button Label:', 'std' => 'View Teammate', 'desc' => '', 'id' => $prefixA . 'dedicatedlabel', 'type' => 'text_medium'), array('name' => 'Button Tooltip:', 'std' => '', 'desc' => '', 'id' => $prefixA . 'dedicatedtooltip', 'type' => 'text'), array('name' => 'Button Type:', 'std' => array('ts-button-3d'), 'desc' => '', 'id' => $prefixA . 'dedicatedtype', 'type' => 'select', 'options' => $TS_VCSC_Button_Types)));
    // Configure Metabox - File Information
    $meta_boxes['ts_vcsc_team_file'] = array('id' => 'ts_vcsc_team_file', 'title' => 'File Attachment', 'pages' => array('ts_team'), 'object_types' => array('ts_team'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Attachment', 'desc' => 'Attach a file, including information such as a resume, for your viewers to download.', 'id' => $prefixA . 'buttonfile', 'type' => 'file', 'allow' => array('url', 'attachment')), array('name' => 'Icon:', 'desc' => 'Select the icon that should be shown alongside the button label.', 'id' => $prefixA . 'buttonicon', 'type' => 'radio_inline', 'std' => 'download3', 'options' => array('download3' => '<i class="ts-teamicon-download3 ts-font-icon"></i> ' . 'Download 1', 'download4' => '<i class="ts-teamicon-download4 ts-font-icon"></i> ' . 'Download 2', 'download5' => '<i class="ts-teamicon-download5 ts-font-icon"></i> ' . 'Download 3', 'download7' => '<i class="ts-teamicon-download7 ts-font-icon"></i> ' . 'Download 4', 'file4' => '<i class="ts-teamicon-file4 ts-font-icon"></i> ' . 'File 1', 'file14' => '<i class="ts-teamicon-file14 ts-font-icon"></i> ' . 'File 2', 'link' => '<i class="ts-teamicon-link ts-font-icon"></i> ' . 'Link 1', 'link5' => '<i class="ts-teamicon-link5 ts-font-icon"></i> ' . 'Link 2', 'none' => 'None')), array('name' => 'Icon Color:', 'desc' => '', 'id' => $prefixA . 'buttoncolor', 'type' => 'colorpicker', 'default' => '#666666'), array('name' => 'Button Label:', 'std' => 'Download File', 'desc' => '', 'id' => $prefixA . 'buttonlabel', 'type' => 'text_medium'), array('name' => 'Button Tooltip:', 'std' => '', 'desc' => '', 'id' => $prefixA . 'buttontooltip', 'type' => 'text'), array('name' => 'Button Type:', 'std' => array('ts-button-3d'), 'desc' => '', 'id' => $prefixA . 'buttontype', 'type' => 'select', 'options' => $TS_VCSC_Button_Types)));
    // Configure Metabox - Social Networks
    $meta_boxes['ts_vcsc_team_social'] = array('id' => 'ts_vcsc_team_social', 'title' => 'Social Networks', 'pages' => array('ts_team'), 'object_types' => array('ts_team'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => '<i class="ts-teamicon-facebook1 ts-font-icon"></i> Facebook URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'facebook', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-googleplus1 ts-font-icon"></i> Google+ URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'google', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-twitter1 ts-font-icon"></i> Twitter URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'twitter', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-linkedin ts-font-icon"></i> Linkedin URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'linkedin', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-xing3 ts-font-icon"></i> Xing URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'xing', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-envato ts-font-icon"></i> Envato URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'envato', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-rss1 ts-font-icon"></i> RSS URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'rss', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-forrst1 ts-font-icon"></i> Forrst URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'forrst', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-flickr3 ts-font-icon"></i> Flickr URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'flickr', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-instagram ts-font-icon"></i> Instagram URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'instagram', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-picasa1 ts-font-icon"></i> Picasa URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'picasa', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-pinterest1 ts-font-icon"></i> Pinterest URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'pinterest', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-vimeo1 ts-font-icon"></i> Vimeo URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'vimeo', 'type' => 'text_url'), array('name' => '<i class="ts-teamicon-youtube1 ts-font-icon"></i> Youtube URL:', 'std' => '', 'desc' => '', 'id' => $prefixC . 'youtube', 'type' => 'text_url')));
    // Configure Metabox - Skills
    $meta_boxes['ts_vcsc_team_skills'] = array('id' => 'ts_vcsc_team_skills', 'title' => 'Skill Sets', 'pages' => array('ts_team'), 'object_types' => array('ts_team'), 'context' => 'normal', 'priority' => 'low', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Add as many skill sets as you need for this teammate by using the "Add Another Skill" button.', 'desc' => 'Skills can also be re-ordered or removed by using the appropriate buttons.', 'type' => 'title', 'id' => $prefixD . 'title'), array('id' => $prefixD . 'skillset', 'type' => 'group', 'description' => '', 'options' => array('add_button' => 'Add Another Skill', 'remove_button' => 'Remove Skill', 'sortable' => true), 'fields' => array(array('name' => 'Skill Name:', 'id' => 'skillname', 'type' => 'text_medium'), array('name' => 'Skill Value in %:', 'id' => 'skillvalue', 'type' => 'text_medium'), array('name' => 'Skill Color:', 'desc' => '', 'id' => 'skillcolor', 'type' => 'colorpicker', 'default' => '#00afd1')))));
    return $meta_boxes;
}
function TS_VCSC_Timeline_Meta_Boxes(array $meta_boxes)
{
    $prefixA = 'ts_vcsc_timeline_type_';
    $prefixB = 'ts_vcsc_timeline_media_';
    $prefixC = 'ts_vcsc_timeline_event_';
    $prefixD = 'ts_vcsc_timeline_break_';
    $prefixE = 'ts_vcsc_timeline_link_';
    $prefixF = 'ts_vcsc_timeline_tooltip_';
    $prefixG = 'ts_vcsc_timeline_lightbox_';
    $availablePages = TS_VCSC_GetPostOptions(array('post_type' => 'page', 'posts_per_page' => -1));
    $defaultPage = array('name' => 'External Page for Event', 'value' => 'external');
    array_unshift($availablePages, $defaultPage);
    $defaultPage = array('name' => 'No Link for Event', 'value' => '-1');
    array_unshift($availablePages, $defaultPage);
    // Event Type
    $meta_boxes['ts_vcsc_timeline_type'] = array('id' => 'ts_vcsc_timeline_type', 'title' => 'Section Type', 'pages' => array('ts_timeline'), 'object_types' => array('ts_timeline'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Section Type:', 'id' => $prefixA . 'type', 'type' => 'radio_inline', 'default' => 'event', 'desc' => 'Check the type of timeline section you wan to create.', 'options' => array('event' => __('Event', 'cmb2'), 'break' => __('Break', 'cmb2'))), array('name' => 'A "Break" section visually interrupts the timeline column layout and can be used to mark the beginning of a new "era" in the timeline.', 'desc' => 'The standard "Event" section is used to display detailed information about an event within the timeline.', 'type' => 'title', 'id' => $prefixA . 'messageA'), array('name' => 'Border Radius:', 'desc' => 'Select what type of border radius should be applied to the timeline event.', 'id' => $prefixA . 'radiusborder', 'type' => 'select', 'options' => array("ts-timline-css-radius-none" => __('None', "ts_visual_composer_extend"), "ts-timline-css-radius-small" => __('Small Radius', "ts_visual_composer_extend"), "ts-timline-css-radius-medium" => __('Medium Radius', "ts_visual_composer_extend"), "ts-timline-css-radius-large" => __('Large Radius', "ts_visual_composer_extend")), 'default' => 'ts-timline-css-radius-none')));
    // Featured Media
    $meta_boxes['ts_vcsc_timeline_media'] = array('id' => 'ts_vcsc_timeline_media', 'title' => 'Featured Media', 'pages' => array('ts_timeline'), 'object_types' => array('ts_timeline'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Featured Event Section:', 'id' => $prefixB . 'fullwidth', 'type' => 'radio_inline', 'default' => 'false', 'desc' => 'Check the box if you want this timeline event to be a featured event, displayed full width over both columns.', 'options' => array('true' => __('Yes', 'cmb2'), 'false' => __('No', 'cmb2'))), array('name' => 'Featured Media:', 'desc' => 'Select the Featured Media Type for the timeline item', 'id' => $prefixB . 'featuredmedia', 'type' => 'select', 'options' => array("none" => "None", "image" => "Single Image", "slider" => "Image Slider", "youtube_default" => "YouTube Video (Lightbox; Auto Cover)", "youtube_custom" => "YouTube Video (Lightbox; Custom Cover)", "youtube_embed" => "YouTube Video (Direct iFrame)", "dailymotion_default" => "DailyMotion Video (Lightbox; Auto Cover)", "dailymotion_custom" => "DailyMotion Video (Lightbox; Custom Cover)", "dailymotion_embed" => "DailyMotion Video (Direct iFrame)", "vimeo_default" => "Vimeo Video (Lightbox; Auto Cover)", "vimeo_custom" => "Vimeo Video (Lightbox; Custom Cover)", "vimeo_embed" => "Vimeo Video (Direct iFrame)"), 'default' => 'none'), array('name' => 'Select Image:', 'desc' => 'Select an image for the timeline item.', 'id' => $prefixB . 'featuredimage', 'type' => 'file', 'allow' => array('attachment')), array('name' => 'Custom ALT Attribute:', 'desc' => 'Enter a custom value for the ALT attribute for the image, otherwise file name will be set.', 'default' => '', 'id' => $prefixB . 'attributealtvalue', 'type' => 'text_medium'), array('name' => 'Custom Title Attribute:', 'desc' => 'Enter a custom title for the media item, otherwise the timeline section title will be used.', 'default' => '', 'id' => $prefixB . 'attributetitle', 'type' => 'text_medium'), array('name' => 'Select Images:', 'desc' => 'Select the images for the event slider; move images to arrange order in which to display. Use "CTRL" to select multiple image at once.', 'id' => $prefixB . 'featuredslider', 'type' => 'file_list', 'preview_size' => array(50, 50)), array('name' => 'Custom Title Attributes:', 'desc' => 'Enter custom titles for each image; seperate title by line break and use empty lines for images without title.', 'default' => '', 'id' => $prefixB . 'slidertitles', 'type' => 'textarea'), array('name' => 'Open in Lightbox:', 'id' => $prefixB . 'lightboxfeatured', 'type' => 'radio_inline', 'desc' => 'Check the box if you want to apply a lightbox to the image(s).', 'default' => 'true', 'options' => array('true' => __('Yes', 'cmb2'), 'false' => __('No', 'cmb2'))), array('name' => 'Maximum Image Height:', 'desc' => 'Define the maximum height of the images in the slider in pixels; helpful to prevent unnecessary position adjustments of timeline sections due to various image size ratios.', 'default' => '400', 'id' => $prefixB . 'slidermaxheight', 'type' => 'text_small', 'attributes' => array('type' => 'number', 'min' => 1, 'max' => 800)), array('name' => 'YouTube Video URL:', 'desc' => 'Enter the URL for the YouTube video.', 'default' => '', 'id' => $prefixB . 'featuredyoutubeurl', 'type' => 'text_url'), array('name' => 'Show Related Videos:', 'id' => $prefixB . 'featuredyoutuberelated', 'type' => 'radio_inline', 'desc' => 'Check the box if you want to show related videos at the end of the video.', 'default' => 'false', 'options' => array('true' => __('Yes', 'cmb2'), 'false' => __('No', 'cmb2'))), array('name' => 'Autoplay Video:', 'id' => $prefixB . 'featuredyoutubeplay', 'type' => 'radio_inline', 'desc' => 'Check the box if you want to auto-play the video once opened in the lightbox or on pageload (iFrame).', 'default' => 'false', 'options' => array('true' => __('Yes', 'cmb2'), 'false' => __('No', 'cmb2'))), array('name' => 'DailyMotion Video URL:', 'desc' => 'Enter the URL for the DailyMotion video.', 'default' => '', 'id' => $prefixB . 'featureddailymotionurl', 'type' => 'text_url'), array('name' => 'Autoplay Video:', 'id' => $prefixB . 'featureddailymotionplay', 'type' => 'radio_inline', 'desc' => 'Check the box if you want to auto-play the video once opened in the lightbox or on pageload (iFrame).', 'default' => 'false', 'options' => array('true' => __('Yes', 'cmb2'), 'false' => __('No', 'cmb2'))), array('name' => 'Vimeo Video URL:', 'desc' => 'Enter the URL for the Vimeo video.', 'default' => '', 'id' => $prefixB . 'featuredvimeourl', 'type' => 'text_url'), array('name' => 'Autoplay Video:', 'id' => $prefixB . 'featuredvimeoplay', 'type' => 'radio_inline', 'desc' => 'Check the box if you want to auto-play the video once opened in the lightbox or on pageload (iFrame).', 'default' => 'false', 'options' => array('true' => __('Yes', 'cmb2'), 'false' => __('No', 'cmb2'))), array('name' => 'Height Setting:', 'desc' => 'Select what height setting should be applied to the media element (change only if image height does not display correctly).', 'id' => $prefixB . 'featuredmediaheight', 'type' => 'select', 'options' => array("height: 100%;" => __('100% Height Setting', "ts_visual_composer_extend"), "height: auto;" => __('Auto Height Setting', "ts_visual_composer_extend")), 'default' => 'height: 100%;'), array('name' => 'Media Width:', 'desc' => 'Define the media element width in percent (%).', 'default' => '100', 'id' => $prefixB . 'featuredmediawidth', 'type' => 'text_small', 'attributes' => array('type' => 'number', 'min' => 1, 'max' => 100)), array('name' => 'Media Alignment:', 'desc' => 'If not full width, select how the media element should be aligned.', 'id' => $prefixB . 'featuredmediaalign', 'type' => 'select', 'options' => array("center" => __('Center', "ts_visual_composer_extend"), "left" => __('Left', "ts_visual_composer_extend"), "right" => __('Right', "ts_visual_composer_extend")), 'default' => 'center')));
    // Lightbox Settings
    $meta_boxes['ts_vcsc_timeline_lightbox'] = array('id' => 'ts_vcsc_timeline_lightbox', 'title' => 'Lightbox Settings', 'pages' => array('ts_timeline'), 'object_types' => array('ts_timeline'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Create AutoGroup:', 'id' => $prefixG . 'lightboxgroup', 'type' => 'radio_inline', 'default' => 'true', 'desc' => 'Switch the toggle if you want the plugin to group this image with all other non-gallery images on the page.', 'options' => array('true' => __('Yes', 'cmb2'), 'false' => __('No', 'cmb2'))), array('name' => 'Group Name:', 'desc' => 'Enter a custom group name to manually build group with other non-gallery items.', 'default' => '', 'id' => $prefixG . 'lightboxgroupname', 'type' => 'text_medium'), array('name' => 'Transition Effect:', 'desc' => 'Select the transition effect to be used for the image in the lightbox.', 'id' => $prefixG . 'lightboxeffect', 'type' => 'select', 'options' => array("random" => __('Random', "ts_visual_composer_extend"), "swipe" => __('Swipe', "ts_visual_composer_extend"), "fade" => __('Fade & Swipe', "ts_visual_composer_extend"), "scale" => __('Scale', "ts_visual_composer_extend"), "slideUp" => __('Slide Up', "ts_visual_composer_extend"), "slideDown" => __('Slide Down', "ts_visual_composer_extend"), "flip" => __('Flip', "ts_visual_composer_extend"), "skew" => __('Skew', "ts_visual_composer_extend"), "bounceUp" => __('Bounce Up', "ts_visual_composer_extend"), "bounceDown" => __('Bounce Down', "ts_visual_composer_extend"), "breakIn" => __('Break In', "ts_visual_composer_extend"), "rotateIn" => __('Rotate In', "ts_visual_composer_extend"), "rotateOut" => __('Rotate Out', "ts_visual_composer_extend"), "hangLeft" => __('Hang Left', "ts_visual_composer_extend"), "hangRight" => __('Hang Right', "ts_visual_composer_extend"), "cicleUp" => __('Cycle Up', "ts_visual_composer_extend"), "cicleDown" => __('Cycle Down', "ts_visual_composer_extend"), "zoomIn" => __('Zoom In', "ts_visual_composer_extend"), "throwIn" => __('Throw In', "ts_visual_composer_extend"), "fall" => __('Fall', "ts_visual_composer_extend"), "jump" => __('Jump', "ts_visual_composer_extend")), 'default' => 'random'), array('name' => 'Backlight Effect:', 'desc' => 'Select the backlight effect for the image.', 'id' => $prefixG . 'lightboxbacklight', 'type' => 'select', 'options' => array("auto" => __('Auto Color', "ts_visual_composer_extend"), "custom" => __('Custom Color', "ts_visual_composer_extend"), "hideit" => __('No Backlight (only for simple Black Lightbox Overlay)', "ts_visual_composer_extend")), 'default' => 'auto'), array('name' => 'Custom Backlight Color:', 'desc' => 'Define the backlight color for the lightbox image.', 'id' => $prefixG . 'lightboxbacklightcolor', 'type' => 'colorpicker', 'default' => '#ffffff', 'repeatable' => false)));
    // Event Content
    $meta_boxes['ts_vcsc_timeline_event'] = array('id' => 'ts_vcsc_timeline_event', 'title' => 'Event Content', 'pages' => array('ts_timeline'), 'object_types' => array('ts_timeline'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Event Date / Time:', 'desc' => 'Enter a date and/or time for the timeline event.', 'default' => '', 'id' => $prefixC . 'eventdatetext', 'type' => 'text_medium'), array('name' => 'Date / Time Icon:', 'desc' => 'Select the icon that should be shown alongside the date / time.', 'id' => $prefixC . 'eventdateicon', 'type' => 'radio_inline', 'std' => 'none', 'options' => array('clock' => '<i class="dashicons dashicons-clock ts-post-font-icon"></i> ' . 'Clock', 'calendar' => '<i class="dashicons dashicons-calendar ts-post-font-icon"></i> ' . 'Calendar', 'info' => '<i class="dashicons dashicons-info ts-post-font-icon"></i> ' . 'Info', 'location' => '<i class="dashicons dashicons-location ts-post-font-icon"></i> ' . 'Pin', 'heart' => '<i class="dashicons dashicons-heart ts-post-font-icon"></i> ' . 'Heart', 'megaphone' => '<i class="dashicons dashicons-megaphone ts-post-font-icon"></i> ' . 'Megaphone', 'art' => '<i class="dashicons dashicons-art ts-post-font-icon"></i> ' . 'Art', 'none' => 'None')), array('name' => 'Event Title:', 'desc' => 'Enter the title for the timeline event.', 'default' => '', 'id' => $prefixC . 'eventtitletext', 'type' => 'text'), array('name' => 'Title Alignment:', 'desc' => 'Select how the title in the timeline event should be aligned.', 'id' => $prefixC . 'eventtitlealign', 'type' => 'select', 'options' => array("center" => __('Center', "ts_visual_composer_extend"), "left" => __('Left', "ts_visual_composer_extend"), "right" => __('Right', "ts_visual_composer_extend"), "justify" => __('Justify', "ts_visual_composer_extend")), 'default' => 'center'), array('name' => 'Title Color:', 'desc' => 'Define the font color for the title in the timeline item.', 'id' => $prefixC . 'eventtitlecolor', 'type' => 'colorpicker', 'default' => '#7c7979', 'repeatable' => false), array('name' => 'Content', 'desc' => 'Enter the main content for the timeline event.', 'id' => $prefixC . 'eventcontent', 'type' => 'wysiwyg', 'options' => array('wpautop' => true, 'media_buttons' => false, 'textarea_name' => $prefixC . 'eventcontent', 'textarea_rows' => 10, 'tabindex' => '', 'editor_css' => '', 'editor_class' => '', 'teeny' => false, 'dfw' => false, 'tinymce' => true, 'quicktags' => true)), array('name' => 'You will be able to assign a font icon to the event when adding the event to a specific timeline in Visual Composer.', 'desc' => 'Aside from selecting an icon, you will also be able to define its color when adding this event to a timeline.', 'type' => 'title', 'id' => $prefixC . 'messageC')));
    // Break Content
    $meta_boxes['ts_vcsc_timeline_break'] = array('id' => 'ts_vcsc_timeline_break', 'title' => 'Break Content', 'pages' => array('ts_timeline'), 'object_types' => array('ts_timeline'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Break Title:', 'desc' => 'Enter the title for the timeline break.', 'default' => '', 'id' => $prefixD . 'breaktitletext', 'type' => 'text'), array('name' => 'Title Alignment:', 'desc' => 'Select how the title in the timeline break should be aligned.', 'id' => $prefixC . 'breaktitlealign', 'type' => 'select', 'options' => array("center" => __('Center', "ts_visual_composer_extend"), "left" => __('Left', "ts_visual_composer_extend"), "right" => __('Right', "ts_visual_composer_extend"), "justify" => __('Justify', "ts_visual_composer_extend")), 'default' => 'center'), array('name' => 'Title Color:', 'desc' => 'Define the font color for the title in the timeline item.', 'id' => $prefixD . 'breaktitlecolor', 'type' => 'colorpicker', 'default' => '#7c7979', 'repeatable' => false), array('name' => 'Break Content:', 'desc' => 'Enter the main content for the timeline break.', 'id' => $prefixD . 'breakcontent', 'type' => 'wysiwyg', 'options' => array('wpautop' => true, 'media_buttons' => false, 'textarea_name' => $prefixD . 'breakcontent', 'textarea_rows' => 10, 'tabindex' => '', 'editor_css' => '', 'editor_class' => '', 'teeny' => false, 'dfw' => false, 'tinymce' => true, 'quicktags' => true)), array('name' => 'Background Color:', 'desc' => 'Define the background color for the break section.', 'id' => $prefixD . 'breakbackground', 'type' => 'colorpicker', 'default' => '#ededed', 'repeatable' => false), array('name' => 'Make Full Width:', 'id' => $prefixD . 'breakfull', 'type' => 'radio_inline', 'default' => 'false', 'desc' => 'Select if the break section should be made full width (both columns), or centered at half width.', 'options' => array('true' => __('Yes', 'cmb2'), 'false' => __('No', 'cmb2'))), array('name' => 'You will be able to assign a font icon to the break when adding the break to a specific timeline in Visual Composer.', 'desc' => 'Aside from selecting an icon, you will also be able to define its color when adding this break to a timeline.', 'type' => 'title', 'id' => $prefixD . 'messageD')));
    // Event Link
    $meta_boxes['ts_vcsc_timeline_link'] = array('id' => 'ts_vcsc_timeline_link', 'title' => 'Event Link', 'pages' => array('ts_timeline'), 'object_types' => array('ts_timeline'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Event Page:', 'desc' => 'If existing, select a page that is dedicated to this particular event.', 'id' => $prefixE . 'dedicatedpage', 'type' => 'select', 'options' => $availablePages, 'std' => '-1'), array('name' => '<i class="dashicons dashicons-admin-links ts-post-font-icon"></i> External URL:', 'std' => '', 'desc' => '', 'id' => $prefixE . 'dedicatedlink', 'type' => 'text_url'), array('name' => 'Open in New Tab/Window:', 'id' => $prefixE . 'dedicatedtarget', 'type' => 'radio_inline', 'desc' => 'Check how the link should be opened.', 'default' => 'true', 'options' => array('true' => __('Yes', 'cmb2'), 'false' => __('No', 'cmb2'))), array('name' => 'Button Icon:', 'desc' => 'Select the icon that should be shown alongside the button label.', 'id' => $prefixE . 'dedicatedicon', 'type' => 'radio_inline', 'std' => 'none', 'options' => array('visibility' => '<i class="dashicons dashicons-visibility ts-post-font-icon"></i> ' . 'Eye', 'info' => '<i class="dashicons dashicons-info ts-post-font-icon"></i> ' . 'Info', 'admin-links' => '<i class="dashicons dashicons-admin-links ts-post-font-icon"></i> ' . 'Link', 'search' => '<i class="dashicons dashicons-search ts-post-font-icon"></i> ' . 'Search', 'lightbulb' => '<i class="dashicons dashicons-lightbulb ts-post-font-icon"></i> ' . 'Lightbulb', 'admin-network' => '<i class="dashicons dashicons-admin-network ts-post-font-icon"></i> ' . 'Key', 'book' => '<i class="dashicons dashicons-book ts-post-font-icon"></i> ' . 'Boook', 'awards' => '<i class="dashicons dashicons-awards ts-post-font-icon"></i> ' . 'Award', 'none' => 'None')), array('name' => 'Icon Color:', 'desc' => '', 'id' => $prefixE . 'dedicatedcolor', 'type' => 'colorpicker', 'default' => '#ffffff'), array('name' => 'Button Label:', 'std' => 'Read More', 'desc' => '', 'id' => $prefixE . 'dedicatedlabel', 'type' => 'text_medium'), array('name' => 'Button Tooltip:', 'std' => '', 'desc' => '', 'id' => $prefixE . 'dedicatedtooltip', 'type' => 'text'), array('name' => 'Button Width:', 'desc' => 'Define the button width in percent (%) of the available space.', 'default' => '100', 'id' => $prefixE . 'dedicatedwidth', 'type' => 'text_small', 'attributes' => array('type' => 'number', 'min' => 1, 'max' => 100)), array('name' => 'Button Alignment:', 'desc' => 'Select how the link button should be aligned.', 'id' => $prefixE . 'dedicatedalign', 'type' => 'select', 'options' => array("center" => __('Center', "ts_visual_composer_extend"), "left" => __('Left', "ts_visual_composer_extend"), "right" => __('Right', "ts_visual_composer_extend")), 'default' => 'center'), array('name' => 'Button Default Style:', 'desc' => 'Select the default button style for the "Read More" Link.', 'id' => $prefixE . 'dedicateddefault', 'type' => 'select', 'options' => array("ts-dual-buttons-color-default" => __('No Style', "ts_visual_composer_extend"), "ts-dual-buttons-color-sun-flower" => __('Sun Flower Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-orange-flat" => __('Orange Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-carrot-flat" => __('Carot Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-pumpkin-flat" => __('Pumpkin Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-alizarin-flat" => __('Alizarin Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-pomegranate-flat" => __('Pomegranate Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-turquoise-flat" => __('Turquoise Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-green-sea-flat" => __('Green Sea Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-emerald-flat" => __('Emerald Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-nephritis-flat" => __('Nephritis Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-peter-river-flat" => __('Peter River Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-belize-hole-flat" => __('Belize Hole Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-amethyst-flat" => __('Amethyst Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-wisteria-flat" => __('Wisteria Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-wet-asphalt-flat" => __('Wet Asphalt Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-midnight-blue-flat" => __('Midnight Blue Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-clouds-flat" => __('Clouds Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-silver-flat" => __('Silver Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-concrete-flat" => __('Concrete Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-asbestos-flat" => __('Asbestos Flat', "ts_visual_composer_extend"), "ts-dual-buttons-color-graphite-flat" => __('Graphite Flat', "ts_visual_composer_extend")), 'default' => ''), array('name' => 'Button Hover Style:', 'desc' => 'Select the hover button style for the "Read More" Link.', 'id' => $prefixE . 'dedicatedhover', 'type' => 'select', 'options' => array("ts-dual-buttons-preview-default ts-dual-buttons-hover-default" => __('No Style', "ts_visual_composer_extend"), "ts-dual-buttons-preview-sun-flower ts-dual-buttons-hover-sun-flower" => __('Sun Flower Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-orange-flat ts-dual-buttons-hover-orange-flat" => __('Orange Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-carrot-flat ts-dual-buttons-hover-carrot-flat" => __('Carot Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-pumpkin-flat ts-dual-buttons-hover-pumpkin-flat" => __('Pumpkin Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-alizarin-flat ts-dual-buttons-hover-alizarin-flat" => __('Alizarin Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-pomegranate-flat ts-dual-buttons-hover-pomegranate-flat" => __('Pomegranate Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-turquoise-flat ts-dual-buttons-hover-turquoise-flat" => __('Turquoise Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-green-sea-flat ts-dual-buttons-hover-green-sea-flat" => __('Green Sea Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-emerald-flat ts-dual-buttons-hover-emerald-flat" => __('Emerald Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-nephritis-flat ts-dual-buttons-hover-nephritis-flat" => __('Nephritis Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-peter-river-flat ts-dual-buttons-hover-peter-river-flat" => __('Peter River Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-belize-hole-flat ts-dual-buttons-hover-belize-hole-flat" => __('Belize Hole Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-amethyst-flat ts-dual-buttons-hover-amethyst-flat" => __('Amethyst Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-wisteria-flat ts-dual-buttons-hover-wisteria-flat" => __('Wisteria Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-wet-asphalt-flat ts-dual-buttons-hover-wet-asphalt-flat" => __('Wet Asphalt Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-midnight-blue-flat ts-dual-buttons-hover-midnight-blue-flat" => __('Midnight Blue Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-clouds-flat ts-dual-buttons-hover-clouds-flat" => __('Clouds Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-silver-flat ts-dual-buttons-hover-silver-flat" => __('Silver Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-concrete-flat ts-dual-buttons-hover-concrete-flat" => __('Concrete Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-asbestos-flat ts-dual-buttons-hover-asbestos-flat" => __('Asbestos Flat', "ts_visual_composer_extend"), "ts-dual-buttons-preview-graphite-flat ts-dual-buttons-hover-graphite-flat" => __('Graphite Flat', "ts_visual_composer_extend")), 'default' => '')));
    // Event Tooltip
    $meta_boxes['ts_vcsc_timeline_tooltip'] = array('id' => 'ts_vcsc_timeline_tooltip', 'title' => 'Event Tooltip', 'pages' => array('ts_timeline'), 'object_types' => array('ts_timeline'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'If you want to provide some more information, but do not want to show it in the main content, you can use the optional tooltip for the timeline section.', 'desc' => 'The tooltip will be applied to the overall timeline section.', 'type' => 'title', 'id' => $prefixF . 'messageF'), array('name' => 'Tooltip Content:', 'desc' => 'Enter a tooltip for the timeline event. Basic HTML code can be used for styling.', 'default' => '', 'id' => $prefixF . 'tooltiptext', 'type' => 'textarea_code'), array('name' => 'Tooltip Position:', 'desc' => 'Select the tooltip position.', 'id' => $prefixF . 'tooltipposition', 'type' => 'select', 'options' => array("top" => __('Top', "ts_visual_composer_extend"), "bottom" => __('Bottom', "ts_visual_composer_extend")), 'default' => 'top'), array('name' => 'Tooltip Style:', 'desc' => 'Select the tooltip style.', 'id' => $prefixF . 'tooltipstyle', 'type' => 'select', 'options' => array("black" => __('Black', "ts_visual_composer_extend"), "gray" => __('Gray', "ts_visual_composer_extend"), "green" => __('Green', "ts_visual_composer_extend"), "blue" => __('Blue', "ts_visual_composer_extend"), "red" => __('Red', "ts_visual_composer_extend"), "orange" => __('Orange', "ts_visual_composer_extend"), "yellow" => __('Yellow', "ts_visual_composer_extend"), "purple" => __('Purple', "ts_visual_composer_extend"), "pink" => __('Pink', "ts_visual_composer_extend"), "white" => __('White', "ts_visual_composer_extend")), 'default' => 'black')));
    return $meta_boxes;
}
function TS_VCSC_Logo_Meta_Boxes(array $meta_boxes)
{
    $prefixA = 'ts_vcsc_logo_basic_';
    $prefixB = 'ts_vcsc_logo_social_';
    $availablePages = TS_VCSC_GetPostOptions(array('post_type' => 'page', 'posts_per_page' => -1));
    $defaultPage = array('name' => 'No Page for Logo', 'value' => '-1');
    array_unshift($availablePages, $defaultPage);
    // Configure Metabox - Basic Information
    $meta_boxes['ts_vcsc_team_basic'] = array('id' => 'ts_vcsc_logo_basic', 'title' => 'Basic Information', 'pages' => array('ts_logos'), 'object_types' => array('ts_logos'), 'context' => 'normal', 'priority' => 'high', 'local_images' => false, 'use_with_theme' => false, 'show_names' => true, 'fields' => array(array('name' => 'Use the "Featured Image" section to apply the logo itself to this post.', 'desc' => 'The "TS Logo" post type can also be used to create portfolios.', 'type' => 'title', 'id' => $prefixA . 'title'), array('name' => 'Title / Name:', 'std' => '', 'desc' => 'Provide a title / name for the logo; otherwise post title will be used.', 'id' => $prefixA . 'name', 'type' => 'text'), array('name' => '<i class="ts-teamicon-link ts-font-icon"></i> Link URL:', 'std' => '', 'desc' => 'Provide a link to another site this logo or portfolio item is related to.', 'id' => $prefixA . 'link', 'type' => 'text_url')));
    return $meta_boxes;
}