예제 #1
0
/**
 * Build the custom settings & update OptionTree.
 */
function ts_custom_theme_options()
{
    /**
     * Get a copy of the saved settings array. 
     */
    $saved_settings = get_option('option_tree_settings', array());
    $user_sidebars = ot_get_option('user_sidebars');
    $sidebar_choices = array();
    $sidebar_choices[] = array('label' => __('Main', 'framework'), 'value' => 'main', 'src' => '');
    if (is_array($user_sidebars)) {
        foreach ($user_sidebars as $sidebar) {
            $sidebar_choices[] = array('label' => $sidebar['title'], 'value' => sanitize_title($sidebar['title']), 'src' => '');
        }
    }
    /**
     * Custom settings array that will eventually be 
     * passes to the OptionTree Settings API Class.
     */
    $custom_settings = array('sections' => array(array('id' => 'general_settings', 'title' => __('General Settings', 'framework')), array('id' => 'fonts', 'title' => __('Fonts', 'framework')), array('id' => 'elements_color', 'title' => __('Elements Color', 'framework')), array('id' => 'pages', 'title' => __('Pages', 'framework')), array('id' => 'sidebars', 'title' => __('Sidebars', 'framework')), array('id' => 'integration', 'title' => __('Integration', 'framework')), array('id' => 'social', 'title' => __('Contacts & Social', 'framework')), array('id' => 'contact_form', 'title' => __('Contact Form', 'framework')), array('id' => 'translations', 'title' => __('Translations', 'framework'))), 'settings' => array(array('id' => 'body_class', 'label' => __('Body class', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Select', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => array(array('value' => 'w1170', 'label' => __('Wide 1170px', 'framework'), 'src' => ''), array('value' => 'w960', 'label' => __('Wide 960px', 'framework'), 'src' => ''), array('value' => 'b1170', 'label' => __('Boxed 1170px', 'framework'), 'src' => ''), array('value' => 'b960', 'label' => __('Boxed 960px', 'framework'), 'src' => ''))), array('id' => 'logo_url', 'label' => __('Custom logo', 'framework'), 'desc' => __('Enter full URL of your logo image or choose upload button', 'framework'), 'std' => '', 'type' => 'upload', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'alternative_logo_url', 'label' => __('Alternative custom logo for main menu style 4', 'framework'), 'desc' => __('Enter full URL of your logo image or choose upload button', 'framework'), 'std' => '', 'type' => 'upload', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'sticky_logo_url', 'label' => __('Sticky custom logo', 'framework'), 'desc' => __('Enter full URL of your logo image or choose upload button', 'framework'), 'std' => '', 'type' => 'upload', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'show_sticky_menu', 'label' => __('Show sticky menu', 'framework'), 'desc' => __('Show or hide sticky menu', 'framework'), 'std' => '', 'type' => 'Radio', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => 'switcher-on', 'choices' => array(array('value' => 'yes', 'label' => __('Yes', 'framework'), 'src' => ''), array('value' => 'no', 'label' => __('No', 'framework'), 'src' => ''))), array('id' => 'logo_top_margin', 'label' => __('Logo top margin', 'framework'), 'desc' => __('Enter number to set the top space of the logo', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'logo_left_margin', 'label' => __('Logo left margin', 'framework'), 'desc' => __('Enter number to set the left space of the logo', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'logo_bottom_margin', 'label' => __('Logo bottom margin', 'framework'), 'desc' => __('Enter number to set the bottom space of the logo', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'favicon', 'label' => __('Favicon', 'framework'), 'desc' => __('Enter Full URL of your favicon image or choose upload button', 'framework'), 'std' => '', 'type' => 'upload', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'background_color', 'label' => __('Background color', 'framework'), 'desc' => __('Enabled only when boxed layout is selected', 'framework'), 'std' => '', 'type' => 'colorpicker', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'background_pattern', 'label' => __('Background pattern', 'framework'), 'desc' => __('Enabled only when boxed layout is selected', 'framework'), 'std' => '', 'type' => 'Select', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ts_get_background_patterns()), array('id' => 'background_image', 'label' => __('Background image', 'framework'), 'desc' => __('Choose "Image" option on "Background pattern" list and boxed layout to enable background', 'framework'), 'std' => '', 'type' => 'Upload', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'background_repeat', 'label' => __('Background repeat', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Select', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => array(array('value' => 'repeat', 'label' => __('Repeat horizontally & vertically', 'framework'), 'src' => ''), array('value' => 'repeat-x', 'label' => __('Repeat horizontally', 'framework'), 'src' => ''), array('value' => 'repeat-y', 'label' => __('Repeat vertically', 'framework'), 'src' => ''), array('value' => 'no-repeat', 'label' => __('No repeat', 'framework'), 'src' => ''))), array('id' => 'background_position', 'label' => __('Background position', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Select', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => array(array('value' => 'left', 'label' => __('Left', 'framework'), 'src' => ''), array('value' => 'center', 'label' => __('Center', 'framework'), 'src' => ''), array('value' => 'right', 'label' => __('Right', 'framework'), 'src' => ''))), array('id' => 'background_attachment', 'label' => __('Background attachment', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Select', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => array(array('value' => 'scroll', 'label' => __('Scroll', 'framework'), 'src' => ''), array('value' => 'fixed', 'label' => __('Fixed', 'framework'), 'src' => ''))), array('id' => 'background_size', 'label' => __('Background size', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Select', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => array(array('value' => 'original', 'label' => __('Original', 'framework'), 'src' => ''), array('value' => 'browser', 'label' => __('Fits to browser size', 'framework'), 'src' => ''))), array('id' => 'default_title_background', 'label' => __('Default title background', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Upload', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'header_phone', 'label' => __('Header phone', 'framework'), 'desc' => __('Main menu "Style 2" and "Style 3" only, works only with preheader enabled for  "Style 2"', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'header_email', 'label' => __('Header email', 'framework'), 'desc' => __('Main menu "Style 3" only', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'footer_text', 'label' => __('Footer text', 'framework'), 'desc' => __('You can add copyright text here.', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'main_menu_style', 'label' => __('Main menu style', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Select', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ts_get_header_styles()), array('id' => 'show_preheader', 'label' => __('Show preheader', 'framework'), 'desc' => __('Show or hide preheader (main menu "Style 2" only)', 'framework'), 'std' => '', 'type' => 'Radio', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => 'switcher-on', 'choices' => array(array('value' => 'yes', 'label' => __('Yes', 'framework'), 'src' => ''), array('value' => 'no', 'label' => __('No', 'framework'), 'src' => ''))), array('id' => 'show_breadcrumbs', 'label' => __('Show breadcrumbs', 'framework'), 'desc' => __('Show or hide breadcrumbs', 'framework'), 'std' => '', 'type' => 'Radio', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => 'switcher-on', 'choices' => array(array('value' => 'yes', 'label' => __('Yes', 'framework'), 'src' => ''), array('value' => 'no', 'label' => __('No', 'framework'), 'src' => ''))), array('id' => 'show_search_nav', 'label' => __('Show search icon in navigation', 'framework'), 'desc' => __('Show or hide search form right to the main navigation', 'framework'), 'std' => '', 'type' => 'Radio', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => 'switcher-on', 'choices' => array(array('value' => 'yes', 'label' => __('Yes', 'framework'), 'src' => ''), array('value' => 'no', 'label' => __('No', 'framework'), 'src' => ''))), array('id' => 'retina_support', 'label' => __('Retina support', 'framework'), 'desc' => __('If enabled all images should be uploaded 2x larger. Requires more server resources if enabled.', 'framework'), 'std' => '', 'type' => 'Radio', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => 'switcher-off', 'choices' => array(array('value' => 'disabled', 'label' => __('Disabled', 'framework'), 'src' => ''), array('value' => 'enabled', 'label' => __('Enabled', 'framework'), 'src' => ''))), array('id' => 'control_panel', 'label' => __('Show control panel', 'framework'), 'desc' => __('Shows the Control Panel on your homepage if enabled.', 'framework'), 'std' => '', 'type' => 'select', 'section' => 'general_settings', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => array(array('value' => 'disabled', 'label' => __('Disabled', 'framework'), 'src' => ''), array('value' => 'enabled_admin', 'label' => __('Enabled for administrator', 'framework'), 'src' => ''), array('value' => 'enabled_all', 'label' => __('Enabled for all', 'framework'), 'src' => ''))), array('id' => 'title_font', 'label' => __('Title font', 'framework'), 'desc' => __('Font style for page title', 'framework'), 'std' => '', 'type' => 'select', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ts_get_font_choices()), array('id' => 'title_font_size', 'label' => __('Title font size', 'framework'), 'desc' => __('The size of the page title in pixels', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'content_font', 'label' => __('Content font', 'framework'), 'desc' => __('Font style for content', 'framework'), 'std' => '', 'type' => 'select', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ts_get_font_choices()), array('id' => 'content_font_size', 'label' => __('Content font size', 'framework'), 'desc' => __('The size of the page content in pixels', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'menu_font', 'label' => __('Menu font', 'framework'), 'desc' => __('Font style for menu items', 'framework'), 'std' => '', 'type' => 'select', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ts_get_font_choices()), array('id' => 'menu_font_size', 'label' => __('Menu font size', 'framework'), 'desc' => __('The size of the menu elements in pixels', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'headers_font', 'label' => __('Header font', 'framework'), 'desc' => __('Font style for all headers (H1, H2 etc.)', 'framework'), 'std' => '', 'type' => 'select', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ts_get_font_choices()), array('id' => 'h1_size', 'label' => __('H1 font size', 'framework'), 'desc' => __('The size of H1 elements in pixels', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'h2_size', 'label' => __('H2 font size', 'framework'), 'desc' => __('The size of H2 elements in pixels', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'h3_size', 'label' => __('H3 font size', 'framework'), 'desc' => __('The size of H3 elements in pixels', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'h4_size', 'label' => __('H4 font size', 'framework'), 'desc' => __('The size of H4 elements in pixels', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'h5_size', 'label' => __('H5 font size', 'framework'), 'desc' => __('The size of H5 elements in pixels', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'h6_size', 'label' => __('H6 font size', 'framework'), 'desc' => __('The size of H6 elements in pixels', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'fonts', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'main_color', 'label' => __('Main color', 'framework'), 'desc' => __('Main theme color', 'framework'), 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'main_body_background_color', 'label' => __('Main body background color', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'main_body_text_color', 'label' => __('Main body text color', 'framework'), 'desc' => __('Main body text color, used for post content.', 'framework'), 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'headers_text_color', 'label' => __('Headers text color', 'framework'), 'desc' => __('Color of all headers', 'framework'), 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'header_background_color', 'label' => __('Header background color', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'page_title_background_color', 'label' => __('Page title background color', 'framework'), 'desc' => __('Background color of the page title', 'framework'), 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'menu_background_color', 'label' => __('Menu background color', 'framework'), 'desc' => __('Background color of the menu (header style 1, 2 and 3 only)', 'framework'), 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'menu_background_transparency', 'label' => __('Menu background transparency', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Select', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ts_get_menu_background_transparency_values()), array('id' => 'sub_menu_background_color', 'label' => __('Sub menu background color', 'framework'), 'desc' => __('Background color of the sub menu item', 'framework'), 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'body_background_color_1', 'label' => __('Home background color 1', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'body_background_color_2', 'label' => __('Home background color 2', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'preheader_background_color', 'label' => __('Preheader background color', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'preheader_text_color', 'label' => __('Preheader text color', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'footer_background_color', 'label' => __('Footer background color', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'footer_headers_color', 'label' => __('Footer headers color', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'footer_main_text_color', 'label' => __('Footer main text color', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'copyrights_bar_background', 'label' => __('Copyrights bar background color', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'copyrights_bar_text_color', 'label' => __('Copyrights bar text color', 'framework'), 'desc' => '', 'std' => '', 'type' => 'colorpicker', 'section' => 'elements_color', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => ''), array('id' => 'portfolio_page', 'label' => __('Portfolio page', 'framework'), 'desc' => '', 'std' => '', 'type' => 'page-select', 'section' => 'pages', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'show_related_projects_on_portfolio_single', 'label' => __('Related projects', 'framework'), 'desc' => __('Show related projects on a single post page', 'framework'), 'std' => '', 'type' => 'Radio', 'section' => 'pages', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => 'switcher-on', 'choices' => array(array('value' => 'yes', 'label' => __('Yes', 'framework'), 'src' => ''), array('value' => 'no', 'label' => __('No', 'framework'), 'src' => ''))), array('id' => 'portfolio_page_related_projects_header', 'label' => __('Portfolio page - related projects header', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'pages', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'portfolio_page_related_projects_description', 'label' => __('Portfolio page - related projects description', 'framework'), 'desc' => '', 'std' => '', 'type' => 'textarea', 'section' => 'pages', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'google_analytics_id', 'label' => __('Google Analytics ID', 'framework'), 'desc' => __('Your Google Analytics ID eg. UA-1xxxxx8-1', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'integration', 'rows' => '10', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'scripts_header', 'label' => __('Header scripts', 'framework'), 'desc' => __('Scripts will be added to the header. Don\'t forget to add &lsaquo;script&rsaquo;;...&lsaquo;/script&rsaquo; tags.', 'framework'), 'std' => '', 'type' => 'textarea-simple', 'section' => 'integration', 'rows' => '10', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'scripts_footer', 'label' => __('Footer scripts', 'framework'), 'desc' => __('Scripts will be added to the footer. You can use this for Google Analytics etc. Don\'t forget to add &lsaquo;script&rsaquo;...&lsaquo;/script&rsaquo; tags.', 'framework'), 'std' => '', 'type' => 'textarea-simple', 'section' => 'integration', 'rows' => '10', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'custom_css', 'label' => __('Custom CSS', 'framework'), 'desc' => __('Please add css classes only', 'framework'), 'std' => '', 'type' => 'textarea-simple', 'section' => 'integration', 'rows' => '10', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'active_social_items', 'label' => __('Actived items', 'framework'), 'desc' => __('Items available on your website', 'framework'), 'std' => '', 'type' => 'checkbox', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => array(array('value' => 'twitter', 'label' => __('Twitter', 'framework'), 'src' => ''), array('value' => 'facebook', 'label' => __('Facebook', 'framework'), 'src' => ''), array('value' => 'skype', 'label' => __('Skype', 'framework'), 'src' => ''), array('value' => 'dribble', 'label' => __('Dribble', 'framework'), 'src' => ''), array('value' => 'youtube', 'label' => __('Youtube', 'framework'), 'src' => ''), array('value' => 'pinterest', 'label' => __('Pinterest', 'framework'), 'src' => ''), array('value' => 'tumblr', 'label' => __('Tumblr', 'framework'), 'src' => ''), array('value' => 'google_plus', 'label' => __('Google+', 'framework'), 'src' => ''), array('value' => 'linkedin', 'label' => __('LinkedIn', 'framework'), 'src' => ''))), array('id' => 'facebook_url', 'label' => __('Facebook URL', 'framework'), 'desc' => __('URL to your Facebook account', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'twitter_url', 'label' => __('Twitter URL', 'framework'), 'desc' => __('URL to your Twitter account', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'skype_username', 'label' => __('Skype username', 'framework'), 'desc' => __('Your Skype username', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'dribble_url', 'label' => __('Dribble URL', 'framework'), 'desc' => __('URL to your Dribble account', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'youtube_url', 'label' => __('Youtube URL', 'framework'), 'desc' => __('URL to your Youtube account', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'pinterest_url', 'label' => __('Pinterest URL', 'framework'), 'desc' => __('URL to your Pinterest account', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'tumblr_url', 'label' => __('Tumblr URL', 'framework'), 'desc' => __('URL to your Tumblr account', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'google_plus_url', 'label' => __('Google+ URL', 'framework'), 'desc' => __('URL to your Google+ account', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'linkedin_url', 'label' => __('LinkedIn URL', 'framework'), 'desc' => __('URL to your LinkedIn account', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'twitter_account_recent_tweets', 'label' => __('Twitter URL', 'framework'), 'desc' => __('Your Twitter URL to use in the footer', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'twitter_consumer_key', 'label' => __('Consumer key', 'framework'), 'desc' => __("Consumer key from your application's OAuth settings.", 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'twitter_consumer_secret', 'label' => __('Consumer secret', 'framework'), 'desc' => __("Consumer secret from your application's OAuth settings.", 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'twitter_user_token', 'label' => __('User token', 'framework'), 'desc' => __("'User token from your application's OAuth settings.", 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'twitter_token_secret', 'label' => __('Access token secret', 'framework'), 'desc' => __("'Access token secret from your application's OAuth settings.", 'framework'), 'std' => '', 'type' => 'text', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('id' => 'show_recent_tweet_footer_show_errors', 'label' => __('Show recent tweets authentication errors', 'framework'), 'desc' => __('Use this option if you test your setttings only.', 'framework'), 'std' => '', 'type' => 'Radio', 'section' => 'social', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => 'switcher-off', 'choices' => array(array('value' => 'no', 'label' => __('No', 'framework'), 'src' => ''), array('value' => 'yes', 'label' => __('Yes', 'framework'), 'src' => ''))), array('id' => 'contact_form_email', 'label' => __('Email', 'framework'), 'desc' => __('Email to receive messages from contact forms', 'framework'), 'std' => '', 'type' => 'text', 'section' => 'contact_form', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => ''), array('label' => 'Sidebars', 'id' => 'user_sidebars', 'type' => 'list-item', 'desc' => __('List of user defined sidebars. Please use "save changes" button after adding or editing sidebars.', 'framework'), 'settings' => array(array('label' => __('Description', 'framework'), 'id' => 'user_sidebar_description', 'type' => 'text', 'desc' => '', 'std' => '', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '')), 'std' => '', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'section' => 'sidebars'), array('id' => 'woocomerce_sidebar', 'label' => __('WooCommerce sidebar', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Select', 'section' => 'sidebars', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'choices' => $sidebar_choices), array('id' => 'enable_translations', 'label' => __('Enable translations', 'framework'), 'desc' => '', 'std' => '', 'type' => 'Radio', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => 'switcher-off', 'choices' => array(array('value' => 'no', 'label' => __('No', 'framework'), 'src' => ''), array('value' => 'yes', 'label' => __('Yes', 'framework'), 'src' => ''))), array('id' => 'translator_' . sanitize_title('%s Comments'), 'label' => __('%s Comments', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => '%s Comments'), array('id' => 'translator_' . sanitize_title('1 Comment'), 'label' => __('1 Comment', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => '1 Comment'), array('id' => 'translator_' . sanitize_title('1 hour ago'), 'label' => __('1 hour ago', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => '1 hour ago'), array('id' => 'translator_' . sanitize_title('1 minute ago'), 'label' => __('1 minute ago', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => '1 minute ago'), array('id' => 'translator_' . sanitize_title('1 year ago'), 'label' => __('1 year ago', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => '1 year ago'), array('id' => 'translator_' . sanitize_title('404 Page Not Found'), 'label' => __('404 Page Not Found', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => '404 Page Not Found'), array('id' => 'translator_' . sanitize_title('About the author'), 'label' => __('About the author', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'About the author'), array('id' => 'translator_' . sanitize_title('About the author'), 'label' => __('About the author', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'About the author'), array('id' => 'translator_' . sanitize_title('All'), 'label' => __('All', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'All'), array('id' => 'translator_' . sanitize_title('Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.'), 'label' => __('Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.'), array('id' => 'translator_' . sanitize_title('Archive by Category "%s"'), 'label' => __('Archive by Category "%s"', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Archive by Category "%s"'), array('id' => 'translator_' . sanitize_title('Blog'), 'label' => __('Blog', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Blog'), array('id' => 'translator_' . sanitize_title('By'), 'label' => __('By', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'By'), array('id' => 'translator_' . sanitize_title('Cancel Comment'), 'label' => __('Cancel Comment', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Cancel Comment'), array('id' => 'translator_' . sanitize_title('Clear'), 'label' => __('Clear', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Clear'), array('id' => 'translator_' . sanitize_title('Comment'), 'label' => __('Comment', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Comment'), array('id' => 'translator_' . sanitize_title('Comments'), 'label' => __('Comments', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Comments'), array('id' => 'translator_' . sanitize_title('COMMENTS'), 'label' => __('COMMENTS', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'COMMENTS'), array('id' => 'translator_' . sanitize_title('Comments are closed.'), 'label' => __('Comments are closed.', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Comments are closed.'), array('id' => 'translator_' . sanitize_title('Contact form'), 'label' => __('Contact form', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Contact form'), array('id' => 'translator_' . sanitize_title('days ago'), 'label' => __('days ago', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'days ago'), array('id' => 'translator_' . sanitize_title('Edit'), 'label' => __('Edit', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Edit'), array('id' => 'translator_' . sanitize_title('Email'), 'label' => __('Email', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Email'), array('id' => 'translator_' . sanitize_title('Email sent. Thank you for contacting us.'), 'label' => __('Email sent. Thank you for contacting us.', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Email sent. Thank you for contacting us.'), array('id' => 'translator_' . sanitize_title('Filter'), 'label' => __('Filter', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Filter'), array('id' => 'translator_' . sanitize_title('Home'), 'label' => __('Home', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Home'), array('id' => 'translator_' . sanitize_title('hours ago'), 'label' => __('hours ago', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'hours ago'), array('id' => 'translator_' . sanitize_title('just now'), 'label' => __('just now', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'just now'), array('id' => 'translator_' . sanitize_title('Leave a Comment'), 'label' => __('Leave a Comment', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Leave a Comment'), array('id' => 'translator_' . sanitize_title('Leave a Comment to %s'), 'label' => __('Leave a Comment to %s', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Leave a Comment to %s'), array('id' => 'translator_' . sanitize_title('Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>'), 'label' => __('Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>'), array('id' => 'translator_' . sanitize_title('minutes ago'), 'label' => __('minutes ago', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'minutes ago'), array('id' => 'translator_' . sanitize_title('months ago'), 'label' => __('months ago', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'months ago'), array('id' => 'translator_' . sanitize_title('Name'), 'label' => __('Name', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Name'), array('id' => 'translator_' . sanitize_title('Next'), 'label' => __('Next', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Next'), array('id' => 'translator_' . sanitize_title('next'), 'label' => __('next', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'next'), array('id' => 'translator_' . sanitize_title('Next &raquo;'), 'label' => __('Next &raquo;', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Next &raquo;'), array('id' => 'translator_' . sanitize_title('next post'), 'label' => __('next post', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'next post'), array('id' => 'translator_' . sanitize_title('No comments'), 'label' => __('No comments', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'No comments'), array('id' => 'translator_' . sanitize_title('Page %s'), 'label' => __('Page %s', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Page %s'), array('id' => 'translator_' . sanitize_title('Pages:'), 'label' => __('Pages:', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Pages:'), array('id' => 'translator_' . sanitize_title('Pingback:'), 'label' => __('Pingback:', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Pingback:'), array('id' => 'translator_' . sanitize_title('Please check your email.'), 'label' => __('Please check your email.', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Please check your email.'), array('id' => 'translator_' . sanitize_title('Please fill all required fields.'), 'label' => __('Please fill all required fields.', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Please fill all required fields.'), array('id' => 'translator_' . sanitize_title('Posts by %s'), 'label' => __('Posts by %s', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Posts by %s'), array('id' => 'translator_' . sanitize_title('Posts by %s'), 'label' => __('Posts by %s', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Posts by %s'), array('id' => 'translator_' . sanitize_title('Posts made in %s'), 'label' => __('Posts made in %s', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Posts made in %s'), array('id' => 'translator_' . sanitize_title('Posts Tagged "%s"'), 'label' => __('Posts Tagged "%s"', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Posts Tagged "%s"'), array('id' => 'translator_' . sanitize_title('Previous'), 'label' => __('Previous', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Previous'), array('id' => 'translator_' . sanitize_title('previous'), 'label' => __('previous', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'previous'), array('id' => 'translator_' . sanitize_title('previous post'), 'label' => __('previous post', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'previous post'), array('id' => 'translator_' . sanitize_title('&laquo; Previous'), 'label' => __('&laquo; Previous', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => '&laquo; Previous'), array('id' => 'translator_' . sanitize_title('project details'), 'label' => __('project details', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'project details'), array('id' => 'translator_' . sanitize_title('project info'), 'label' => __('project info', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'project info'), array('id' => 'translator_' . sanitize_title('read more'), 'label' => __('read more', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'read more'), array('id' => 'translator_' . sanitize_title('related works'), 'label' => __('related works', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'related works'), array('id' => 'translator_' . sanitize_title('required'), 'label' => __('required', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'required'), array('id' => 'translator_' . sanitize_title('Search Results for "%s" Query'), 'label' => __('Search Results for "%s" Query', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Search Results for "%s" Query'), array('id' => 'translator_' . sanitize_title('Search results for %s'), 'label' => __('Search results for %s', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Search results for %s'), array('id' => 'translator_' . sanitize_title('Send'), 'label' => __('Send', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Send'), array('id' => 'translator_' . sanitize_title('SENT'), 'label' => __('SENT', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'SENT'), array('id' => 'translator_' . sanitize_title('Server error. Pease try again later.'), 'label' => __('Server error. Pease try again later.', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Server error. Pease try again later.'), array('id' => 'translator_' . sanitize_title('weeks ago'), 'label' => __('weeks ago', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'weeks ago'), array('id' => 'translator_' . sanitize_title('years ago'), 'label' => __('years ago', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'years ago'), array('id' => 'translator_' . sanitize_title('Yesterday'), 'label' => __('Yesterday', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Yesterday'), array('id' => 'translator_' . sanitize_title('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s'), 'label' => __('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s'), array('id' => 'translator_' . sanitize_title('You must be <a href="%s">logged in</a> to post a comment.'), 'label' => __('You must be <a href="%s">logged in</a> to post a comment.', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'You must be <a href="%s">logged in</a> to post a comment.'), array('id' => 'translator_' . sanitize_title('Your comment is awaiting moderation.'), 'label' => __('Your comment is awaiting moderation.', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Your comment is awaiting moderation.'), array('id' => 'translator_' . sanitize_title('Your message'), 'label' => __('Your message', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'Your message'), array('id' => 'translator_' . sanitize_title('WHAT CLIENTS SAY'), 'label' => __('WHAT CLIENTS SAY', 'framework'), 'desc' => '', 'std' => '', 'type' => 'text', 'section' => 'translations', 'rows' => '', 'post_type' => '', 'taxonomy' => '', 'class' => '', 'default' => 'WHAT CLIENTS SAY')));
    /* allow settings to be filtered before saving */
    $custom_settings = apply_filters('option_tree_settings_args', $custom_settings);
    /* settings are not the same update the DB */
    if ($saved_settings !== $custom_settings) {
        update_option('option_tree_settings', $custom_settings);
    }
}
예제 #2
0
/**
 * Get shortcodes list
 *
 */
function ts_get_shortcodes_list()
{
    $aHelp = array(array('shortcode' => 'accordion', 'name' => __('Accordion', 'framework'), 'description' => '', 'usage' => '[accordion style="normal" open="yes"][accordion_toggle title="title 1"]Your content goes here...[/accordion_toggle][/accordion]', 'code' => '[accordion style="{style}" open="{open}"]{child}[/accordion]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'desc' => '', 'values' => array('boxed' => __('boxed', 'framework'), 'normal' => __('normal', 'framework'))), 'open' => array('type' => 'select', 'label' => __('Open first', 'framework'), 'desc' => '', 'values' => array('yes' => __('yes', 'framework'), 'no' => __('no', 'framework')))), 'add_child_button' => __('Add Item', 'framework'), 'child' => array('fields' => array('title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => '')), 'name' => __('Accordion item', 'framework'), 'code' => '[accordion_toggle title="{title}"]{content}[/accordion_toggle]')), array('shortcode' => 'button', 'name' => __('Button', 'framework'), 'description' => array(__('color - text color', 'framework'), __('background - background color', 'framework'), __('size - small, regular, large - default: regular', 'framework'), __('target - _blank, _parent, _self, _top', 'framework')), 'usage' => '[button color="#555555" style="1" size="small" icon="icon-briefcase" url="http://yourdomain.com" target="_blank" ]Your content here...[/button]', 'code' => '[button color="{color}" style="{style}" size="{size}" icon="{icon}" target="{target}" url="{url}"]{content}[/button]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => __('1', 'framework'), '2' => __('2', 'framework')), 'default' => '1', 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Text color', 'framework'), 'desc' => ''), 'size' => array('type' => 'select', 'label' => __('Size', 'framework'), 'values' => array('small' => __('small', 'framework'), 'regular' => __('regular', 'framework'), 'large' => __('large', 'framework')), 'default' => 'regular', 'desc' => ''), 'icon' => array('type' => 'select', 'label' => __('Icon (style 2 only)', 'framework'), 'values' => ts_getFontAwesomeArray(true), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Button text', 'framework'), 'desc' => ''))), array('shortcode' => 'call_to_action', 'name' => __('Call To Action', 'framework'), 'description' => array(__('color - gray, black, red, orange, blue, green', 'framework'), __('size - small, regular, large', 'framework'), __('target - _blank, _parent, _self, _top', 'framework'), __('position - left, right, bottom', 'framework')), 'usage' => '[call_to_action button_text="test" text="test" color="gray" size="regular" url="" target="" position="bottom"]', 'code' => '[call_to_action button_text="{buttontext}" text="{text}" color="{color}" size="{size}" url="{url}" target="{target}" position="{position}"]', 'fields' => array('buttontext' => array('type' => 'text', 'label' => __('Button label', 'framework'), 'desc' => ''), 'text' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Button color', 'framework'), 'desc' => ''), 'size' => array('type' => 'select', 'label' => __('Button size', 'framework'), 'values' => array('small' => __('small', 'framework'), 'regular' => __('regular', 'framework'), 'large' => __('large', 'framework')), 'default' => 'regular', 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'position' => array('type' => 'select', 'label' => __('Position', 'framework'), 'values' => array('left' => __('left', 'framework'), 'right' => __('right', 'framework'), 'bottom' => __('bottom', 'framework')), 'default' => 'regular', 'desc' => ''))), array('shortcode' => 'call_to_action_2', 'name' => __('Call To Action 2', 'framework'), 'description' => '', 'usage' => '[call_to_action_2 style="1" header="Header text" content="Content text" buttontext="Button label"  background="#FF0000" background_hover="#FFFF00" url="http://url.." target="_self"]', 'code' => '[call_to_action_2 style="{style}" header="{header}" content="{content}" buttontext="{buttontext}" background="{background}" background_hover="{backgroundhover}" url="{url}" target="{target}"]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => __('1', 'framework'), '2' => __('2', 'framework'), '3' => __('3 (wide with gradient background)', 'framework')), 'default' => '1', 'desc' => ''), 'header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''), 'buttontext' => array('type' => 'text', 'label' => __('Button label', 'framework'), 'desc' => ''), 'background' => array('type' => 'colorpicker', 'label' => __('Button background color', 'framework'), 'desc' => ''), 'backgroundhover' => array('type' => 'colorpicker', 'label' => __('Button hover background color', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''))), array('shortcode' => 'dropcaps', 'name' => __('Dropcaps', 'framework'), 'description' => array(__('type - circle - optional', 'framework')), 'usage' => '[dropcaps type="circle" color="#C4C4C4" background="#A4A4A4"]Your text here...[/dropcaps]', 'code' => '[dropcaps type="{type}" color="{color}" background="{background}"]{content}[/dropcaps]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('circle' => __('circle', 'framework'), 'standard' => __('standard', 'framework')), 'default' => 'circle', 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Color', 'framework'), 'desc' => ''), 'background' => array('type' => 'colorpicker', 'label' => __('Background color', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'featured_projects', 'name' => __('Featured projects', 'framework'), 'description' => '', 'usage' => '[featured_projects category="" header="Featured projects" limit="6"]Your text here...[/featured_projects]', 'code' => '[featured_projects category="{category}" header="{header}" limit="{limit}"]{description}[/featured_projects]', 'fields' => array('category' => array('type' => 'text', 'label' => __('Category ID', 'framework'), 'desc' => ''), 'header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Limit', 'framework'), 'desc' => ''), 'description' => array('type' => 'wp_editor', 'label' => __('Description', 'framework'), 'desc' => ''))), array('shortcode' => 'divider', 'name' => __('Divider', 'framework'), 'description' => array(__('align - left, right, center', 'framework'), __('size - smaller, normal, larger', 'framework'), __('scrolltext - optional', 'framework')), 'usage' => '[divider style="1" align="left" size="normal" scrolltext="Scroll to top"]Your text here...[/divider]', 'code' => '[divider style="{style}" align="{align}" size="{size}" variant="{variant}" dimension="{dimension}" color="{color}" scrolltext="{scrolltext}"]{content}[/divider]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => '1', '2' => '2'), 'default' => '1', 'desc' => ''), 'align' => array('type' => 'select', 'label' => __('Text align', 'framework'), 'values' => array('center' => __('center', 'framework'), 'left' => __('left', 'framework'), 'right' => __('right', 'framework')), 'desc' => ''), 'size' => array('type' => 'select', 'label' => __('Content font size', 'framework'), 'values' => array('normal' => __('normal', 'framework'), 'smaller' => __('smaller', 'framework'), 'larger' => __('larger', 'framework')), 'desc' => ''), 'variant' => array('type' => 'select', 'label' => __('Variant (style 1 only)', 'framework'), 'values' => array('normal' => __('normal', 'framework'), 'dotted' => __('dotted', 'framework')), 'desc' => ''), 'dimension' => array('type' => 'select', 'label' => __('Dimension (style 1 only)', 'framework'), 'values' => array('1px' => '1 px', '2px' => '2 px', '3px' => '3 px', '4px' => '4 px', '5px' => '5 px'), 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Color (style 1 only)', 'framework'), 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''), 'scrolltext' => array('type' => 'text', 'label' => __('Scroll to top text', 'framework'), 'desc' => __('Leave empty to disable scrolling', 'framework')))), array('shortcode' => 'heading', 'name' => __('Heading', 'framework'), 'description' => '', 'usage' => '[heading type="1"]Your text here...[/heading]', 'code' => '[heading type={type}]{content}[/heading]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('1' => 'H1', '2' => 'H2', '3' => 'H3', '4' => 'H4', '5' => 'H5'), 'default' => '1', 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'highlight', 'name' => __('Highlight', 'framework'), 'description' => array(__('color - background color', 'framework'), __('fullwidth - yes, no - from edge to edge of the screen', 'framework')), 'usage' => '[highlight color="#ebebeb" border_color="#dedede" background_image="image.png" background_attachment="scroll" horizontal_position="left" vertical_position="top" background_stretch="no" min_height="100" first_page="no" last_page="yes" padding_top="10" padding_bottom="10" margin_bottom="0" fullwidth="yes"]Your text here...[/highlight]', 'code' => '[highlight color="{color}" border_color="{bordercolor}" background_image="{backgroundimage}" background_attachment="{backgroundattachment}" background_position="{backgroundposition}" background_stretch="{backgroundstretch}" min_height="{minheight}" first_page="{firstpage}" last_page="{lastpage}" padding_top="{paddingtop}" padding_bottom="{paddingbottom}" margin_bottom="{marginbottom}" fullwidth="{fullwidth}"]{content}[/highlight]', 'fields' => array('color' => array('type' => 'colorpicker', 'label' => __('Color', 'framework'), 'desc' => ''), 'bordercolor' => array('type' => 'colorpicker', 'label' => __('Border color', 'framework'), 'desc' => ''), 'backgroundimage' => array('type' => 'upload', 'label' => __('Background image', 'framework'), 'desc' => ''), 'backgroundattachment' => array('type' => 'select', 'label' => __('Background attachment', 'framework'), 'values' => array('scroll' => __('scroll', 'framework'), 'fixed' => __('fixed', 'framework')), 'default' => 'yes', 'desc' => ''), 'backgroundposition' => array('type' => 'select', 'label' => __('Background position', 'framework'), 'values' => array('left top' => __('left top', 'framework'), 'left center' => __('left center', 'framework'), 'left bottom' => __('left bottom', 'framework'), 'right top' => __('right top', 'framework'), 'right center' => __('right center', 'framework'), 'right bottom' => __('right bottom', 'framework'), 'center top' => __('center top', 'framework'), 'center center' => __('center center', 'framework'), 'center bottom' => __('center bottom', 'framework')), 'default' => 'left top', 'desc' => ''), 'backgroundstretch' => array('type' => 'select', 'label' => __('Background stretch', 'framework'), 'values' => array('yes' => __('yes', 'framework'), 'no' => __('no', 'framework')), 'default' => 'yes', 'desc' => ''), 'minheight' => array('type' => 'text', 'label' => __('Minimum height (px)', 'framework'), 'default' => '', 'desc' => ''), 'firstpage' => array('type' => 'select', 'label' => __('First element on a page', 'framework'), 'values' => array('no' => __('no', 'framework'), 'yes' => __('yes', 'framework')), 'default' => 'no', 'desc' => ''), 'lastpage' => array('type' => 'select', 'label' => __('Last element on a page', 'framework'), 'values' => array('no' => __('no', 'framework'), 'yes' => __('yes', 'framework')), 'default' => 'no', 'desc' => ''), 'paddingtop' => array('type' => 'text', 'label' => __('Padding top (px)', 'framework'), 'default' => '', 'desc' => ''), 'paddingbottom' => array('type' => 'text', 'label' => __('Padding bottom (px)', 'framework'), 'default' => '', 'desc' => ''), 'marginbottom' => array('type' => 'text', 'label' => __('Margin bottom (px)', 'framework'), 'default' => '', 'desc' => ''), 'fullwidth' => array('type' => 'select', 'label' => __('Full width', 'framework'), 'values' => array('yes' => __('yes', 'framework'), 'no' => __('no', 'framework')), 'default' => 'yes', 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icon', 'name' => __('Icon', 'framework'), 'description' => '', 'usage' => '[icon icon="img-1" animation="showup" title="Your title" content="Your content here..."]', 'code' => '[icon icon="{icon}" url="{url}" target="{target}" animation="{animation}" title="{title}" content="{content}"]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => array('img-1' => __('Dialog', 'framework'), 'img-2' => __('Scalability', 'framework'), 'img-3' => __('Globe', 'framework'), 'img-4' => __('Test', 'framework'), 'img-5' => __('Docs', 'framework'), 'img-6' => __('Paint', 'framework'), 'img-7' => __('Exchange', 'framework'), 'img-8' => __('Equalizer', 'framework'), 'footprint' => __('Footprint', 'framework'), 'setting' => __('Setting', 'framework')), 'default' => '', 'desc' => ''), 'animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('none' => __('none', 'framework'), 'showup' => __('show up', 'framework')), 'default' => '', 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icon_2', 'name' => __('Icon 2', 'framework'), 'description' => '', 'usage' => '[icon_2 icon="img-1" url="http://...." target="_blank" title="Your title" content="Your content here..."]', 'code' => '[icon_2 icon="{icon}" url="{url}" target="{target}" title="{title}" content="{content}"]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icon_3', 'name' => __('Icon 3', 'framework'), 'description' => '', 'usage' => '[icon_3 icon="icon-glass" title="Your title"]Your content here...[/icon_3]', 'code' => '[icon_3 icon="{icon}" title="{title}"]{content}[/icon_3]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icon_4', 'name' => __('Icon 4', 'framework'), 'description' => '', 'usage' => '[icon_4 icon="icon-glass" size="12" color="#FF0000"]', 'code' => '[icon_4 icon="{icon}" size="{size}" color="{color}"]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'size' => array('type' => 'text', 'label' => __('Size (px)', 'framework'), 'desc' => __('Default size if empty', 'framework')), 'color' => array('type' => 'colorpicker', 'label' => __('Color', 'framework'), 'desc' => __('Default color if empty', 'framework')))), array('shortcode' => 'icon_box', 'name' => __('Icon Box', 'framework'), 'description' => '', 'usage' => '[icon_box icon="icon-search" url="http://..." target="_self" title="Your title"]Your content here...[/icon_box]', 'code' => '[icon_box icon="{icon}" url="{url}" target="{target}" title="{title}"]{content}[/icon_box]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'icons', 'name' => __('Icons', 'framework'), 'description' => '', 'usage' => '[icons animation="showup"][icon type="icon-music" url="http://..." title="Your title..."]Your content...[/icon][/icons]', 'code' => '[icons animation="{animation}"]{child}[/icons]', 'fields' => array('animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('none' => __('none', 'framework'), 'showup' => __('show up', 'framework')), 'default' => '', 'desc' => '')), 'add_child_button' => __('Add Icon', 'framework'), 'child' => array('name' => __('Icon', 'framework'), 'code' => '[icon_item type="{type}" url="{url}" target="{target}" title="{title}"]{content}[/icon_item]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => ts_getFontAwesomeArray(true, array('img-1' => __('Box', 'framework'), 'img-2' => __('Dynamic', 'framework'), 'img-3' => __('Support', 'framework'), 'champion' => __('Champion', 'framework'), 'function' => __('Function', 'framework'), 'leaf' => __('Leaf', 'framework'), 'light' => __('Light', 'framework'), 'settings' => __('Settings', 'framework'), 'show' => __('Show', 'framework'), 'time' => __('Time', 'framework'))), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => '')))), array('shortcode' => 'icons_list', 'name' => __('Icons List', 'framework'), 'description' => '', 'usage' => '[icons_list animation="showup"][icons_list_item type="icon-music" url="http://..." title="Your title..."]Your content...[/icons_list_item][/icons_list]', 'code' => '[icons_list animation="{animation}"]{child}[/icons_list]', 'fields' => array('animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('none' => __('none', 'framework'), 'showup' => __('show up', 'framework')), 'default' => '', 'desc' => '')), 'add_child_button' => __('Add Icon', 'framework'), 'child' => array('name' => __('Icon', 'framework'), 'code' => '[icons_list_item type="{type}" title="{title}"]{content}[/icons_list_item]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => ts_getFontAwesomeArray(true), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => '')))), array('shortcode' => 'image', 'name' => __('Image', 'framework'), 'description' => '', 'usage' => '[image animaton="scale" size="half" align="alignleft"]image.png[/image]', 'code' => '[image animation="{animation}" size="{size}" align="{align}"]{image}[/image]', 'fields' => array('image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => ''), 'animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('left-to-right' => __('left-to-right', 'framework'), 'right-to-left' => __('right-to-left', 'framework'), 'bottom-to-top' => __('bottom-to-top', 'framework'), 'scale' => __('scaless', 'framework')), 'default' => 'left-to-right', 'desc' => ''), 'size' => array('type' => 'select', 'label' => __('Image width', 'framework'), 'values' => array('dont_scale' => __('dont scale', 'framework'), 'full' => __('full', 'framework'), 'half' => __('half', 'framework'), 'one_third' => __('1/3', 'framework'), 'one_fourth' => __('1/4', 'framework')), 'default' => 'dont_scale', 'desc' => ''), 'align' => array('type' => 'select', 'label' => __('Align', 'framework'), 'values' => array('alignnone' => __('none', 'framework'), 'alignleft' => __('left', 'framework'), 'alignright' => __('right', 'framework'), 'aligncenter' => __('center', 'framework')), 'default' => 'dont_scale', 'desc' => ''))), array('shortcode' => 'images_slider', 'name' => __('Images Slider', 'framework'), 'description' => array(__('url - optional', 'framework'), __('target - _blank, _parent, _self, _top', 'framework')), 'usage' => array('[images_slider][image_item url="http://test.com" target="_blank"]image.png[/image_item][image_item url="http://test2.com"]image2.png[/image_item][/images_slider]'), 'code' => '[images_slider]{child}[/images_slider]', 'add_child_button' => __('Add Slider Item', 'framework'), 'child' => array('name' => __('Sliders item', 'framework'), 'code' => '[image_item url="{url}" target="{target}"]{image}[/image_item]', 'fields' => array('url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => '')))), array('shortcode' => 'latest_posts', 'name' => __('Latest posts', 'framework'), 'description' => '', 'usage' => '[latest_posts header="Latest posts" limit="12"]', 'code' => '[latest_posts header="{header}" limit="{limit}"]', 'fields' => array('header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Posts limit', 'framework'), 'desc' => ''))), array('shortcode' => 'latest_works', 'name' => __('Latest works', 'framework'), 'description' => '', 'usage' => '[latest_works header="Latest Works" limit=10]', 'code' => '[latest_works header="{header}" description="{description}" limit="{limit}"]', 'fields' => array('header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'description' => array('type' => 'text', 'label' => __('Description', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Limit', 'framework'), 'desc' => ''))), array('shortcode' => 'list', 'name' => __('List', 'framework'), 'description' => array(__('type - icon-ok, icon-check, icon-check-empty, icon-circle, icon-angle-right, icon-check-empty', 'framework')), 'usage' => '[list type="icon-check-empty"]Your UL list here...[/list]', 'code' => '[list type="{type}"]<ul>{child}</ul>[/list]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('icon-arrow' => 'icon-arrow', 'icon-circle' => 'icon-circle', 'icon-check' => 'icon-check', 'icon-star' => 'icon-star', 'icon-plus' => 'icon-plus', 'icon-dash' => 'icon-dash'), 'desc' => '')), 'add_child_button' => __('Add List Item', 'framework'), 'child' => array('name' => __('List item', 'framework'), 'code' => '<li>{content}</li>', 'fields' => array('content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => '')))), array('shortcode' => 'message', 'name' => __('Message', 'framework'), 'description' => __('type - info, alert, success, error', 'framework'), 'usage' => '[message type="info"]Your content here...[/message]', 'code' => '[message type="{type}"]{content}[/message]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('info' => __('info', 'framework'), 'alert' => __('alert', 'framework'), 'success' => __('success', 'framework'), 'error' => __('error', 'framework')), 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'our_clients', 'name' => __('Our clients', 'framework'), 'description' => '', 'usage' => array('[our_clients header="Your header..."][our_clients_item url="http://test.com" target="_blank"]image.png[/our_clients_item][/our_clients]'), 'code' => '[our_clients header="{header}"]{child}[/our_clients]', 'fields' => array('header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => '')), 'add_child_button' => __('Add Item', 'framework'), 'child' => array('name' => __('Items', 'framework'), 'code' => '[our_clients_item url="{url}" target="{target}"]{image}[/our_clients_item]', 'fields' => array('url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => '')))), array('shortcode' => 'person', 'name' => __('Person', 'framework'), 'description' => '', 'usage' => '[persons id=1]', 'code' => '[person id="{id}"]', 'fields' => array('id' => array('type' => 'text', 'label' => __('Person ID', 'framework'), 'desc' => ''))), array('shortcode' => 'person_details', 'name' => __('Person details', 'framework'), 'description' => '', 'usage' => '[person_details id=1 header="Personal details"]', 'code' => '[person_details id="{id}" header="{header}"]', 'fields' => array('id' => array('type' => 'text', 'label' => __('Person ID', 'framework'), 'desc' => ''), 'header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''))), array('shortcode' => 'posts_slider', 'name' => __('Posts slider', 'framework'), 'description' => array(__('id - included posts (optional)', 'framework'), __('post_type - post type to show (default: post)', 'framework'), __('category - list of categories to show or to exclude (optional)', 'framework'), __('orderby - sort retrieved posts by parameter (default: date)', 'framework'), __('order - designates the ascending or descending order (default: DESC)', 'framework'), __('description - no, excerpt - show or hide description (default: excerpt)', 'framework')), 'usage' => '[posts_slider id="2,4,3" post_type="post/page" category="1,-2,-3" limit="4" orderby="date" order="desc" description="excerpt" excerpt="12"]', 'code' => '[posts_slider id="{id}" post_type="{type}" category="{category}" limit="{limit}" orderby="{orderby}" order="{order}" description="{description}" excerpt="{excerpt}"]', 'fields' => array('id' => array('type' => 'text', 'label' => __('Post IDs (comma separated)', 'framework'), 'desc' => ''), 'type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('post' => __('post', 'framework'), 'page' => __('page', 'framework')), 'desc' => ''), 'category' => array('type' => 'text', 'label' => __('Category IDs (comma separated)', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Limit', 'framework'), 'desc' => ''), 'orderby' => array('type' => 'select', 'label' => __('Order By', 'framework'), 'values' => array('date' => __('date', 'framework'), 'title' => __('title', 'framework')), 'desc' => ''), 'order' => array('type' => 'select', 'label' => __('Order', 'framework'), 'values' => array('DESC' => __('DESC', 'framework'), 'ASC' => __('ASC', 'framework')), 'desc' => ''), 'description' => array('type' => 'select', 'label' => __('Description', 'framework'), 'values' => array('no' => __('hidden', 'framework'), 'excerpt' => __('excerpt', 'framework')), 'desc' => ''), 'excerpt' => array('type' => 'text', 'label' => __('Excerpt words limit', 'framework'), 'desc' => ''))), array('shortcode' => 'promo', 'name' => __('Promo', 'framework'), 'description' => '', 'usage' => '[promo header="Header" content="Content" url="http://..." target="_self" image="sample.png"]', 'code' => '[promo header="{header}" content="{content}" url="{url}" target="{target}" image="{image}"]', 'fields' => array('header' => array('type' => 'text', 'label' => __('Header', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => ''))), array('shortcode' => 'recent_posts', 'name' => __('Recent posts', 'framework'), 'description' => '', 'usage' => '[recent_posts limit="12"]', 'code' => '[recent_posts limit="{limit}"]', 'fields' => array('limit' => array('type' => 'text', 'label' => __('Posts limit', 'framework'), 'desc' => ''))), array('shortcode' => 'recent_projects', 'name' => __('Recent projects', 'framework'), 'description' => '', 'usage' => '[recent_projects]', 'code' => '[recent_projects]', 'fields' => array('description' => array('type' => 'description', 'label' => __('No options here', 'framework'), 'desc' => ''))), array('shortcode' => 'quotes', 'name' => __('Quotes', 'framework'), 'description' => array(__('style - classic, modern - default: classic', 'framework'), __('align - center, left, right - default: center', 'framework')), 'usage' => array('[quotes style="classic" author="John Doe"]Your text here...[/quotes]', '[quotes style="modern" align="" author="John Doe"]Your text here...[/quotes]'), 'code' => '[quotes style="{style}" align="{align}" author="{author}"]{content}[/quotes]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('classic' => __('classic', 'framework'), 'modern' => __('modern', 'framework')), 'desc' => ''), 'align' => array('type' => 'select', 'label' => __('Align', 'framework'), 'values' => array('center' => __('center', 'framework'), 'left' => __('left', 'framework'), 'right' => __('right', 'framework')), 'desc' => ''), 'author' => array('type' => 'text', 'label' => __('Author', 'framework'), 'desc' => ''), 'content' => array('type' => 'text', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'skillbars', 'name' => __('Skill bars', 'framework'), 'description' => '', 'usage' => '[skillbar style="1" type="vertical" height="100"][skillbar_item percentage="80" title="Cooking"][skillbar_item percentage="99" title="Sleeping"][/skillbar]', 'code' => '[skillbar style="{style}" type="{type}" height="{height}"]{child}[/skillbar]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => '1', '2' => '2'), 'desc' => ''), 'type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('horizontal' => __('Horizontal', 'framework'), 'vertical' => __('Vertical', 'framework')), 'desc' => ''), 'height' => array('type' => 'text', 'label' => __('Height (px)', 'framework'), 'desc' => __('For vertical type only', 'framework'))), 'add_child_button' => __('Add Skill Bar', 'framework'), 'child' => array('name' => __('Skill bar', 'framework'), 'code' => '[skillbar_item percentage="{percentage}" title="{title}" color="{color}"]', 'fields' => array('percentage' => array('type' => 'select', 'label' => __('Percentage', 'framework'), 'values' => ts_get_percentage_select_values(), 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Color', 'framework'), 'desc' => '')))), array('shortcode' => 'space', 'name' => __('Space', 'framework'), 'description' => '', 'usage' => '[space height="20"]', 'code' => '[space height="{height}"]', 'fields' => array('height' => array('type' => 'text', 'label' => __('Height (px)', 'framework'), 'desc' => ''))), array('shortcode' => 'special_text', 'name' => __('Special text', 'framework'), 'description' => '', 'usage' => array('[special_text tagname="h2" pattern="no" color="#FF0000" font_size="12" font_weight="bold" font="Arial" margin_top="10" margin_bottom="10" align="left"]Your text here...[/special_text]'), 'code' => '[special_text tagname="{tagname}" pattern="{pattern}" color="{color}" font_size="{fontsize}" font_weight="{fontweight}" font="{font}" margin_top="{margintop}" margin_bottom="{marginbottom}" align="{align}"]{content}[/special_text]', 'fields' => array('tagname' => array('type' => 'select', 'label' => __('Tag name', 'framework'), 'values' => array('h1' => 'H1', 'h2' => 'H2', 'h3' => 'H3', 'h4' => 'H4', 'h5' => 'H5', 'h6' => 'H6'), 'default' => 'brain', 'desc' => ''), 'pattern' => array('type' => 'select', 'label' => __('Pattern', 'framework'), 'values' => array('no' => __('No', 'framework'), 'yes' => __('Yes', 'framework')), 'default' => 'no', 'desc' => ''), 'color' => array('type' => 'colorpicker', 'label' => __('Font color', 'framework'), 'desc' => ''), 'fontsize' => array('type' => 'text', 'label' => __('Font size', 'framework'), 'desc' => ''), 'fontweight' => array('type' => 'select', 'label' => __('Font weight', 'framework'), 'values' => array('default' => __('Default', 'framework'), 'normal' => __('Normal', 'framework'), 'bold' => __('Bold', 'framework'), 'bolder' => __('Bolder', 'framework'), 'light' => __('Light', 'framework')), 'default' => 'default', 'desc' => ''), 'font' => array('type' => 'select', 'label' => __('Font', 'framework'), 'desc' => '', 'values' => ts_get_font_choices(true)), 'margintop' => array('type' => 'text', 'label' => __('Margin top (px)', 'framework'), 'desc' => ''), 'marginbottom' => array('type' => 'text', 'label' => __('Margin bottom (px)', 'framework'), 'desc' => ''), 'align' => array('type' => 'select', 'label' => __('Align', 'framework'), 'values' => array('left' => __('Left', 'framework'), 'center' => __('Center', 'framework'), 'right' => __('Right', 'framework')), 'default' => 'left', 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'steps', 'name' => __('Steps', 'framework'), 'description' => '', 'usage' => '[steps][step icon="..." title="Your title" subtitle="Your subtitle" url="http://.." target="_blank"][/steps]', 'code' => '[steps]{child}[/steps]', 'add_child_button' => __('Add Step', 'framework'), 'child' => array('name' => __('Step', 'framework'), 'code' => '[step icon="{icon}" title="{title}" subtitle="{subtitle}" url="{url}" target="{target}"]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => array('brain' => __('Brain', 'framework'), 'bulb' => __('Bulb', 'framework'), 'idea' => __('Idea', 'framework'), 'list' => __('List', 'framework'), 'mental' => __('Mental', 'framework'), 'start' => __('Start', 'framework'), 'strategy' => __('Strategy', 'framework'), 'target' => __('Target', 'framework'), 'time' => __('Time', 'framework'), 'zen' => __('Zen', 'framework')), 'default' => 'brain', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'subtitle' => array('type' => 'text', 'label' => __('Subtitle', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('URL', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => '')))), array('shortcode' => 'tabs', 'name' => __('Tabs', 'framework'), 'description' => '', 'usage' => '[tabs orientation="horizontal" position="top-left" style="normal" autoplay="no" animation="fadein"][tab url="http://test.com" target="_blank"]Your text here...[/tab][/tabs]', 'code' => '[tabs orientation="{orientation}" position="{position}" style="{style}" autoplay="{autoplay}" animation="{animation}"]{child}[/tabs]', 'fields' => array('orientation' => array('type' => 'select', 'label' => __('Orientation', 'framework'), 'values' => array('horizontal' => __('horizontal', 'framework'), 'vertical' => __('vertical', 'framework')), 'desc' => ''), 'position' => array('type' => 'select', 'label' => __('Position', 'framework'), 'values' => array('top-left' => __('top-left', 'framework'), 'top-right' => __('top-right', 'framework'), 'top-center' => __('top-center', 'framework'), 'top-compact' => __('top-compact', 'framework'), 'bottom-left' => __('bottom-left', 'framework'), 'bottom-center' => __('bottom-center', 'framework'), 'bottom-right' => __('bottom-right', 'framework'), 'bottom-compact' => __('bottom-compact', 'framework')), 'desc' => __('When orientation option is set to "vertical", "only top-left" and "top-right" is supported!', 'framework')), 'style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('normal' => __('normal', 'framework'), 'underline' => __('underline', 'framework')), 'desc' => ''), 'autoplay' => array('type' => 'select', 'label' => __('Autoplay', 'framework'), 'values' => array('no' => __('no', 'framework'), 'yes' => __('yes', 'framework')), 'desc' => ''), 'animation' => array('type' => 'select', 'label' => __('Animation', 'framework'), 'values' => array('fadeIn' => __('fadeIn', 'framework'), 'slideDown' => __('slideDown', 'framework')), 'desc' => '')), 'add_child_button' => __('Add Tab', 'framework'), 'child' => array('name' => __('Tab', 'framework'), 'code' => '[tab title="{title}" icon="{icon}" iconsize="{iconsize}"]{content}[/tab]', 'fields' => array('icon' => array('type' => 'select', 'label' => __('Icon', 'framework'), 'values' => ts_getFontAwesomeArray(true), 'default' => '', 'desc' => '', 'class' => 'icons-dropdown'), 'iconsize' => array('type' => 'select', 'label' => __('Icon size', 'framework'), 'values' => array('icon-regular' => 'icon-regular', 'icon-large' => 'icon-large', 'icon-2x' => 'icon-2x', 'icon-4x' => 'icon-4x'), 'default' => '', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'content' => array('type' => 'textarea', 'label' => __('Content', 'framework'), 'desc' => '')))), array('shortcode' => 'teaser', 'name' => __('Teaser', 'framework'), 'description' => '', 'usage' => '[teaser style="1" image="image.png" icon="..." title="Your title" subtitle="Your subtitle" url="http://..." target="_self"]', 'code' => '[teaser style="{style}" image="{image}" icon={icon} title="{title}" subtitle="{subtitle}" url="{url}" target="{target}"]', 'fields' => array('style' => array('type' => 'select', 'label' => __('Style', 'framework'), 'values' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5'), 'desc' => ''), 'image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => ''), 'icon' => array('type' => 'select', 'label' => __('Icon (style 3 and 4 only)', 'framework'), 'values' => array('teaser-icon1.png' => __('Icon 1', 'framework'), 'teaser-icon2.png' => __('Icon 2', 'framework'), 'teaser-icon3.png' => __('Icon 3', 'framework')), 'default' => 'teaser-icon1', 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'subtitle' => array('type' => 'text', 'label' => __('Subtitle (style 1,2 and 5 only)', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''))), array('shortcode' => 'teaser_2', 'name' => __('Teaser 2', 'framework'), 'description' => '', 'usage' => '[teaser_2 image="image.png" title="Your title" button="Click me" url="http://..." target="_self"]Your content..[/teaser_2]', 'code' => '[teaser_2 image="{image}" title="{title}" button="{button}" url="{url}" target="{target}"]{content}[/teaser_2]', 'fields' => array('image' => array('type' => 'upload', 'label' => __('Image', 'framework'), 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title', 'framework'), 'desc' => ''), 'button' => array('type' => 'text', 'label' => __('Button', 'framework'), 'desc' => ''), 'url' => array('type' => 'text', 'label' => __('Url', 'framework'), 'desc' => ''), 'target' => array('type' => 'select', 'label' => __('Target', 'framework'), 'values' => array('_blank' => __('_blank', 'framework'), '_parent' => __('_parent', 'framework'), '_self' => __('_self', 'framework'), '_top' => __('_top', 'framework')), 'default' => '_self', 'desc' => ''), 'content' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))), array('shortcode' => 'testimonials', 'name' => __('Testimonials', 'framework'), 'description' => array(__('type - static/slider - default: slider', 'framework'), __('category - testimonial categories', 'framework'), __('limit - default: 3', 'framework')), 'usage' => array('[testimonials type="static" title="Your title" category="3" limit="3"]'), 'code' => '[testimonials type="{type}" title="{title}" category="{category}" limit="{limit}"]', 'fields' => array('type' => array('type' => 'select', 'label' => __('Type', 'framework'), 'values' => array('slider' => __('slider', 'framework'), 'slider2' => __('slider', 'framework') . ' 2', 'static' => __('static', 'framework')), 'desc' => ''), 'title' => array('type' => 'text', 'label' => __('Title (only slider 2)', 'framework'), 'desc' => ''), 'category' => array('type' => 'text', 'label' => __('Category ID', 'framework'), 'desc' => ''), 'limit' => array('type' => 'text', 'label' => __('Limit', 'framework'), 'desc' => ''))), array('shortcode' => 'text', 'name' => __('Text', 'framework'), 'description' => '', 'usage' => '[text]Your text here...[/text]', 'code' => '[text]{text}[/text]', 'fields' => array('text' => array('type' => 'wp_editor', 'label' => __('Content', 'framework'), 'desc' => ''))));
    return $aHelp;
}
예제 #3
0
function ts_integrateWithVC()
{
    if (!function_exists('vc_map')) {
        return;
    }
    /*----------------------------------------------------------------------------*
     * Alerts
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Alert', 'progressive'), 'base' => 'alert', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Info', 'progressive') => 'info', __('Error', 'progressive') => 'error', __('Notice', 'progressive') => 'notice', __('Success', 'progressive') => 'success', __('Danger', 'progressive') => 'danger', __('Warning', 'progressive') => 'warning'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Icon', 'progressive'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Hide Icon', 'progressive'), 'param_name' => 'hide_icon', 'admin_label' => true, 'value' => array(__('yes', 'progressive') => 'yes', __('no', 'progressive') => 'no'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Close button', 'progressive'), 'param_name' => 'close_btn', 'admin_label' => true, 'value' => array(__('yes', 'progressive') => 'yes', __('no', 'progressive') => 'no'), 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Message', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Message', 'progressive'), 'param_name' => 'message1', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Blockqoute
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Blockquote', 'progressive'), 'base' => 'blockquote', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Author', 'progressive'), 'param_name' => 'author', 'admin_label' => true, 'description' => ''), array('type' => 'textarea', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Button
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Button', 'progressive'), 'base' => 'button', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_icons(), ts_get_livicons(), ts_get_livicons_animate_on(), array('type' => 'colorpicker', 'heading' => __('Background color', 'progressive'), 'param_name' => 'background', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Text color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'value' => array(__('Small', 'progressive') => 'btn-sm', __('Medium', 'progressive') => 'btn-default', __('Large', 'progressive') => 'btn-lg', __('Block Button', 'progressive') => 'btn-lg btn-block', __('Metro', 'progressive') => 'metro'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text', 'progressive'), 'param_name' => 'content', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'url', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Target', 'progressive'), 'param_name' => 'target', 'admin_label' => false, 'value' => array('_blank' => '_blank', '_parent' => '_parent', '_self' => '_self', '_top' => '_top')), array('type' => 'dropdown', 'heading' => __('Align', 'framework'), 'param_name' => 'align', 'admin_label' => false, 'value' => array('Left' => 'text-left', 'Center' => 'text-center', 'Right' => 'text-right', 'Pull left' => 'pull-left', 'Pull right' => 'pull-right', 'None' => 'none')))));
    /*----------------------------------------------------------------------------*
     * Button
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Button outlined', 'progressive'), 'base' => 'button_outlined', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_icons(), array('type' => 'colorpicker', 'heading' => __('Text color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Text hover color', 'progressive'), 'param_name' => 'hover_color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Background color', 'progressive'), 'param_name' => 'background_color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Background hover color', 'progressive'), 'param_name' => 'background_hover_color', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'value' => array(__('Small', 'progressive') => 'btn-sm', __('Medium', 'progressive') => 'btn-default', __('Large', 'progressive') => 'btn-lg', __('Block Button', 'progressive') => 'btn-lg btn-block'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text', 'progressive'), 'param_name' => 'content', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'url', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Target', 'progressive'), 'param_name' => 'target', 'admin_label' => false, 'value' => array('_blank' => '_blank', '_parent' => '_parent', '_self' => '_self', '_top' => '_top')), ts_get_vc_element_align())));
    /*-----------------------------------------------------*
     * Divider
     *-----------------------------------------------------*/
    vc_map(array('name' => __('Divider', 'progressive'), 'base' => 'divider', 'class' => '', 'category' => __('Structure', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => false, 'value' => array(__('Solid', 'progressive') => '', __('shadow', 'progressive') => 'shadow', __('Dotted', 'progressive') => 'dotted', __('Dashed', 'progressive') => 'dashed', __('Double', 'progressive') => 'double'), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''))));
    /*-----------------------------------------------------*
     * Sequence
     *-----------------------------------------------------*/
    vc_map(array('name' => __('Steps', 'progressive'), 'base' => 'steps', 'class' => '', 'category' => __('Structure', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Step', 'progressive'), 'param_name' => 'step', 'admin_label' => false, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => false, 'value' => array(__('Style1', 'progressive') => 'border-warning', __('Style2', 'progressive') => 'border-info bg-info', __('Style3', 'progressive') => 'border-error', __('Style4', 'progressive') => 'border-success bg-success'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Align', 'progressive'), 'param_name' => 'align', 'admin_label' => false, 'value' => array(__('Left', 'progressive') => '', __('Right', 'progressive') => 'step-right'), 'description' => ''))));
    /*-----------------------------------------------------*
     * Sequence2
     *-----------------------------------------------------*/
    vc_map(array('name' => __('Steps2', 'progressive'), 'base' => 'steps2', 'class' => '', 'category' => __('Structure', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Icon', 'progressive'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'description' => '', 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown'), ts_get_vc_map_colorpicker('Icon Color', 'icon_color'), array('type' => 'dropdown', 'heading' => __('Icon Size', 'progressive'), 'param_name' => 'icon_size', 'value' => array(__('44', 'progressive') => '44', __('54', 'progressive') => '54', __('64', 'progressive') => '64'), 'description' => ''), ts_get_livicons(), ts_get_vc_map_colorpicker('Icon Color', 'livicon_color', 'Livicons'), array('type' => 'dropdown', 'heading' => __('Livicons Size', 'progressive'), 'param_name' => 'livicon_size', 'group' => 'Livicons', 'value' => array(__('44', 'progressive') => '44', __('54', 'progressive') => '54', __('64', 'progressive') => '64'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Description', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Border Style', 'progressive'), 'param_name' => 'border', 'admin_label' => false, 'value' => array(__('None', 'progressive') => '', __('Style1', 'progressive') => 'border-warning', __('Style2', 'progressive') => 'border-info', __('Style3', 'progressive') => 'border-error', __('Style4', 'progressive') => 'border-success'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Background Style', 'progressive'), 'param_name' => 'bg', 'admin_label' => false, 'value' => array(__('None', 'progressive') => '', __('Style1', 'progressive') => 'bg-warning', __('Style2', 'progressive') => 'bg-info', __('Style3', 'progressive') => 'bg-error', __('Style4', 'progressive') => 'bg-success'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Text Style', 'progressive'), 'param_name' => 'text', 'admin_label' => false, 'value' => array(__('Normal', 'progressive') => '', __('White', 'progressive') => 'white title-white'), 'description' => ''), array('type' => 'attach_image', 'heading' => __('Image', 'progressive'), 'param_name' => 'img_url', 'admin_label' => false, 'description' => 'Only works if background style is not none.'), array('type' => 'dropdown', 'heading' => __('Last Step', 'progressive'), 'param_name' => 'last_step', 'value' => array(__('No', 'progressive') => 'steps-apart', __('Yes', 'progressive') => '')))));
    /*----------------------------------------------------------------------------*
     * Heading 
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Heading', 'progressive'), 'base' => 'heading', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Type', 'progressive'), 'param_name' => 'type', 'admin_label' => true, 'value' => array('H1' => '1', 'H2' => '2', 'H3' => '3', 'H4' => '4', 'H5' => '5'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Heading Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Border Style', 'progressive') => 'title-box', __('Border Style White', 'progressive') => 'title-box title-white', __('Big Border Style', 'progressive') => 'inner-page-header', __('Big Border Style White', 'progressive') => 'inner-page-header white'), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => true, 'description' => ''), ts_get_vc_element_align(), array('type' => 'textfield', 'heading' => __('ID (optional)', 'progressive'), 'param_name' => 'id', 'admin_label' => false, 'description' => 'Enter a unique id for this heading.'))));
    /*----------------------------------------------------------------------------*
     * icon
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Icon', 'progressive'), 'base' => 'icon', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Default', 'progressive') => 'default', __('Outlined', 'progressive') => 'outlined'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Icon', 'framework'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown'), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => true, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Hover color', 'progressive'), 'param_name' => 'hover_color', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'description' => 'Height in px. e.g. 16, 24'), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => 'Title attribute'))));
    /*----------------------------------------------------------------------------*
     * icon
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Icon List', 'progressive'), 'base' => 'icons', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_map_icons(), array('type' => 'dropdown', 'heading' => __('Icon Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'description' => __('Select size', 'progressive'), 'value' => array('24px' => __('icon-24', 'progressive'), '32px' => __('icon-32', 'progressive'), '40px' => __('icon-40', 'progressive'), '60px' => __('icon-60', 'progressive'), '100px' => __('icon-100', 'progressive'))), array('type' => 'textfield', 'heading' => __('Radius', 'progressive'), 'param_name' => 'bg_radius', 'admin_label' => false, 'description' => 'icons radius in px. only write 20 or 30'), array('type' => 'colorpicker', 'heading' => __('Icon Color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Icon Background Color', 'progressive'), 'param_name' => 'icon_bg_color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Icon Border Color', 'progressive'), 'param_name' => 'icon_border_color', 'admin_label' => false, 'description' => ''))));
    /**
     * image
     */
    vc_map(array('name' => __('Image', 'progressive'), 'base' => 'image', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Image Caption', 'progressive'), 'param_name' => 'caption', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('External URL', 'progressive'), 'param_name' => 'img_link', 'admin_label' => false, 'description' => ''), array('type' => 'attach_image', 'heading' => __('Image', 'progressive'), 'param_name' => 'img_url', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Image Frame', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'description' => __('Select an Image frame', 'progressive'), 'value' => array('No Style' => '', 'Rounded' => __('frame img-rounded', 'progressive'), 'Solid Border' => __('frame manufactures', 'progressive'), 'Solid Border' => __('frame manufactures', 'progressive'), 'Padding' => __('frame frame-padding', 'progressive'), 'Shaddow' => __('frame frame-shadow-metro', 'progressive'), 'Padding, Border' => __('frame frame-padding frame-border', 'progressive'), 'Padding, Shaddow' => __('frame frame-padding frame-shadow', 'progressive'), 'Padding, Lifted Shaddow' => __('frame frame-padding frame-shadow-lifted', 'progressive'), 'Padding, Shaddow Curved' => __('frame frame-padding frame-shadow-curved', 'progressive'), 'Shaddow, Lifted, Rotated' => __('frame frame-shadow-lifted rotated-box', 'progressive'), 'Pading, Shaddow, Raised' => __('frame frame-padding frame-shadow-raised', 'progressive'), 'Shaddow, Lifted, Rotated Right' => __('frame frame-shadow-lifted rotated-right-box', 'progressive'))), array('type' => 'textfield', 'heading' => __('Width', 'progressive'), 'param_name' => 'width', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Height', 'progressive'), 'param_name' => 'height', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Hover Border', 'progressive'), 'param_name' => 'hover_border', 'admin_label' => true, 'description' => __('Enable or disable hover border.', 'progressive'), 'value' => array('Disable' => '', 'Enable' => __('hover-border', 'progressive'))), array('type' => 'dropdown', 'heading' => __('Hover opacity', 'progressive'), 'param_name' => 'hover_opacity', 'admin_label' => true, 'description' => __('Change opacity on hover.', 'progressive'), 'value' => array(__('Default', 'Progressive') => '', '10%' => 'hover-opacity hover-opacity-10', '20%' => 'hover-opacity hover-opacity-20', '30%' => 'hover-opacity hover-opacity-30', '40%' => 'hover-opacity hover-opacity-40', '50%' => 'hover-opacity hover-opacity-50', '60%' => 'hover-opacity hover-opacity-60', '70%' => 'hover-opacity hover-opacity-70', '80%' => 'hover-opacity hover-opacity-80', '90%' => 'hover-opacity hover-opacity-90')), ts_get_vc_element_align())));
    /**
     * livicon
     */
    vc_map(array('name' => __('Livicon', 'progressive'), 'base' => 'livicon', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Default', 'progressive') => 'default', __('Outlined', 'progressive') => 'outlined'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Livicon', 'framework'), 'param_name' => 'livicon', 'admin_label' => true, 'value' => ts_get_livicon_list(true), 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown'), array('type' => 'dropdown', 'heading' => __('Icon animation', 'progressive'), 'param_name' => 'icon_animation', 'admin_label' => true, 'value' => array_flip(array('yes' => __('Yes', 'progressive'), 'no' => __('No', 'progressive'))), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Event', 'progressive'), 'param_name' => 'event', 'admin_label' => true, 'value' => array_flip(array('hover' => __('Hover', 'progressive'), 'click' => __('Click', 'progressive'))), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Loop', 'progressive'), 'param_name' => 'loop', 'admin_label' => true, 'value' => array_flip(array('no' => __('No', 'progressive'), 'yes' => __('Infinite loop', 'progressive'), '1' => '1 ' . __('Loop', 'progressive'), '2' => '2 ' . __('Loops', 'progressive'), '3' => '3 ' . __('Loops', 'progressive'), '4' => '4 ' . __('Loops', 'progressive'), '5' => '5 ' . __('Loops', 'progressive'), '6' => '6 ' . __('Loops', 'progressive'), '7' => '7 ' . __('Loops', 'progressive'), '8' => '8 ' . __('Loops', 'progressive'), '9' => '9 ' . __('Loops', 'progressive'), '10' => '10 ' . __('Loops', 'progressive'))), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Shadow', 'progressive'), 'param_name' => 'shadow', 'admin_label' => true, 'value' => array_flip(array('no' => __('No', 'progressive'), 'yes' => __('Yes', 'progressive'))), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => true, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Hover color', 'progressive'), 'param_name' => 'hover_color', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Size', 'progressive'), 'param_name' => 'size', 'admin_label' => true, 'description' => 'Height in px. e.g. 16, 24'), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => 'Title attribute'))));
    /**
     * map_container
     */
    vc_map(array('name' => __('Google Map', 'progressive'), 'base' => 'map_container', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), array('type' => 'textfield', 'heading' => __('Height', 'progressive'), 'param_name' => 'height', 'admin_label' => true, 'description' => 'Height in px. e.g 300 , 400'), ts_get_vc_map_textfield('Latitude', 'lat'), ts_get_vc_map_textfield('Lanitude', 'lng'), ts_get_vc_map_textfield('Marker title', 'marker_title'), ts_get_vc_map_textfield('Marker content', 'marker_content'), array('type' => 'dropdown', 'heading' => __('Zoom', 'progressive'), 'param_name' => 'zoom', 'admin_label' => false, 'value' => array(__('4', 'progressive') => '4', __('5', 'progressive') => '5', __('6', 'progressive') => '6', __('7', 'progressive') => '7', __('8', 'progressive') => '8', __('9', 'progressive') => '9'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => false, 'value' => array(__('Normal', 'progressive') => 'normal', __('Satellite', 'progressive') => 'satellite', __('Terrain', 'progressive') => 'terrain'), 'description' => ''), ts_get_vc_map_textfield('Area 1 Title', 'area_1_title', 'Overlay'), array('type' => 'textarea', 'heading' => __('Area 1 Content', 'progressive'), 'param_name' => 'area_1_content', 'admin_label' => false, 'group' => 'Overlay'), ts_get_vc_map_textfield('Area 2 Title', 'area_2_title', 'Overlay'), array('type' => 'textarea', 'heading' => __('Area 2 Content', 'progressive'), 'param_name' => 'area_2_content', 'admin_label' => false, 'group' => 'Overlay'), ts_get_vc_map_textfield('Area 3 Title', 'area_3_title', 'Overlay'), array('type' => 'textarea', 'heading' => __('Area 3 Content', 'progressive'), 'param_name' => 'area_3_content', 'admin_label' => false, 'group' => 'Overlay'))));
    /*--------------------------------------------------*
     * social_icons
     *-----------------------------------------------------*/
    vc_map(array('name' => __('Social Icons', 'progressive'), 'base' => 'social_icons', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', "icon" => "xv_vc_icon", 'admin_enqueue_css' => '', 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Facebook', 'progressive'), 'param_name' => 'facebook', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Twitter', 'progressive'), 'param_name' => 'twitter', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Google Plus', 'progressive'), 'param_name' => 'gplus', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Linked In', 'progressive'), 'param_name' => 'linkedin', 'admin_label' => true, 'description' => ''))));
    /*------------------------------------------------------------*
    	 * special_text
    	 -----------------------------------------------------------------*/
    vc_map(array('name' => __('Special Text', 'progressive'), 'base' => 'special_text', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Tag name', 'progressive'), 'param_name' => 'tagname', 'admin_label' => true, 'value' => array_flip(array('h1' => 'H1', 'h2' => 'H2', 'h3' => 'H3', 'h4' => 'H4', 'h5' => 'H5', 'h6' => 'H6', 'div' => 'div', 'span' => 'span')), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Font color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Font size', 'progressive'), 'param_name' => 'font_size', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Font weight', 'progressive'), 'param_name' => 'font_weight', 'admin_label' => true, 'value' => array_flip(array('default' => __('Default', 'progressive'), 'normal' => __('Normal', 'progressive'), 'bold' => __('Bold', 'progressive'), 'bolder' => __('Bolder', 'progressive'), '300' => __('Light', 'progressive'))), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Font', 'progressive'), 'param_name' => 'font', 'admin_label' => true, 'value' => array_flip(ts_get_font_choices(true)), 'description' => ''), array('type' => 'textfield', 'heading' => __('Margin top (px)', 'progressive'), 'param_name' => 'margin_top', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Margin bottom (px)', 'progressive'), 'param_name' => 'margin_bottom', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Align', 'progressive'), 'param_name' => 'align', 'admin_label' => true, 'value' => array_flip(array('left' => __('Left', 'progressive'), 'center' => __('Center', 'progressive'), 'right' => __('Right', 'progressive'))), 'description' => ''), array('type' => 'textarea', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Replace', 'progressive'), 'param_name' => 'replace', 'admin_label' => false, 'description' => __('This text will be replaced with rotating text', 'progressive'), 'group' => __('Text rotation', 'progressive')), array('type' => 'textarea', 'heading' => __('Replace with', 'progressive'), 'param_name' => 'replace_with', 'admin_label' => false, 'description' => __('Use one phrase per line', 'progressive'), 'group' => __('Text rotation', 'progressive')), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'rotating_style', 'admin_label' => false, 'value' => array_flip(array('solid' => __('Solid', 'progressive'), 'outlined' => __('Outlined', 'progressive'))), 'group' => __('Text rotation', 'progressive')), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'rotating_color', 'admin_label' => false, 'group' => __('Text rotation', 'progressive')), array('type' => 'colorpicker', 'heading' => __('Text color', 'progressive'), 'param_name' => 'rotating_text_color', 'admin_label' => false, 'group' => __('Text rotation', 'progressive')))));
    /*----------------------------------------------------------------------------*
     * Testimonials
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Testimonials', 'progressive'), 'base' => 'testimonials_posts', 'class' => '', "icon" => "xv_vc_icon", 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Carousel with Pagination', 'progressive') => 'style1', __('Carousel with Navigation', 'progressive') => 'style2', __('Carousel with Navigation & Pagination', 'progressive') => 'style3', __('Carousel with Auto Scroll', 'progressive') => 'style4'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Background', 'progressive'), 'param_name' => 'bg', 'admin_label' => true, 'value' => array(__('Border', 'progressive') => '', __('Backgorund', 'progressive') => '1'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Name & Designation Style', 'progressive'), 'param_name' => 'white', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Light', 'progressive') => 'white'), 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Text Color', 'progressive'), 'param_name' => 'text_color', 'admin_label' => false, 'description' => ''), array('type' => 'colorpicker', 'heading' => __('Color', 'progressive'), 'param_name' => 'color', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Text with size
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Text', 'progressive'), 'base' => 'text', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textarea', 'heading' => __('Content', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Paragraph Font Size', 'progressive'), 'param_name' => 'pfont', 'admin_label' => false, 'value' => array('8px' => __('8px', 'progressive'), '9px' => __('9px', 'progressive'), '10px' => __('10px', 'progressive'), '11x' => __('11px', 'progressive'), '12px' => __('12px', 'progressive'), '13px' => __('13px', 'progressive'), '14px' => __('14px', 'progressive'), '15px' => __('15px', 'progressive'), '16px' => __('16px', 'progressive'), '17px' => __('17px', 'progressive'), '18px' => __('18px', 'progressive'), '19px' => __('19px', 'progressive'), '20px' => __('20px', 'progressive'), '21px' => __('21px', 'progressive'), '22px' => __('22px', 'progressive'), '23px' => __('23px', 'progressive'), '24px' => __('24px', 'progressive'))))));
    /*----------------------------------------------------------------------------*
     * Call to Action
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Another Call To Action', 'progressive'), 'base' => 'another_call_to_action', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textarea_html', 'heading' => __('Title', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button label', 'progressive'), 'param_name' => 'btn1_text', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'btn1_url', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button label', 'progressive'), 'param_name' => 'btn2_text', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'btn2_url', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Container
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Container Text', 'progressive'), 'base' => 'container', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Style1', 'progressive') => '1', __('Style2', 'progressive') => '2', __('Style3', 'progressive') => '3', __('Style4', 'progressive') => '4', __('Style5', 'progressive') => '5', __('Style6', 'progressive') => '6', __('Style7', 'progressive') => '7', __('Style8', 'progressive') => '8', __('Style9', 'progressive') => '9', __('Style10', 'progressive') => '10', __('Style11 - rotated box', 'progressive') => '11', __('Style12 - rotated right box', 'progressive') => '12', __('Style13', 'progressive') => '13'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Icon', 'progressive'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'description' => '', 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown', 'dependency' => array('element' => 'style', 'value' => array('12'))), array('type' => 'colorpicker', 'heading' => __('Icon color', 'progressive'), 'param_name' => 'icon_color', 'admin_label' => true, 'description' => '', 'dependency' => array('element' => 'style', 'value' => array('12'))), array('type' => 'textarea_html', 'heading' => __('Content', 'progressive'), 'param_name' => 'content_box', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Posts List
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Post list', 'progressive'), 'base' => 'post_list', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Category ID', 'progressive'), 'param_name' => 'category', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Carousel pagination', 'progressive'), 'param_name' => 'carousel_pagination', 'admin_label' => true, 'value' => array(__('yes', 'progressive') => 'yes', __('no', 'progressive') => 'no')), array('type' => 'dropdown', 'heading' => __('Carousel navigation', 'progressive'), 'param_name' => 'carousel_navigation', 'admin_label' => true, 'value' => array(__('yes', 'progressive') => 'yes', __('no', 'progressive') => 'no')), array('type' => 'dropdown', 'heading' => __('Image align', 'progressive'), 'param_name' => 'image_align', 'admin_label' => true, 'value' => array(__('Left', 'progressive') => 'left', __('Right', 'progressive') => 'right')))));
    /*----------------------------------------------------------------------------*
     * Post Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Banner Carousel', 'progressive'), 'base' => 'banner_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Carousel Style', 'progressive'), 'param_name' => 'carousel_style', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Mini', 'progressive') => 'mini'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Full width lines', 'progressive'), 'param_name' => 'full_width_lines', 'admin_label' => true, 'value' => array(__('Disabled', 'progressive') => '', __('Enabled', 'progressive') => 'enabled'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Category ID', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'limit', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Post Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Product Post Carousel', 'progressive'), 'base' => 'post_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Carousel Style', 'progressive'), 'param_name' => 'carousel_style', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Mini', 'progressive') => 'mini'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Full width lines', 'progressive'), 'param_name' => 'full_width_lines', 'admin_label' => true, 'value' => array(__('Disabled', 'progressive') => '', __('Enabled', 'progressive') => 'enabled'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Category ID', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'limit', 'admin_label' => true, 'description' => ''))));
    /**
     * tabs
     */
    vc_map(array("name" => __("Tabs (theme)", "framework"), "base" => "tabs", "as_parent" => array('only' => 'tab'), "content_element" => true, "show_settings_on_create" => true, "params" => array(ts_get_vc_animation_effects_settings(), array("type" => "dropdown", "heading" => __("Style", "framework"), "param_name" => "style", 'admin_label' => true, "value" => array_flip(array('horizontal' => __('Horizonal', 'framework'), 'tabs_left' => __('Vertical left', 'framework'), 'tabs_right' => __('Vertical right', 'framework'))), "description" => __("Select the default style for this tabs group", "framework"))), "js_view" => 'VcColumnView'));
    vc_map(array("name" => __("Tab", "framework"), "base" => "tab", "content_element" => true, "as_child" => array('only' => 'tabs'), "params" => array(array("type" => "textfield", "heading" => __("Tab Title", "framework"), "param_name" => "title", 'admin_label' => true, "description" => __("Enter title for this tab.", "framework")), array('type' => 'dropdown', 'holder' => 'div', 'heading' => __('Icon', 'framework'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray()), array('type' => 'textarea_html', 'holder' => 'div', 'heading' => __('Tab Content', 'framework'), 'param_name' => 'content', 'value' => ''))));
    //Your "container" content element should extend WPBakeryShortCodesContainer class to inherit all required functionality
    if (class_exists('WPBakeryShortCodesContainer')) {
        class WPBakeryShortCode_tabs extends WPBakeryShortCodesContainer
        {
        }
    }
    if (class_exists('WPBakeryShortCode')) {
        class WPBakeryShortCode_tab extends WPBakeryShortCode
        {
        }
    }
    /*----------------------------------------------------------------------------*
     * Team Post Loop
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Team Post Loop', 'progressive'), 'base' => 'team_post_loop', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'))));
    /*----------------------------------------------------------------------------*
     * Team Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Team Post Carousel', 'progressive'), 'base' => 'team_post_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'))));
    /*----------------------------------------------------------------------------*
     * Client Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Client Post Carousel', 'progressive'), 'base' => 'client_post_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'), ts_get_vc_map_textfield('Thumb Width (optional)', 'width'), ts_get_vc_map_textfield('Height (optional)', 'height'), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('clients_category'), 'description' => ''))));
    //////////////////
    vc_map(array('name' => __('Client Posts', 'progressive'), 'base' => 'client_posts', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('clients_category'), 'description' => ''), ts_get_vc_map_textfield('Thumb Width (optional)', 'width'), ts_get_vc_map_textfield('Height (optional)', 'height'))));
    /*----------------------------------------------------------------------------*
     * Contact form
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Contact Form', 'progressive'), 'base' => 'contact_form', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Email (Where your want to recive emails)', 'email'))));
    /*----------------------------------------------------------------------------*
     * Circular Skills
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Circular Skills', 'progressive'), 'base' => 'skills_circular', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Percentage', 'percent'), ts_get_vc_map_colorpicker('Color', 'color'))));
    /*----------------------------------------------------------------------------*
     * Workflow Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Workflow', 'progressive'), 'base' => 'workflow', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'))));
    /*----------------------------------------------------------------------------*
     * Services Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Services Carousel', 'progressive'), 'base' => 'services_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Number of Posts', 'limit'))));
    /*----------------------------------------------------------------------------*
     * Sitemap
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Sitemap', 'progressive'), 'base' => 'sitemap', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Sitemap', 'progressive'), 'param_name' => 'sitemap', 'admin_label' => true, 'value' => array(__('Pages', 'progressive') => 'pages', __('Posts', 'progressive') => 'posts')))));
    /*----------------------------------------------------------------------------*
     * Newsletter
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Newsletter', 'progressive'), 'base' => 'newsletter', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Newsletter ID', 'id'))));
    /*----------------------------------------------------------------------------*
     * Contact Info
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Contact Info', 'progressive'), 'base' => 'contact_info', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textarea', 'heading' => __('Address', 'progressive'), 'param_name' => 'address', 'admin_label' => false), array('type' => 'textarea', 'heading' => __('Phone', 'progressive'), 'param_name' => 'phone', 'admin_label' => false))));
    /*----------------------------------------------------------------------------*
     * Portfolio Filter
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Portfolio Grid With Filter', 'progressive'), 'base' => 'portfolio_filter', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Number of Posts', 'limit', null, true), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('4 Columns', 'progressive') => '4col', __('3 Columns', 'progressive') => '3col', __('2 Columns', 'progressive') => '2col', __('1 Column', 'progressive') => '1col')), array('type' => 'dropdown', 'heading' => __('Filter Color', 'progressive'), 'param_name' => 'filter_style', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Light', 'progressive') => 'white')), array('type' => 'dropdown', 'heading' => __('Filter', 'progressive'), 'param_name' => 'filter', 'admin_label' => true, 'description' => 'Enable or disable filter', 'value' => array(__('Enabled', 'progressive') => 'enabled', __('Disabled', 'progressive') => 'disabled')), array('type' => 'dropdown', 'heading' => __('Year filter', 'progressive'), 'param_name' => 'year_filter', 'admin_label' => true, 'description' => 'Enable or disable year filter', 'value' => array(__('Enabled', 'progressive') => 'enabled', __('Disabled', 'progressive') => 'disabled')), ts_get_vc_map_textfield('Excerpt Length', 'limit2'))));
    /*----------------------------------------------------------------------------*
     * Portfolio carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Portfolio Carousel', 'progressive'), 'base' => 'portfolio_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('portfolio_category'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Portfolio item
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Portfolio Item', 'progressive'), 'base' => 'portfolio_item', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('ID', 'id', null, true))));
    /*----------------------------------------------------------------------------*
     * Portfolio carousel2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Portfolio Carousel 2', 'progressive'), 'base' => 'portfolio_carousel2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('portfolio_category'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Pricing Tables
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Pricing Table', 'progressive'), 'base' => 'pricing_table', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => get_template_directory_uri() . '/inc/vc/assets/js/skills.js', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Subtitle', 'subtitle'), ts_get_livicons(), ts_get_vc_map_textfield('Price', 'price'), ts_get_vc_map_textfield('Duration', 'duration'), ts_get_vc_map_icons(), array('type' => 'textarea', 'heading' => __('Features', 'progressive'), 'param_name' => 'values', 'admin_label' => false, 'description' => 'Add one feature at one line. Add * to highlight feature.', "value" => __("*Responsive Design\nColor Customization\n*HTML5 & CSS3\n*Styled elements\nEasy Setup", 'progressive'), 'group' => 'Features List'), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Red', 'progressive') => '', __('Green', 'progressive') => 'success', __('Blue', 'progressive') => 'info'), 'description' => ''), ts_get_vc_map_textfield('Read more Text', 'more_btn', 'Table Bottom'), ts_get_vc_map_textfield('Read More URL', 'more_url', 'Table Bottom'), array('type' => 'dropdown', 'heading' => __('Stars', 'progressive'), 'param_name' => 'stars', 'admin_label' => true, 'value' => array(__('1 Star', 'progressive') => '20', __('2 Stars', 'progressive') => '40', __('3 Stars', 'progressive') => '60', __('4 Stars', 'progressive') => '80', __('5 Stars', 'progressive') => '100'), 'description' => '', 'group' => 'Table Bottom'), ts_get_vc_map_textfield('Table Button Text', 'table_btn_text', 'Table Bottom'), ts_get_vc_map_textfield('Table Button URL', 'table_btn_url', 'Table Bottom'))));
    /*----------------------------------------------------------------------------*
     * Pricing Tables 2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Pricing Table 2', 'progressive'), 'base' => 'pricing_table2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => get_template_directory_uri() . '/inc/vc/assets/js/skills.js', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), ts_get_vc_map_textfield('Subtitle', 'subtitle'), ts_get_vc_map_textfield('Price', 'price'), ts_get_vc_map_textfield('Duration', 'duration'), ts_get_vc_map_icons(), array('type' => 'textarea', 'heading' => __('Features', 'progressive'), 'param_name' => 'values', 'admin_label' => false, "value" => __("*Responsive Design\nColor Customization\n*HTML5 & CSS3\n*Styled elements\nEasy Setup", 'progressive')), ts_get_vc_map_textfield('Read more Text', 'more_btn', 'Table Bottom'), ts_get_vc_map_textfield('Read More URL', 'more_url', 'Table Bottom'), array('type' => 'dropdown', 'heading' => __('Stars', 'progressive'), 'param_name' => 'stars', 'admin_label' => true, 'value' => array(__('1 Star', 'progressive') => '20', __('2 Stars', 'progressive') => '40', __('3 Stars', 'progressive') => '60', __('4 Stars', 'progressive') => '80', __('5 Stars', 'progressive') => '100'), 'description' => '', 'group' => 'Table Bottom'))));
    /*----------------------------------------------------------------------------*
     * Gallery
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Gallery', 'progressive'), 'base' => 'gallery', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('gallery_category'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Small', 'progressive') => 'small', __('Big', 'progressive') => 'big'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Gallery Grid
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Gallery Grid', 'progressive'), 'base' => 'gallery_grid', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('gallery_category'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('4 Columns', 'progressive') => '4col', __('3 Columns', 'progressive') => '3col', __('2 Columns', 'progressive') => '2col', __('1 Column', 'progressive') => '1col', __('Modern Gallery', 'progressive') => 'modern'), 'description' => ''), ts_get_vc_map_textfield('Limit', 'limit'), array('type' => 'dropdown', 'heading' => __('Post Order', 'progressive'), 'param_name' => 'order', 'admin_label' => false, 'value' => array(__('ASC', 'progressive') => 'ASC', __('DESC', 'progressive') => 'DESC')), array('type' => 'dropdown', 'heading' => __('Pagination', 'progressive'), 'param_name' => 'pagination', 'admin_label' => false, 'description' => 'Enable or disable pagination', 'value' => array(__('No', 'progressive') => '', __('Yes', 'progressive') => '1')), ts_get_vc_map_textfield('Thumb Height (optional)', 'thumb_height'))));
    /*----------------------------------------------------------------------------*
     * Gallery
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Gallery Carousel', 'progressive'), 'base' => 'gallery_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), ts_get_vc_map_textfield('Title', 'title'), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories('gallery_category'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * FAQ
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('FAQ', 'progressive'), 'base' => 'faq', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings())));
    /*----------------------------------------------------------------------------*
     * Sevices
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Services', 'progressive'), 'base' => 'service', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Style1', 'progressive') => '1', __('Style2', 'progressive') => '2', __('Style3', 'progressive') => '3', __('Style4', 'progressive') => '4', __('Style5', 'progressive') => '5', __('Style6', 'progressive') => '6'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style Color', 'progressive'), 'param_name' => 'style_color', 'admin_label' => true, 'value' => array(__('Normal', 'progressive') => '', __('Light', 'progressive') => 'white'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Icon', 'progressive'), 'param_name' => 'icon', 'admin_label' => true, 'value' => ts_getFontAwesomeArray(), 'description' => '', 'edit_field_class' => 'vc_col-sm-12 vc_column icons-dropdown'), ts_get_livicons(), ts_get_vc_map_colorpicker('Icon Color', 'livicon_color', 'Livicons'), array('type' => 'dropdown', 'heading' => __('Livicons Size', 'progressive'), 'param_name' => 'livicon_size', 'group' => 'Livicons', 'value' => array(__('44', 'progressive') => '44', __('54', 'progressive') => '54', __('64', 'progressive') => '64'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Description', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text (no button if empty)', 'progressive'), 'param_name' => 'button_text', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'url', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * SModal1
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Modal', 'progressive'), 'base' => 'modal', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Description', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text ', 'progressive'), 'param_name' => 'button_text', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Modal2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Modal2', 'progressive'), 'base' => 'modal2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textarea_html', 'heading' => __('Description', 'progressive'), 'param_name' => 'message', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Button text ', 'progressive'), 'param_name' => 'button_text', 'admin_label' => false, 'description' => ''), array('type' => 'attach_image', 'heading' => __('Background Image', 'progressive'), 'param_name' => 'image', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Recent Posts2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Recent Posts2', 'progressive'), 'base' => 'recent_posts2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => false, 'value' => array(__('2 Column', 'progressive') => 'col-md-6', __('1 Column', 'progressive') => 'col-md-12'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Excerpt length', 'progressive'), 'param_name' => 'length', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'count', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('All Post Button Text', 'progressive'), 'param_name' => 'blog_text', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('All Post Button URL', 'progressive'), 'param_name' => 'blog_url', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Recent Posts
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Recent Posts', 'progressive'), 'base' => 'recent_posts', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Post Style', 'progressive'), 'param_name' => 'post_style', 'admin_label' => false, 'value' => array(__('Normal', 'progressive') => '', __('Light', 'progressive') => 'latest-posts-white'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Excerpt length', 'progressive'), 'param_name' => 'length', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'count', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('All Post Button Text', 'progressive'), 'param_name' => 'blog_text', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('All Post Button URL', 'progressive'), 'param_name' => 'blog_url', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Posts Slider
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Progressive Posts Slider', 'progressive'), 'base' => 'posts_slider', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Carousel with Image', 'progressive') => 'normal', __('Carousel with Image Full Width', 'progressive') => 'wide', __('Carousel with Pagination', 'progressive') => 'style1', __('Carousel with Navigation', 'progressive') => 'style2', __('Carousel with Navigation & Pagination', 'progressive') => 'style3', __('Carousel with Auto Scroll', 'progressive') => 'style4'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Excerpt length', 'progressive'), 'param_name' => 'length', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Number of Posts', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Category', 'progressive'), 'param_name' => 'category', 'admin_label' => true, 'value' => ts_get_post_type_categories(), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Autoplay', 'progressive'), 'param_name' => 'autoplay', 'admin_label' => true, 'value' => array(__('Disabled', 'progressive') => '', __('Enabled', 'progressive') => 'enabled'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Woo Products
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Products', 'progressive'), 'base' => 'woo_products', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Large', 'progressive') => 'style1', __('Medium', 'progressive') => 'style2', __('Small', 'progressive') => 'style3', __('Small Alt. Columns Layout', 'progressive') => 'style4'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Order By', 'progressive'), 'param_name' => 'orderby', 'admin_label' => true, 'value' => array(__('Date', 'progressive') => 'date', __('Price', 'progressive') => 'price', __('Random', 'progressive') => 'rand', __('Sales', 'progressive') => 'sales'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Show', 'progressive'), 'param_name' => 'show', 'admin_label' => true, 'value' => array(__('All Products', 'progressive') => '', __('Featured Products', 'progressive') => 'featured', __('On-sale Products', 'progressive') => 'onsale'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Sorting Order', 'progressive'), 'param_name' => 'order', 'admin_label' => true, 'value' => array(__('ASC', 'progressive') => 'asc', __('DESC', 'progressive') => 'desc'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Woo Products Carousel
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Products Carousel', 'progressive'), 'base' => 'woo_products_carousel', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Style', 'progressive'), 'param_name' => 'style', 'admin_label' => true, 'value' => array(__('Large', 'progressive') => 'style2', __('Medium', 'progressive') => 'style1', __('Small', 'progressive') => 'style3'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Double Row', 'progressive'), 'param_name' => 'double_product', 'admin_label' => false, 'value' => array(__('No', 'progressive') => 'no', __('Yes', 'progressive') => 'yes'), 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Order By', 'progressive'), 'param_name' => 'orderby', 'admin_label' => true, 'value' => array(__('Date', 'progressive') => 'date', __('Price', 'progressive') => 'price', __('Random', 'progressive') => 'rand', __('Sales', 'progressive') => 'sales'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Show', 'progressive'), 'param_name' => 'show', 'admin_label' => true, 'value' => array(__('All Products', 'progressive') => '', __('Featured Products', 'progressive') => 'featured', __('On-sale Products', 'progressive') => 'onsale'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Sorting Order', 'progressive'), 'param_name' => 'order', 'admin_label' => true, 'value' => array(__('ASC', 'progressive') => 'asc', __('DESC', 'progressive') => 'desc'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Woo Products 2
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Products 2', 'progressive'), 'base' => 'woo_products_2', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_delay_item_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Order By', 'progressive'), 'param_name' => 'orderby', 'admin_label' => true, 'value' => array(__('Date', 'progressive') => 'date', __('Price', 'progressive') => 'price', __('Random', 'progressive') => 'rand', __('Sales', 'progressive') => 'sales'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Show', 'progressive'), 'param_name' => 'show', 'admin_label' => true, 'value' => array(__('All Products', 'progressive') => '', __('Featured Products', 'progressive') => 'featured', __('On-sale Products', 'progressive') => 'onsale'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Sorting Order', 'progressive'), 'param_name' => 'order', 'admin_label' => true, 'value' => array(__('ASC', 'progressive') => 'asc', __('DESC', 'progressive') => 'desc'), 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Woo Products Widget
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Woo Products Widget', 'progressive'), 'base' => 'woo_products_widget', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Limit', 'progressive'), 'param_name' => 'limit', 'admin_label' => false, 'description' => ''), array('type' => 'dropdown', 'heading' => __('Order By', 'progressive'), 'param_name' => 'orderby', 'admin_label' => true, 'value' => array(__('Date', 'progressive') => 'date', __('Price', 'progressive') => 'price', __('Random', 'progressive') => 'rand', __('Sales', 'progressive') => 'sales'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Show', 'progressive'), 'param_name' => 'show', 'admin_label' => true, 'value' => array(__('All Products', 'progressive') => '', __('Featured Products', 'progressive') => 'featured', __('On-sale Products', 'progressive') => 'onsale'), 'description' => ''), array('type' => 'dropdown', 'heading' => __('Sorting Order', 'progressive'), 'param_name' => 'order', 'admin_label' => true, 'value' => array(__('ASC', 'progressive') => 'asc', __('DESC', 'progressive') => 'desc'), 'description' => ''), array('type' => 'textfield', 'heading' => __('URL', 'progressive'), 'param_name' => 'url', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Anchor text', 'progressive'), 'param_name' => 'anchor_text', 'admin_label' => false, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Person
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Person', 'progressive'), 'base' => 'person', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Person ID', 'progressive'), 'param_name' => 'id', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Team Member
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Team Member', 'progressive'), 'base' => 'team', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(array('type' => 'textfield', 'heading' => __('Name', 'progressive'), 'param_name' => 'name', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Designation', 'progressive'), 'param_name' => 'designation', 'admin_label' => true, 'description' => ''), array('type' => 'textarea', 'heading' => __('About Member', 'progressive'), 'param_name' => 'about', 'admin_label' => true, 'description' => ''), array("type" => "attach_image", "class" => "", "heading" => __("Image", 'progressive'), "param_name" => "member_img", "description" => __("Upload team member Image.", 'progressive')), array('type' => 'textfield', 'heading' => __('Email', 'progressive'), 'param_name' => 'email', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Phone', 'progressive'), 'param_name' => 'phone', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Facebook', 'progressive'), 'param_name' => 'facebook', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Twitter', 'progressive'), 'param_name' => 'twitter', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Google Plus', 'progressive'), 'param_name' => 'gplus', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Linked In', 'progressive'), 'param_name' => 'linkedin', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * Team Member
     *----------------------------------------------------------------------------*/
    vc_map(array('name' => __('Team Member with Text', 'progressive'), 'base' => 'team_text', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textarea_html', 'heading' => __('Text content', 'progressive'), 'param_name' => 'content', 'admin_label' => false, 'description' => ''), array('type' => 'textfield', 'heading' => __('Name', 'progressive'), 'param_name' => 'name', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Designation', 'progressive'), 'param_name' => 'designation', 'admin_label' => true, 'description' => ''), array('type' => 'textarea', 'heading' => __('About Member', 'progressive'), 'param_name' => 'about', 'admin_label' => true, 'description' => ''), array("type" => "attach_image", "class" => "", "heading" => __("Image", 'progressive'), "param_name" => "member_img", "description" => __("Upload team member Image.", 'progressive')), array('type' => 'textfield', 'heading' => __('Email', 'progressive'), 'param_name' => 'email', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Phone', 'progressive'), 'param_name' => 'phone', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Facebook', 'progressive'), 'param_name' => 'facebook', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Twitter', 'progressive'), 'param_name' => 'twitter', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Google Plus', 'progressive'), 'param_name' => 'gplus', 'admin_label' => true, 'description' => ''), array('type' => 'textfield', 'heading' => __('Linked In', 'progressive'), 'param_name' => 'linkedin', 'admin_label' => true, 'description' => ''))));
    /*----------------------------------------------------------------------------*
     * tiles
     *----------------------------------------------------------------------------*/
    vc_map(array("name" => __("Tiles", "framework"), "base" => "tiles", "as_parent" => array('only' => 'tiles_slider'), 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", "params" => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'attach_image', 'heading' => __('Image 1 (270x150px)', 'progressive'), 'param_name' => 'image_1', 'admin_label' => false, 'description' => ''), ts_get_vc_map_textfield(__('URL 1', 'progressive'), 'url_1'), ts_get_vc_element_target(__('Target 1', 'progressive'), 'target_1'), ts_get_vc_map_colorpicker(__('Background color 1', 'progressive'), 'background_color_1'), array('type' => 'attach_image', 'heading' => __('Image 2 (270x150px)', 'progressive'), 'param_name' => 'image_2', 'admin_label' => false, 'description' => ''), ts_get_vc_map_textfield(__('URL 2', 'progressive'), 'url_2'), ts_get_vc_element_target(__('Target 2', 'progressive'), 'target_2'), ts_get_vc_map_colorpicker(__('Background color 2', 'progressive'), 'background_color_2'), array('type' => 'attach_image', 'heading' => __('Image 3 (270x150px)', 'progressive'), 'param_name' => 'image_3', 'admin_label' => false, 'description' => ''), ts_get_vc_map_textfield(__('URL 3', 'progressive'), 'url_3'), ts_get_vc_element_target(__('Target 3', 'progressive'), 'target_3'), ts_get_vc_map_colorpicker(__('Background color 3', 'progressive'), 'background_color_3')), "js_view" => 'VcColumnView'));
    if (class_exists('WPBakeryShortCodesContainer')) {
        class WPBakeryShortCode_tiles extends WPBakeryShortCodesContainer
        {
        }
    }
    vc_map(array("name" => __("Tiles Slider", "framework"), "base" => "tiles_slider", "content_element" => true, "as_child" => array('only' => 'tiles'), "params" => array(array('type' => 'attach_image', 'heading' => __('Image', 'progressive'), 'param_name' => 'image', 'admin_label' => true, 'description' => ''), ts_get_vc_map_textfield(__('URL', 'progressive'), 'url', '', true), ts_get_vc_element_target(__('Target', 'progressive'), 'target', '', true))));
    if (class_exists('WPBakeryShortCode')) {
        class WPBakeryShortCode_tiles_slider extends WPBakeryShortCode
        {
        }
    }
    vc_map(array('name' => __('Progressive Menu', 'progressive'), 'base' => 'progressive_menu', 'class' => '', 'category' => __('Content', 'progressive'), 'admin_enqueue_js' => '', 'admin_enqueue_css' => '', "icon" => "xv_vc_icon", 'params' => array(ts_get_vc_animation_effects_settings(), ts_get_vc_animation_delay_settings(), ts_get_vc_animation_iteration_settings(), array('type' => 'textfield', 'heading' => __('Title', 'progressive'), 'param_name' => 'title', 'admin_label' => true, 'description' => ''), ts_get_vc_menus_dropdown())));
    $setting = ts_get_vc_map_colorpicker('Section Color', 'color');
    vc_add_param('vc_accordion_tab', $setting);
    $row_map = array('type' => 'dropdown', 'heading' => __('Break Container', 'progressive'), 'param_name' => 'container', 'admin_label' => true, 'value' => array(__('No', 'progressive') => 'no', __('Yes', 'progressive') => 'yes'), 'description' => '');
    vc_add_param('vc_row', $row_map);
}