Example #1
0
								</div>
							', 'default_content' => '
								[' . $this->prefix_shortcode . 'item title="' . __('Tab 1', 'webman-amplifier') . '"][/' . $this->prefix_shortcode . 'item]
								[' . $this->prefix_shortcode . 'item title="' . __('Tab 2', 'webman-amplifier') . '"][/' . $this->prefix_shortcode . 'item]
							', 'js_view' => 'VcCustomAccordionView', 'params' => array(10 => array('heading' => __('Active tab', 'webman-amplifier'), 'description' => __('Enter the order number of the tab which should be open by default', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'active', 'value' => 1, 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Layout', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'layout', 'value' => array(__('Tabs on top', 'webman-amplifier') => 'top', __('Tabs on left', 'webman-amplifier') => 'left', __('Tabs on right', 'webman-amplifier') => 'right'), 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Enable tour mode?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'tour', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 1), 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'item' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Item (Accordion or Tab Section)', 'webman-amplifier'), 'code' => '[PREFIX_item title="' . __('Title', 'webman-amplifier') . '" tags="" icon="" heading_tag=""]{{content}}[/PREFIX_item]', 'short' => false), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Item (Accordion / Tab)', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'item', 'class' => 'wm-shortcode-vc-item wm-sections-mode-section wpb_vc_accordion_tab', 'allowed_container_element' => 'vc_row', 'is_container' => true, 'content_element' => false, 'category' => __('Content', 'webman-amplifier'), 'js_view' => 'VcCustomAccordionTabView', 'params' => array(10 => array('heading' => __('Title', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'title', 'value' => '', 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Icon', 'webman-amplifier'), 'type' => 'wm_radio', 'param_name' => 'icon', 'value' => self::$codes_globals['font_icons'], 'custom' => '<i class="{{value}}" title="{{value}}" style="display: inline-block; width: 20px; height: 20px; line-height: 1em; font-size: 20px; vertical-align: top; color: #444;"></i>', 'filter' => true, 'hide_radio' => true, 'inline' => true, 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Tags', 'webman-amplifier'), 'description' => __('Enter comma separated tags. These will be used to filter through items.', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'tags', 'value' => '', 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('Heading HTML tag', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'heading_tag', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'audio' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Audio', 'webman-amplifier'), 'code' => '[PREFIX_audio src="" autoplay="0/1" loop="0/1" class="" /]', 'short' => false), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Audio', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'audio', 'class' => 'wm-shortcode-vc-audio', 'category' => __('Media', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Audio source', 'webman-amplifier'), 'description' => __('Set the audio URL', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'src', 'value' => '', 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Autoplay the audio?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'autoplay', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 'on'), 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Loop the audio?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'loop', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 'on'), 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'button' => array('since' => '1.0', 'preprocess' => true, 'generator' => array('name' => __('Button', 'webman-amplifier'), 'code' => '[PREFIX_button url="#" color="' . implode('/', array_keys(wma_ksort(self::$codes_globals['colors']))) . '" size="' . implode('/', array_keys(wma_ksort(self::$codes_globals['sizes']['options']))) . '" icon="" class=""]{{content}}[/PREFIX_button]', 'short' => true), 'bb_plugin' => array('name' => __('Button', 'webman-amplifier'), 'output' => '[PREFIX_button{{url}}{{target}}{{color}}{{size}}{{icon}}{{class}}]{{content}}[/PREFIX_button]', 'params' => array('url', 'target', 'color', 'size', 'icon', 'class', 'content'), 'form' => array('general' => array('title' => __('General', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('content' => array('type' => 'text', 'label' => __('Button text', 'webman-amplifier'), 'default' => __('Button Text', 'webman-amplifier'), 'preview' => array('type' => 'none')), 'url' => array('type' => 'text', 'label' => __('Button link URL', 'webman-amplifier'), 'default' => '#', 'preview' => array('type' => 'none')), 'target' => array('type' => 'select', 'label' => __('Target', 'webman-amplifier'), 'help' => __('Button link target', 'webman-amplifier'), 'options' => array('' => __('Open in same window', 'webman-amplifier'), '_blank' => __('Open in new window / tab', 'webman-amplifier')), 'preview' => array('type' => 'none')), 'color' => array('type' => 'select', 'label' => __('Color', 'webman-amplifier'), 'options' => self::$codes_globals['colors'], 'preview' => array('type' => 'none')), 'size' => array('type' => 'select', 'label' => __('Size', 'webman-amplifier'), 'options' => self::$codes_globals['sizes']['options'], 'preview' => array('type' => 'none')))))), 'icon' => array('title' => __('Icon', 'webman-amplifier'), 'description' => '', 'sections' => array('icon' => array('title' => __('Icon', 'webman-amplifier'), 'fields' => array('icon' => array('type' => 'wm_radio', 'label' => '', 'options' => self::$codes_globals['font_icons'], 'custom' => '<i class="{{value}}" title="{{value}}" style="display: inline-block; width: 20px; height: 20px; line-height: 1em; font-size: 20px; vertical-align: top; color: #444;"></i>', 'filter' => true, 'hide_radio' => true, 'inline' => true, 'preview' => array('type' => 'none')))))))), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Button', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'button', 'class' => 'wm-shortcode-vc-button', 'icon' => 'icon-wpb-ui-button', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Button text', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'content', 'value' => __('Button Text', 'webman-amplifier'), 'holder' => 'div', 'class' => ''), 20 => array('heading' => __('Button URL', 'webman-amplifier'), 'description' => __('Set the button link URL', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'url', 'value' => '#', 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Target', 'webman-amplifier'), 'description' => __('Button link target', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'target', 'value' => array(__('Open in same window', 'webman-amplifier') => '', __('Open in new window / tab', 'webman-amplifier') => '_blank'), 'holder' => 'hidden', 'class' => '', 'dependency' => array('element' => 'url', 'not_empty' => true)), 40 => array('heading' => __('Color', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'color', 'value' => $empty + array_flip(self::$codes_globals['colors']), 'holder' => 'hidden', 'class' => ''), 50 => array('heading' => __('Size', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'size', 'value' => $empty + array_flip(self::$codes_globals['sizes']['options']), 'holder' => 'hidden', 'class' => ''), 60 => array('heading' => __('Icon', 'webman-amplifier'), 'type' => 'wm_radio', 'param_name' => 'icon', 'value' => self::$codes_globals['font_icons'], 'custom' => '<i class="{{value}}" title="{{value}}" style="display: inline-block; width: 20px; height: 20px; line-height: 1em; font-size: 20px; vertical-align: top; color: #444;"></i>', 'filter' => true, 'hide_radio' => true, 'inline' => true, 'holder' => 'hidden', 'class' => ''), 70 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => ''), 80 => array('heading' => __('Optional HTML ID', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'id', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'call_to_action' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Call to Action', 'webman-amplifier'), 'code' => '[PREFIX_call_to_action caption="" button_text="" button_url="#" button_color="' . implode('/', array_keys(wma_ksort(self::$codes_globals['colors']))) . '" button_size="' . implode('/', array_keys(wma_ksort(self::$codes_globals['sizes']['options']))) . '" button_icon="" class=""]{{content}}[/PREFIX_call_to_action]', 'short' => false), 'bb_plugin' => array('name' => __('Call to Action', 'webman-amplifier'), 'output' => '[PREFIX_call_to_action{{caption}}{{heading_tag}}{{button_text}}{{button_url}}{{target}}{{button_color}}{{button_size}}{{button_icon}}{{class}}]{{content}}[/PREFIX_call_to_action]', 'params' => array('caption', 'heading_tag', 'button_text', 'button_url', 'target', 'button_color', 'button_size', 'button_icon', 'class', 'content'), 'form' => array('general' => array('title' => __('General', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('caption' => array('type' => 'text', 'label' => __('Caption', 'webman-amplifier'), 'default' => '', 'preview' => array('type' => 'none')), 'heading_tag' => array('type' => 'select', 'label' => __('Caption HTML tag', 'webman-amplifier'), 'description' => sprintf(esc_html__('Default value: %s', 'webman-amplifier'), 'H2'), 'options' => $heading_tags, 'preview' => array('type' => 'none')))), 'content' => array('title' => __('Content', 'webman-amplifier'), 'fields' => array('content' => array('type' => 'editor', 'label' => '', 'preview' => array('type' => 'none')))))), 'button' => array('title' => __('Button', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('button_text' => array('type' => 'text', 'label' => __('Button text', 'webman-amplifier'), 'default' => '', 'preview' => array('type' => 'none')), 'button_url' => array('type' => 'text', 'label' => __('Button link URL', 'webman-amplifier'), 'default' => '', 'preview' => array('type' => 'none')), 'target' => array('type' => 'select', 'label' => __('Target', 'webman-amplifier'), 'help' => __('Button link target', 'webman-amplifier'), 'options' => array('' => __('Open in same window', 'webman-amplifier'), '_blank' => __('Open in new window / tab', 'webman-amplifier')), 'preview' => array('type' => 'none')), 'button_color' => array('type' => 'select', 'label' => __('Button color', 'webman-amplifier'), 'options' => self::$codes_globals['colors'], 'preview' => array('type' => 'none')), 'button_size' => array('type' => 'select', 'label' => __('Button size', 'webman-amplifier'), 'options' => self::$codes_globals['sizes']['options'], 'preview' => array('type' => 'none')))), 'icon' => array('title' => __('Button icon', 'webman-amplifier'), 'fields' => array('button_icon' => array('type' => 'wm_radio', 'label' => '', 'options' => self::$codes_globals['font_icons'], 'custom' => '<i class="{{value}}" title="{{value}}" style="display: inline-block; width: 20px; height: 20px; line-height: 1em; font-size: 20px; vertical-align: top; color: #444;"></i>', 'filter' => true, 'hide_radio' => true, 'inline' => true, 'preview' => array('type' => 'none')))))))), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Call to Action', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'call_to_action', 'class' => 'wm-shortcode-vc-call_to_action', 'icon' => 'icon-wpb-call-to-action', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Caption', 'webman-amplifier'), 'description' => '', 'type' => 'textfield', 'param_name' => 'caption', 'value' => '', 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Content text', 'webman-amplifier'), 'description' => '', 'type' => 'textarea_html', 'param_name' => 'content', 'value' => '', 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Button text', 'webman-amplifier'), 'description' => '', 'type' => 'textfield', 'param_name' => 'button_text', 'value' => '', 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('Button link URL', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'button_url', 'value' => '', 'holder' => 'hidden', 'class' => ''), 50 => array('heading' => __('Button link target', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'target', 'value' => array(__('Open in same window', 'webman-amplifier') => '', __('Open in new window / tab', 'webman-amplifier') => '_blank'), 'holder' => 'hidden', 'class' => ''), 60 => array('heading' => __('Button color', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'button_color', 'value' => $empty + array_flip(self::$codes_globals['colors']), 'holder' => 'hidden', 'class' => ''), 70 => array('heading' => __('Button size', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'button_size', 'value' => $empty + array_flip(self::$codes_globals['sizes']['options']), 'holder' => 'hidden', 'class' => ''), 80 => array('heading' => __('Button icon', 'webman-amplifier'), 'description' => __('Choose one of available icons', 'webman-amplifier'), 'type' => 'wm_radio', 'param_name' => 'button_icon', 'value' => self::$codes_globals['font_icons'], 'custom' => '<i class="{{value}}" title="{{value}}" style="display: inline-block; width: 20px; height: 20px; line-height: 1em; font-size: 20px; vertical-align: top; color: #444;"></i>', 'filter' => true, 'hide_radio' => true, 'inline' => true, 'holder' => 'hidden', 'class' => ''), 90 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'column' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Column', 'webman-amplifier'), 'code' => wma_is_active_vc() ? '[vc_column width="1/1,1/2,1/3,2/3,1/4,3/4,1/6,5/6" bg_attachment="" bg_color="" bg_image="" bg_position="" bg_repeat="" bg_size="" class="" font_color="" id="" padding=""]{{content}}[/vc_column]' : '[PREFIX_column width="' . implode(',', self::$codes_globals['column_widths']) . '" last="0/1" bg_attachment="" bg_color="" bg_image="" bg_position="" bg_repeat="" bg_size="" class="" font_color="" id="" padding=""]{{content}}[/PREFIX_column]', 'short' => false)), 'countdown_timer' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Countdown Timer', 'webman-amplifier'), 'code' => '[PREFIX_countdown_timer time="' . date(get_option('date_format'), strtotime('now')) . '" size="' . implode('/', array_keys(wma_ksort(self::$codes_globals['sizes']['options']))) . '" class="" /]', 'short' => false), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Countdown Timer', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'countdown_timer', 'class' => 'wm-shortcode-vc-countdown_timer', 'icon' => 'vc_icon-vc-gitem-post-date', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Time', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'time', 'value' => date(get_option('date_format'), strtotime('now')), 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Size', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'size', 'value' => $empty + array_flip(self::$codes_globals['sizes']['options']), 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'content_module' => array('since' => '1.0', 'post_type_required' => 'wm_modules', 'preprocess' => false, 'generator' => array('name' => __('Content Module', 'webman-amplifier'), 'code' => '[PREFIX_content_module module="module-slug" align="left/right" columns="4" count="-1" order="new/old/name/random" tag="" image_size="" filter="0/1" scroll="0" pagination="0/1" no_margin="0/1" layout="" class=""]{{content}}[/PREFIX_content_module]', 'short' => false), 'bb_plugin' => array('name' => __('Content Module', 'webman-amplifier'), 'output' => '[PREFIX_content_module{{module}}{{align}}{{columns}}{{count}}{{order}}{{tag}}{{image_size}}{{filter}}{{scroll}}{{pagination}}{{no_margin}}{{heading_tag}}{{layout}}{{class}}]{{content}}[/PREFIX_content_module]', 'params' => array('module', 'align', 'columns', 'count', 'order', 'tag', 'image_size', 'filter', 'scroll', 'pagination', 'no_margin', 'heading_tag', 'layout', 'class', 'content'), 'form' => array('general' => array('title' => __('General', 'webman-amplifier'), 'description' => '', 'sections' => array('single' => array('title' => __('Single module display', 'webman-amplifier'), 'fields' => array('module' => array('type' => 'select', 'label' => __('Single module', 'webman-amplifier'), 'help' => __('Leave empty to display multiple modules', 'webman-amplifier'), 'options' => $wm_modules_slugs, 'preview' => array('type' => 'refresh')))), 'multiple' => array('title' => __('Multiple modules display', 'webman-amplifier'), 'fields' => array('count' => array('type' => 'text', 'label' => __('Count', 'webman-amplifier'), 'help' => __('Number of items to display (use "-1" to display all)', 'webman-amplifier'), 'default' => 3, 'preview' => array('type' => 'refresh')), 'columns' => array('type' => 'select', 'label' => __('Columns', 'webman-amplifier'), 'default' => 3, 'options' => array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'preview' => array('type' => 'refresh')), 'order' => array('type' => 'select', 'label' => __('Order', 'webman-amplifier'), 'options' => array('new' => __('Newest first', 'webman-amplifier'), 'old' => __('Oldest first', 'webman-amplifier'), 'name' => __('By name', 'webman-amplifier'), 'random' => __('Randomly', 'webman-amplifier')), 'preview' => array('type' => 'refresh')), 'filter' => array('type' => 'select', 'label' => __('Filtering', 'webman-amplifier'), 'help' => __('Display the modules filter from module tags?', 'webman-amplifier'), 'options' => array('' => __('No', 'webman-amplifier'), 1 => __('Yes', 'webman-amplifier')), 'preview' => array('type' => 'refresh')), 'scroll' => array('type' => 'text', 'label' => __('Scrolling', 'webman-amplifier'), 'help' => __('Set 1-999 for manual scrolling, set 1000+ for automatic scrolling. The value for automatic scrolling represents the time of a scroll in miliseconds. Leave empty to disable scrolling.', 'webman-amplifier'), 'preview' => array('type' => 'refresh')), 'tag' => array('type' => 'select', 'label' => __('Tagged as', 'webman-amplifier'), 'help' => __('Display specifically tagged items only', 'webman-amplifier'), 'options' => $wm_modules_tags, 'preview' => array('type' => 'refresh')), 'pagination' => array('type' => 'select', 'label' => __('Display pagination?', 'webman-amplifier'), 'options' => array('' => __('No', 'webman-amplifier'), 1 => __('Yes', 'webman-amplifier')), 'preview' => array('type' => 'refresh')))))), 'description' => array('title' => __('Description', 'webman-amplifier'), 'description' => '', 'sections' => array('description' => array('title' => '', 'fields' => array('align' => array('type' => 'select', 'label' => __('Description alignment', 'webman-amplifier'), 'options' => array('left' => __('Left', 'webman-amplifier'), 'right' => __('Right', 'webman-amplifier')), 'preview' => array('type' => 'refresh')))), 'content' => array('title' => __('Content', 'webman-amplifier'), 'fields' => array('content' => array('type' => 'editor', 'label' => '', 'preview' => array('type' => 'refresh')))))), 'others' => array('title' => __('Others', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('no_margin' => array('type' => 'select', 'label' => __('Remove gap between items?', 'webman-amplifier'), 'options' => array('' => __('No', 'webman-amplifier'), 1 => __('Yes', 'webman-amplifier')), 'preview' => array('type' => 'refresh')), 'image_size' => array('type' => 'select', 'label' => __('Image size', 'webman-amplifier'), 'options' => wma_asort(array_merge(array('' => ''), wma_get_image_sizes())), 'preview' => array('type' => 'refresh')), 'heading_tag' => array('type' => 'select', 'label' => __('Heading HTML tag', 'webman-amplifier'), 'description' => sprintf(esc_html__('Default value: %s', 'webman-amplifier'), 'H2'), 'options' => $heading_tags, 'preview' => array('type' => 'none')), 'layout' => array('type' => 'text', 'label' => __('Custom layout', 'webman-amplifier'), 'description' => '<br />' . sprintf(__('Set the custom layout of the output. Order the predefined items (%s) separated with comma (no spaces).', 'webman-amplifier'), '<code>content,image,morelink,tag,title</code>'), 'preview' => array('type' => 'refresh')))))))), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Content Module', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'content_module', 'class' => 'wm-shortcode-vc-content_module', 'icon' => 'icon-wpb-toggle-small-expand', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Single module', 'webman-amplifier'), 'description' => __('Leave empty to display multiple modules', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'module', 'value' => array_flip($wm_modules_slugs), 'holder' => 'div', 'class' => ''), 20 => array('heading' => __('Count', 'webman-amplifier'), 'description' => __('Number of items to display (use "-1" to display all)', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'count', 'value' => 3, 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 30 => array('heading' => __('Columns', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'columns', 'value' => array('' => '', 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 40 => array('heading' => __('Order', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'order', 'value' => array(__('Newest first', 'webman-amplifier') => 'new', __('Oldest first', 'webman-amplifier') => 'old', __('By name', 'webman-amplifier') => 'name', __('Randomly', 'webman-amplifier') => 'random'), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 50 => array('heading' => __('Filter', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'filter', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 1), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 60 => array('heading' => __('Scrolling', 'webman-amplifier'), 'description' => __('Set 1-999 for manual scrolling, set 1000+ for automatic scrolling. The value for automatic scrolling represents the time of a scroll in miliseconds. Leave empty to disable scrolling.', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'scroll', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 70 => array('heading' => __('Tag', 'webman-amplifier'), 'description' => __('Display specifically tagged items only', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'tag', 'value' => array_flip($wm_modules_tags), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 80 => array('heading' => __('Display pagination?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'pagination', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 1), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 90 => array('heading' => __('Description text (HTML)', 'webman-amplifier'), 'description' => '', 'type' => 'textarea', 'param_name' => 'content', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 100 => array('heading' => __('Description alignment', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'align', 'value' => array(__('Left', 'webman-amplifier') => 'left', __('Right', 'webman-amplifier') => 'right'), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 110 => array('heading' => __('Remove gap between items?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'no_margin', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 1), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 120 => array('heading' => __('Image size', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'image_size', 'value' => wma_asort($empty + array_flip(wma_get_image_sizes())), 'holder' => 'hidden', 'class' => '', 'group' => __('Layout', 'webman-amplifier')), 130 => array('heading' => __('Custom layout', 'webman-amplifier'), 'description' => sprintf(__('Set the custom layout of the output. Order the predefined items (%s) separated with comma (no spaces).', 'webman-amplifier'), '<code>content,image,morelink,tag,title</code>'), 'type' => 'textfield', 'param_name' => 'layout', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Layout', 'webman-amplifier')), 140 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'divider' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Divider / Gap', 'webman-amplifier'), 'code' => '[PREFIX_divider appearance="' . implode('/', array_keys(wma_ksort(self::$codes_globals['divider_appearance']))) . '" space_before="" space_after="" class="" /]', 'short' => true), 'bb_plugin' => array('name' => __('Divider / Gap', 'webman-amplifier'), 'output' => '[PREFIX_divider{{appearance}}{{class}} /]', 'params' => array('appearance', 'class'), 'form' => array('general' => array('title' => __('General', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('appearance' => array('type' => 'select', 'label' => __('Appearance', 'webman-amplifier'), 'options' => self::$codes_globals['divider_appearance'], 'preview' => array('type' => 'refresh')))))))), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Divider / Gap', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'divider', 'class' => 'wm-shortcode-vc-divider', 'icon' => 'icon-wpb-ui-separator', 'show_settings_on_create' => false, 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Appearance', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'appearance', 'value' => array_flip(self::$codes_globals['divider_appearance']), 'holder' => 'div', 'class' => ''), 20 => array('heading' => __('Space before divider', 'webman-amplifier'), 'description' => __('Insert a number (of pixels)', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'space_before', 'value' => '', 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Space after divider', 'webman-amplifier'), 'description' => __('Insert a number (of pixels)', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'space_after', 'value' => '', 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => ''), 50 => array('heading' => __('CSS styles', 'webman-amplifier'), 'description' => __('Any custom CSS style inserted into style HTML attribute', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'style', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'dropcap' => array('since' => '1.0', 'preprocess' => true, 'generator' => array('name' => __('Dropcap', 'webman-amplifier'), 'code' => '[PREFIX_dropcap color="' . implode('/', array_keys(wma_ksort(self::$codes_globals['colors']))) . '" shape="' . implode('/', array_keys(wma_ksort(self::$codes_globals['dropcap_shapes']))) . '" class=""]{{content}}[/PREFIX_dropcap]', 'short' => true)), 'icon' => array('since' => '1.0', 'preprocess' => true, 'generator' => array('name' => __('Icon / Social Icon', 'webman-amplifier'), 'code' => '[PREFIX_icon class="icon-class" social="' . implode('/', $wm_social_icons_array) . '" url="" size="' . implode('/', array_keys(wma_ksort(self::$codes_globals['sizes']['options']))) . '" /]', 'short' => true), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Icon / Social Icon', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'icon', 'class' => 'wm-shortcode-vc-icon', 'icon' => 'icon-wpb-vc_icon', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Icon', 'webman-amplifier'), 'type' => 'wm_radio', 'param_name' => 'icon', 'value' => self::$codes_globals['font_icons'], 'custom' => '<i class="{{value}}" title="{{value}}" style="display: inline-block; width: 20px; height: 20px; line-height: 1em; font-size: 20px; vertical-align: top; color: #444;"></i>', 'filter' => true, 'hide_radio' => true, 'inline' => true, 'holder' => 'div', 'class' => ''), 20 => array('heading' => __('Size', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'size', 'value' => $empty + array_flip(self::$codes_globals['sizes']['options']), 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Social icon?', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'social', 'value' => $wm_social_icons_array, 'holder' => 'hidden', 'class' => '', 'group' => __('Social icon', 'webman-amplifier')), 40 => array('heading' => __('Social icon link URL', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'url', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Social icon', 'webman-amplifier')), 50 => array('heading' => __('Target', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'target', 'value' => array(__('Open in same window', 'webman-amplifier') => '', __('Open in new window / tab', 'webman-amplifier') => '_blank'), 'holder' => 'hidden', 'class' => '', 'group' => __('Social icon', 'webman-amplifier')), 60 => array('heading' => __('Social icon title', 'webman-amplifier'), 'description' => __('Will be displayed when mouse hovers over the icon', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'title', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Social icon', 'webman-amplifier')), 70 => array('heading' => __('Social icon relation', 'webman-amplifier'), 'description' => __('The HTML "rel" attribute', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'rel', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Social icon', 'webman-amplifier')), 80 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => ''), 90 => array('heading' => __('CSS styles', 'webman-amplifier'), 'description' => __('Any custom CSS style inserted into style HTML attribute', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'style', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'list' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Icon List', 'webman-amplifier'), 'code' => '[PREFIX_list bullet="icon-class" class=""]<ul><li>{{content}}</li><li>' . __('List item', 'webman-amplifier') . '</li></ul>[/PREFIX_list]', 'short' => true), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Icon List', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'list', 'class' => 'wm-shortcode-vc-list', 'icon' => 'icon-wpb-vc_icon', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('List items (insert unordered list only)', 'webman-amplifier'), 'description' => '', 'type' => 'textarea_html', 'param_name' => 'content', 'value' => '<ul><li>TEXT</li><li>TEXT</li></ul>', 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Bullet icon', 'webman-amplifier'), 'type' => 'wm_radio', 'param_name' => 'bullet', 'value' => self::$codes_globals['font_icons'], 'custom' => '<i class="{{value}}" title="{{value}}" style="display: inline-block; width: 20px; height: 20px; line-height: 1em; font-size: 20px; vertical-align: top; color: #444;"></i>', 'filter' => true, 'hide_radio' => true, 'inline' => true, 'holder' => 'div', 'class' => ''), 30 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'last_update' => array('since' => '1.0', 'preprocess' => true, 'generator' => array('name' => __('Last Update Time', 'webman-amplifier'), 'code' => '[PREFIX_last_update post_type="' . implode('/', array_merge(array('post', 'page'), get_post_types(array('_builtin' => false)))) . '" format="" class="" /]', 'short' => true)), 'marker' => array('since' => '1.0', 'preprocess' => true, 'generator' => array('name' => __('Marker', 'webman-amplifier'), 'code' => '[PREFIX_marker color="' . implode('/', array_keys(wma_ksort(self::$codes_globals['colors']))) . '" class=""]{{content}}[/PREFIX_marker]', 'short' => true)), 'message' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Message', 'webman-amplifier'), 'code' => '[PREFIX_message title="" color="' . implode('/', array_keys(wma_ksort(self::$codes_globals['colors']))) . '" size="' . implode('/', array_keys(wma_ksort(self::$codes_globals['sizes']['options']))) . '" icon="" class=""]{{content}}[/PREFIX_message]'), 'bb_plugin' => array('name' => __('Message', 'webman-amplifier'), 'output' => '[PREFIX_message{{title}}{{heading_tag}}{{color}}{{size}}{{icon}}{{class}}]{{content}}[/PREFIX_message]', 'params' => array('title', 'heading_tag', 'color', 'size', 'icon', 'class', 'content'), 'form' => array('general' => array('title' => __('General', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('title' => array('type' => 'text', 'label' => __('Caption', 'webman-amplifier'), 'default' => '', 'preview' => array('type' => 'refresh')), 'heading_tag' => array('type' => 'select', 'label' => __('Caption HTML tag', 'webman-amplifier'), 'description' => sprintf(esc_html__('Default value: %s', 'webman-amplifier'), 'H3'), 'options' => $heading_tags, 'preview' => array('type' => 'none')))), 'content' => array('title' => __('Content', 'webman-amplifier'), 'fields' => array('content' => array('type' => 'editor', 'label' => '', 'preview' => array('type' => 'refresh')))))), 'icon' => array('title' => __('Icon', 'webman-amplifier'), 'description' => '', 'sections' => array('icon' => array('title' => __('Icon', 'webman-amplifier'), 'fields' => array('icon' => array('type' => 'wm_radio', 'label' => '', 'options' => self::$codes_globals['font_icons'], 'custom' => '<i class="{{value}}" title="{{value}}" style="display: inline-block; width: 20px; height: 20px; line-height: 1em; font-size: 20px; vertical-align: top; color: #444;"></i>', 'filter' => true, 'hide_radio' => true, 'inline' => true, 'preview' => array('type' => 'none')))))), 'others' => array('title' => __('Others', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('color' => array('type' => 'select', 'label' => __('Color', 'webman-amplifier'), 'options' => self::$codes_globals['colors'], 'preview' => array('type' => 'refresh')), 'size' => array('type' => 'select', 'label' => __('Size', 'webman-amplifier'), 'options' => self::$codes_globals['sizes']['options'], 'preview' => array('type' => 'refresh')))))))), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Message', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'message', 'class' => 'wm-shortcode-vc-message', 'icon' => 'icon-wpb-information-white', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Caption', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'title', 'value' => '', 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Content', 'webman-amplifier'), 'description' => '', 'type' => 'textarea_html', 'param_name' => 'content', 'value' => '', 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Color', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'color', 'value' => $empty + array_flip(self::$codes_globals['colors']), 'holder' => 'div', 'class' => ''), 40 => array('heading' => __('Size', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'size', 'value' => $empty + array_flip(self::$codes_globals['sizes']['options']), 'holder' => 'hidden', 'class' => ''), 50 => array('heading' => __('Icon', 'webman-amplifier'), 'type' => 'wm_radio', 'param_name' => 'icon', 'value' => self::$codes_globals['font_icons'], 'custom' => '<i class="{{value}}" title="{{value}}" style="display: inline-block; width: 20px; height: 20px; line-height: 1em; font-size: 20px; vertical-align: top; color: #444;"></i>', 'filter' => true, 'hide_radio' => true, 'inline' => true, 'holder' => 'hidden', 'class' => ''), 60 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'meta' => array('since' => '1.0.9', 'preprocess' => false, 'generator' => array()), 'posts' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Posts / Custom Posts', 'webman-amplifier'), 'code' => '[PREFIX_posts post_type="' . implode('/', array_keys(wma_ksort(self::$codes_globals['post_types']))) . '" align="left/right" columns="4" count="-1" image_size="" order="new/old/name/random" taxonomy="taxonomy_name:taxonomy_slug" filter="taxonomy_name" scroll="0" pagination="0/1" related="0/1" no_margin="0/1" layout="" class=""]{{content}}[/PREFIX_posts]', 'short' => false), 'bb_plugin' => array('name' => __('Posts / Custom Posts', 'webman-amplifier'), 'output' => '[PREFIX_posts{{post_type}}{{align}}{{columns}}{{count}}{{order}}{{taxonomy}}{{image_size}}{{filter}}{{scroll}}{{pagination}}{{related}}{{no_margin}}{{heading_tag}}{{class}}]{{content}}[/PREFIX_posts]', 'params' => array('post_type', 'align', 'columns', 'count', 'order', 'taxonomy', 'image_size', 'filter', 'scroll', 'pagination', 'related', 'no_margin', 'heading_tag', 'class', 'content'), 'form' => array('general' => array('title' => __('General', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('post_type' => array('type' => 'select', 'label' => __('Post type', 'webman-amplifier'), 'help' => __('This shortcode can display several post types. Choose the one you want to display.', 'webman-amplifier'), 'options' => self::$codes_globals['post_types'], 'preview' => array('type' => 'refresh')), 'count' => array('type' => 'text', 'label' => __('Count', 'webman-amplifier'), 'help' => __('Number of items to display (use "-1" to display all)', 'webman-amplifier'), 'default' => 3, 'preview' => array('type' => 'refresh')), 'columns' => array('type' => 'select', 'label' => __('Columns', 'webman-amplifier'), 'default' => 3, 'options' => array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'preview' => array('type' => 'refresh')), 'order' => array('type' => 'select', 'label' => __('Order', 'webman-amplifier'), 'options' => array('new' => __('Newest first', 'webman-amplifier'), 'old' => __('Oldest first', 'webman-amplifier'), 'name' => __('By name', 'webman-amplifier'), 'random' => __('Randomly', 'webman-amplifier')), 'preview' => array('type' => 'refresh')))))), 'description' => array('title' => __('Description', 'webman-amplifier'), 'description' => '', 'sections' => array('description' => array('title' => '', 'fields' => array('align' => array('type' => 'select', 'label' => __('Description alignment', 'webman-amplifier'), 'options' => array('left' => __('Left', 'webman-amplifier'), 'right' => __('Right', 'webman-amplifier')), 'preview' => array('type' => 'refresh')))), 'content' => array('title' => __('Content', 'webman-amplifier'), 'fields' => array('content' => array('type' => 'editor', 'label' => '', 'preview' => array('type' => 'refresh')))))), 'others' => array('title' => __('Others', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('no_margin' => array('type' => 'select', 'label' => __('Remove gap between items?', 'webman-amplifier'), 'options' => array('' => __('No', 'webman-amplifier'), 1 => __('Yes', 'webman-amplifier')), 'preview' => array('type' => 'refresh')), 'taxonomy' => array('type' => 'text', 'label' => __('From taxonomy', 'webman-amplifier'), 'description' => '<br />' . __('Example: "taxonomy_name" or more specific "taxonomy_name:taxonomy-slug".', 'webman-amplifier') . '<br />' . __('Available taxonomy names:', 'webman-amplifier') . ' <code>' . implode(', ', $wm_taxonomies) . '</code>', 'preview' => array('type' => 'refresh')), 'filter' => array('type' => 'text', 'label' => __('Filter by', 'webman-amplifier'), 'description' => '<br />' . __('Example: "taxonomy_name" or more specific "taxonomy_name:taxonomy-slug".', 'webman-amplifier') . '<br />' . __('Available taxonomy names:', 'webman-amplifier') . ' <code>' . implode(', ', $wm_taxonomies) . '</code>', 'preview' => array('type' => 'refresh')), 'filter_layout' => array('type' => 'text', 'label' => __('Filter layout', 'webman-amplifier'), 'description' => sprintf(__('Use one of <a%s>Isotope</a> layouts.', 'webman-amplifier'), ' href="http://isotope.metafizzy.co/layout-modes.html" target="_blank"') . ' ' . __('Default is set to <code>fitRows</code>.', 'webman-amplifier'), 'preview' => array('type' => 'refresh')), 'scroll' => array('type' => 'text', 'label' => __('Scrolling', 'webman-amplifier'), 'help' => __('Set 1-999 for manual scrolling, set 1000+ for automatic scrolling. The value for automatic scrolling represents the time of a scroll in miliseconds. Leave empty to disable scrolling.', 'webman-amplifier'), 'preview' => array('type' => 'refresh')), 'related' => array('type' => 'select', 'label' => __('Related by', 'webman-amplifier'), 'help' => __('Use only on single post/custom post pages. Displays items related to recently displayed item through a specific taxonomy. Set a taxonomy name only.', 'webman-amplifier'), 'options' => wma_asort(array_merge(array('' => ''), $wm_taxonomies)), 'preview' => array('type' => 'none')), 'pagination' => array('type' => 'select', 'label' => __('Display pagination?', 'webman-amplifier'), 'options' => array('' => __('No', 'webman-amplifier'), 1 => __('Yes', 'webman-amplifier')), 'preview' => array('type' => 'refresh')), 'image_size' => array('type' => 'select', 'label' => __('Image size', 'webman-amplifier'), 'options' => wma_asort(array_merge(array('' => ''), wma_get_image_sizes())), 'preview' => array('type' => 'refresh')), 'heading_tag' => array('type' => 'select', 'label' => __('Heading HTML tag', 'webman-amplifier'), 'description' => sprintf(esc_html__('Default value: %s', 'webman-amplifier'), 'H2'), 'options' => $heading_tags, 'preview' => array('type' => 'none')))))))), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Posts / Custom Posts', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'posts', 'class' => 'wm-shortcode-vc-posts', 'icon' => 'icon-wpb-vc_carousel', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Post type', 'webman-amplifier'), 'description' => __('This shortcode can display several post types. Choose the one you want to display.', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'post_type', 'value' => $empty + array_flip(self::$codes_globals['post_types']), 'holder' => 'div', 'class' => ''), 20 => array('heading' => __('Count', 'webman-amplifier'), 'description' => __('Number of items to display (use "-1" to display all)', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'count', 'value' => 3, 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Columns', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'columns', 'value' => array('' => '', 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('Order', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'order', 'value' => array(__('Newest first', 'webman-amplifier') => 'new', __('Oldest first', 'webman-amplifier') => 'old', __('By name', 'webman-amplifier') => 'name', __('Randomly', 'webman-amplifier') => 'random'), 'holder' => 'hidden', 'class' => ''), 50 => array('heading' => __('Taxonomy', 'webman-amplifier'), 'description' => __('Displays items only from a specific taxonomy. Set a taxonomy name and taxonomy slug separated with colon.', 'webman-amplifier') . '<br />' . __('For example: "category:category-slug".', 'webman-amplifier') . '<br />' . __('Available taxonomy names:', 'webman-amplifier') . ' <code>' . implode('</code>, <code>', $wm_taxonomies) . '</code>', 'type' => 'textfield', 'param_name' => 'taxonomy', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Taxonomy', 'webman-amplifier')), 60 => array('heading' => __('Relation', 'webman-amplifier'), 'description' => __('Use only on single post/custom post pages. Displays items related to recently displayed item through a specific taxonomy. Set a taxonomy name only.', 'webman-amplifier') . ' ' . __('For example: "category".', 'webman-amplifier') . '<br />' . __('Available taxonomy names:', 'webman-amplifier') . ' <code>' . implode('</code>, <code>', $wm_taxonomies) . '</code>', 'type' => 'textfield', 'param_name' => 'related', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Taxonomy', 'webman-amplifier')), 70 => array('heading' => __('Filter', 'webman-amplifier'), 'description' => __('If set, the items will be filtered. Set a taxonomy name (and optional parent taxonomy slug separated with colon - filter will be created from sub-taxonomies) which will be used to filter the items.', 'webman-amplifier') . '<br />' . __('For example: "category" or "category:parent-category-slug".', 'webman-amplifier') . '<br />' . __('Available taxonomy names:', 'webman-amplifier') . ' <code>' . implode('</code>, <code>', $wm_taxonomies) . '</code>', 'type' => 'textfield', 'param_name' => 'filter', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Filter / Scroll', 'webman-amplifier')), 80 => array('heading' => __('Filter layout', 'webman-amplifier'), 'description' => sprintf(__('Use one of <a%s>Isotope</a> layouts.', 'webman-amplifier'), ' href="http://isotope.metafizzy.co/layout-modes.html" target="_blank"') . ' ' . __('Default is set to <code>fitRows</code>.', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'filter_layout', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Filter / Scroll', 'webman-amplifier')), 90 => array('heading' => __('Scrolling', 'webman-amplifier'), 'description' => __('Set 1-999 for manual scrolling, set 1000+ for automatic scrolling. The value for automatic scrolling represents the time of a scroll in miliseconds. Leave empty to disable scrolling.', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'scroll', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Filter / Scroll', 'webman-amplifier')), 100 => array('heading' => __('Display pagination?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'pagination', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 1), 'holder' => 'hidden', 'class' => ''), 110 => array('heading' => __('Description text', 'webman-amplifier'), 'description' => '', 'type' => 'textarea_html', 'param_name' => 'content', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Description', 'webman-amplifier')), 120 => array('heading' => __('Description alignment', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'align', 'value' => array(__('Left', 'webman-amplifier') => 'left', __('Right', 'webman-amplifier') => 'right'), 'holder' => 'hidden', 'class' => '', 'group' => __('Description', 'webman-amplifier')), 130 => array('heading' => __('Remove gap between items?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'no_margin', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 1), 'holder' => 'hidden', 'class' => '', 'group' => __('Layout', 'webman-amplifier')), 140 => array('heading' => __('Image size', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'image_size', 'value' => wma_asort($empty + array_flip(wma_get_image_sizes())), 'holder' => 'hidden', 'class' => '', 'group' => __('Layout', 'webman-amplifier')), 150 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'pre' => array('since' => '1.0', 'preprocess' => true, 'generator' => array('name' => __('Preformatted Text', 'webman-amplifier'), 'code' => '[PREFIX_pre]{{content}}[/PREFIX_pre]', 'short' => true)), 'pricing_table' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Pricing Table', 'webman-amplifier'), 'code' => '[PREFIX_pricing_table no_margin="0/1" class=""]<br />[PREFIX_price caption="' . __('Price 1', 'webman-amplifier') . '" color="" color_text="" cost="" heading_tag="" appearance="NONE/featured/legend" class=""]{{content}}[/PREFIX_price]<br />[PREFIX_price caption="' . __('Price 2', 'webman-amplifier') . '" color="" color_text="" cost="" heading_tag="" appearance="NONE/featured/legend" class=""]' . __('Price 2 content goes here', 'webman-amplifier') . '[/PREFIX_price]<br />[/PREFIX_pricing_table]', 'short' => false), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Pricing Table', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'pricing_table', 'class' => 'wm-shortcode-vc-pricing_table wm-sections-mode', 'show_settings_on_create' => false, 'is_container' => true, 'category' => __('Content', 'webman-amplifier'), 'custom_markup' => '
								<h4 class="wm-sections-mode-title wpb_element_title"><i class="vc_general vc_element-icon" data-is-container="true"></i> ' . __('Pricing table', 'webman-amplifier') . '</h4>
								<div class="wpb_accordion_holder wpb_holder clearfix vc_container_for_children">
									%content%
								</div>
								<div class="tab_controls">
									<button data-item="' . $this->prefix_shortcode . 'price" data-item-title="' . __('Price', 'webman-amplifier') . '" class="add_tab" title="' . __('Pricing table: Add new price', 'webman-amplifier') . '">' . __('Pricing table: Add new price', 'webman-amplifier') . '</button>
								</div>
							', 'default_content' => '
								[' . $this->prefix_shortcode . 'price caption="' . __('Price 1', 'webman-amplifier') . '"]' . __('<ul><li>Price feature</li><li>Another price feature</li></ul>', 'webman-amplifier') . '[' . $this->prefix_shortcode . 'button url="#" color="' . implode('/', array_keys(wma_ksort(self::$codes_globals['colors']))) . '" size="' . implode('/', array_keys(wma_ksort(self::$codes_globals['sizes']['options']))) . '" icon="" class=""]' . __('Button text', 'webman-amplifier') . '[/' . $this->prefix_shortcode . 'button][/' . $this->prefix_shortcode . 'price]
								[' . $this->prefix_shortcode . 'price caption="' . __('Price 2', 'webman-amplifier') . '"]' . __('<ul><li>Price feature</li><li>Another price feature</li></ul>', 'webman-amplifier') . '[' . $this->prefix_shortcode . 'button url="#" color="' . implode('/', array_keys(wma_ksort(self::$codes_globals['colors']))) . '" size="' . implode('/', array_keys(wma_ksort(self::$codes_globals['sizes']['options']))) . '" icon="" class=""]' . __('Button text', 'webman-amplifier') . '[/' . $this->prefix_shortcode . 'button][/' . $this->prefix_shortcode . 'price]
							', 'js_view' => 'VcCustomPricingTableView', 'params' => array(10 => array('heading' => __('Remove margins between price columns?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'no_margin', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 1), 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'price' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Price', 'webman-amplifier'), 'code' => '[PREFIX_price caption="' . __('Title', 'webman-amplifier') . '" cost="99$" color="" color_text="" appearance="default/featured/legend" class=""]{{content}}[/PREFIX_price]', 'short' => false), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Price', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'price', 'class' => 'wm-shortcode-vc-price', 'content_element' => false, 'category' => __('Content', 'webman-amplifier'), 'params' => array(array('heading' => __('Caption', 'webman-amplifier'), 'description' => '', 'type' => 'textfield', 'param_name' => 'caption', 'value' => '', 'holder' => 'div', 'class' => ''), array('heading' => __('Cost', 'webman-amplifier'), 'type' => 'textarea', 'param_name' => 'cost', 'value' => '', 'holder' => 'hidden', 'class' => ''), array('heading' => __('Features list', 'webman-amplifier'), 'description' => __('Insert an unordered list of features', 'webman-amplifier'), 'type' => 'textarea_html', 'param_name' => 'content', 'value' => __('<ul><li>Price feature</li><li>Another price feature</li></ul>', 'webman-amplifier') . '[' . $this->prefix_shortcode . 'button url="#" color="' . implode('/', array_keys(wma_ksort(self::$codes_globals['colors']))) . '" size="' . implode('/', array_keys(wma_ksort(self::$codes_globals['sizes']['options']))) . '" icon="" class=""]' . __('Button text', 'webman-amplifier') . '[/' . $this->prefix_shortcode . 'button]', 'holder' => 'hidden', 'class' => ''), array('heading' => __('Column color', 'webman-amplifier'), 'description' => '', 'type' => 'colorpicker', 'param_name' => 'color', 'value' => '', 'holder' => 'hidden', 'class' => ''), array('heading' => __('Column text color', 'webman-amplifier'), 'type' => 'colorpicker', 'param_name' => 'color_text', 'value' => '', 'holder' => 'hidden', 'class' => ''), array('heading' => __('Appearance', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'appearance', 'value' => array(__('Default price column', 'webman-amplifier') => '', __('Featured price column', 'webman-amplifier') => 'featured', __('Pricing table legend', 'webman-amplifier') => 'legend'), 'holder' => 'hidden', 'class' => ''), array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'progress' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Progress Bar', 'webman-amplifier'), 'code' => '[PREFIX_progress color="' . implode('/', array_keys(wma_ksort(self::$codes_globals['colors']))) . '" progress="75" class=""]{{content}}[/PREFIX_progress]', 'short' => false), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Progress Bar', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'progress', 'class' => 'wm-shortcode-vc-progress', 'icon' => 'icon-wpb-graph', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Caption', 'webman-amplifier'), 'description' => '', 'type' => 'textarea_html', 'param_name' => 'content', 'value' => __('Progress bar caption', 'webman-amplifier'), 'holder' => 'div', 'class' => ''), 20 => array('heading' => __('Progress in %', 'webman-amplifier'), 'description' => __('Insert a number between 0 and 100', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'progress', 'value' => '75', 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Color', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'color', 'value' => $empty + array_flip(self::$codes_globals['colors']), 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'row' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Row', 'webman-amplifier'), 'code' => wma_is_active_vc() ? '[vc_row bg_attachment="" bg_color="" bg_image="" bg_position="" bg_repeat="" bg_size="" class="" font_color="" id="" margin="" padding="" parallax=""]{{content}}[/vc_row]' : '[PREFIX_row bg_attachment="" bg_color="" bg_image="" bg_position="" bg_repeat="" bg_size="" class="" font_color="" id="" margin="" padding="" parallax=""]{{content}}[/PREFIX_row]', 'short' => false)), 'search_form' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Search Form', 'webman-amplifier'), 'code' => '[PREFIX_search_form /]', 'short' => true)), 'separator_heading' => array('since' => '1.0', 'preprocess' => true, 'generator' => array('name' => __('Separator Heading', 'webman-amplifier'), 'code' => '[PREFIX_separator_heading align="' . implode('/', array('left', 'center', 'right')) . '" tag="' . implode('/', array('h1', 'h2', 'h3', 'h4', 'h5', 'h6')) . '" class="" id=""]{{content}}[/PREFIX_separator_heading]', 'short' => true), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Separator Heading', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'separator_heading', 'class' => 'wm-shortcode-vc-separator_heading', 'icon' => 'icon-wpb-ui-separator-label', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Heading text', 'webman-amplifier'), 'description' => '', 'type' => 'textfield', 'param_name' => 'content', 'value' => '', 'holder' => 'div', 'class' => ''), 20 => array('heading' => __('Heading size', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'tag', 'value' => array_flip($heading_tags), 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Text align', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'align', 'value' => array(__('Left', 'webman-amplifier') => 'left', __('Center', 'webman-amplifier') => 'center', __('Right', 'webman-amplifier') => 'right'), 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => ''), 50 => array('heading' => __('Optional HTML ID', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'id', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'slideshow' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Slideshow', 'webman-amplifier'), 'code' => '[PREFIX_slideshow ids="" nav="none/thumbs/pagination" size="full/' . implode('/', get_intermediate_image_sizes()) . '" speed="3000" class="" /]', 'short' => false), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Slideshow', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'slideshow', 'class' => 'wm-shortcode-vc-slideshow', 'icon' => 'icon-wpb-images-carousel', 'category' => __('Media', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Images', 'webman-amplifier'), 'description' => '', 'type' => 'attach_images', 'param_name' => 'ids', 'value' => '', 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Navigation', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'nav', 'value' => array(__('Just Next/Prev button', 'webman-amplifier') => '', __('Thumbnails', 'webman-amplifier') => 'thumbs', __('Pagination', 'webman-amplifier') => 'pagination'), 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Image size', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'image_size', 'value' => wma_asort($empty + array_flip(wma_get_image_sizes())), 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('Speed in miliseconds', 'webman-amplifier'), 'description' => '', 'type' => 'textfield', 'param_name' => 'speed', 'value' => apply_filters('wmhook_shortcode_' . 'slideshow_speed', 3000), 'holder' => 'hidden', 'class' => ''), 50 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'table' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Table', 'webman-amplifier'), 'code' => '[PREFIX_table appearance="' . implode('/', array_keys(wma_ksort(self::$codes_globals['table_appearance']))) . '" separator="," class=""]{{content}}[/PREFIX_table]', 'short' => false), 'bb_plugin' => array('name' => __('Table', 'webman-amplifier'), 'output' => '[PREFIX_table{{appearance}}{{separator}}{{class}}]{{content}}[/PREFIX_table]', 'params' => array('appearance', 'separator', 'class', 'content'), 'form' => array('general' => array('title' => __('General', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('appearance' => array('type' => 'select', 'label' => __('Appearance', 'webman-amplifier'), 'options' => self::$codes_globals['table_appearance'], 'preview' => array('type' => 'refresh')), 'separator' => array('type' => 'text', 'label' => __('CSV data separator', 'webman-amplifier'), 'default' => ',', 'preview' => array('type' => 'none')))), 'content' => array('title' => __('CSV data', 'webman-amplifier'), 'fields' => array('content' => array('type' => 'editor', 'label' => '', 'default' => "Column 1, Colum 2, Column 3\r\nValue 1, Value 2, Value 3", 'preview' => array('type' => 'none')))))))), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Table', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'table', 'class' => 'wm-shortcode-vc-table', 'icon' => 'vc_icon-vc-media-grid', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('CSV data', 'webman-amplifier'), 'type' => 'textarea_html', 'param_name' => 'content', 'value' => "Column 1, Colum 2, Column 3\r\nValue 1, Value 2, Value 3", 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('CSV data separator', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'separator', 'value' => ',', 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Appearance', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'appearance', 'value' => $empty + array_flip(self::$codes_globals['table_appearance']), 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'testimonials' => array('since' => '1.0', 'post_type_required' => 'wm_testimonials', 'preprocess' => false, 'generator' => array('name' => __('Testimonials', 'webman-amplifier'), 'code' => '[PREFIX_testimonials testimonial="testimonial-slug" align="left/right" columns="4" count="-1" order="new/old/name/random" category="optional-category-slug" scroll="0" pagination="0/1" no_margin="0/1" class=""]{{content}}[/PREFIX_testimonials]', 'short' => false), 'bb_plugin' => array('name' => __('Testimonials', 'webman-amplifier'), 'output' => '[PREFIX_testimonials{{testimonial}}{{align}}{{columns}}{{count}}{{order}}{{category}}{{scroll}}{{pagination}}{{no_margin}}{{heading_tag}}{{class}}]{{content}}[/PREFIX_testimonials]', 'params' => array('testimonial', 'align', 'columns', 'count', 'order', 'category', 'scroll', 'pagination', 'no_margin', 'heading_tag', 'class', 'content'), 'form' => array('general' => array('title' => __('General', 'webman-amplifier'), 'description' => '', 'sections' => array('single' => array('title' => __('Single testimonial display', 'webman-amplifier'), 'fields' => array('testimonial' => array('type' => 'select', 'label' => __('Single testimonial', 'webman-amplifier'), 'help' => __('Leave empty to display multiple testimonials', 'webman-amplifier'), 'options' => $wm_testimonials_slugs, 'preview' => array('type' => 'refresh')))), 'multiple' => array('title' => __('Multiple modules display', 'webman-amplifier'), 'fields' => array('count' => array('type' => 'text', 'label' => __('Count', 'webman-amplifier'), 'help' => __('Number of items to display (use "-1" to display all)', 'webman-amplifier'), 'default' => 3, 'preview' => array('type' => 'refresh')), 'columns' => array('type' => 'select', 'label' => __('Columns', 'webman-amplifier'), 'default' => 3, 'options' => array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'preview' => array('type' => 'refresh')), 'order' => array('type' => 'select', 'label' => __('Order', 'webman-amplifier'), 'options' => array('new' => __('Newest first', 'webman-amplifier'), 'old' => __('Oldest first', 'webman-amplifier'), 'name' => __('By name', 'webman-amplifier'), 'random' => __('Randomly', 'webman-amplifier')), 'preview' => array('type' => 'refresh')), 'scroll' => array('type' => 'text', 'label' => __('Scrolling', 'webman-amplifier'), 'help' => __('Set 1-999 for manual scrolling, set 1000+ for automatic scrolling. The value for automatic scrolling represents the time of a scroll in miliseconds. Leave empty to disable scrolling.', 'webman-amplifier'), 'preview' => array('type' => 'refresh')), 'category' => array('type' => 'select', 'label' => __('From category', 'webman-amplifier'), 'help' => __('Displays items only from a specific category', 'webman-amplifier'), 'options' => $wm_testimonials_categories, 'preview' => array('type' => 'refresh')), 'pagination' => array('type' => 'select', 'label' => __('Display pagination?', 'webman-amplifier'), 'options' => array('' => __('No', 'webman-amplifier'), 1 => __('Yes', 'webman-amplifier')), 'preview' => array('type' => 'refresh')))))), 'description' => array('title' => __('Description', 'webman-amplifier'), 'description' => '', 'sections' => array('description' => array('title' => '', 'fields' => array('align' => array('type' => 'select', 'label' => __('Description alignment', 'webman-amplifier'), 'options' => array('left' => __('Left', 'webman-amplifier'), 'right' => __('Right', 'webman-amplifier')), 'preview' => array('type' => 'refresh')))), 'content' => array('title' => __('Content', 'webman-amplifier'), 'fields' => array('content' => array('type' => 'editor', 'label' => '', 'preview' => array('type' => 'refresh')))))), 'others' => array('title' => __('Others', 'webman-amplifier'), 'description' => '', 'sections' => array('general' => array('title' => '', 'fields' => array('no_margin' => array('type' => 'select', 'label' => __('Remove gap between items?', 'webman-amplifier'), 'options' => array('' => __('No', 'webman-amplifier'), 1 => __('Yes', 'webman-amplifier')), 'preview' => array('type' => 'refresh')), 'heading_tag' => array('type' => 'select', 'label' => __('Heading HTML tag', 'webman-amplifier'), 'description' => sprintf(esc_html__('Default value: %s', 'webman-amplifier'), 'H2'), 'options' => $heading_tags, 'preview' => array('type' => 'none')))))))), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Testimonials', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'testimonials', 'class' => 'wm-shortcode-vc-testimonials', 'icon' => 'vc_icon-vc-gitem-post-title', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Single testimonial', 'webman-amplifier'), 'description' => __('Leave empty to display multiple testimonials', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'testimonial', 'value' => array_flip($wm_testimonials_slugs), 'holder' => 'div', 'class' => ''), 20 => array('heading' => __('Count', 'webman-amplifier'), 'description' => __('Number of items to display (use "-1" to display all)', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'count', 'value' => 3, 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 30 => array('heading' => __('Columns', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'columns', 'value' => array('' => '', 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 40 => array('heading' => __('Order', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'order', 'value' => array(__('Newest first', 'webman-amplifier') => 'new', __('Oldest first', 'webman-amplifier') => 'old', __('By name', 'webman-amplifier') => 'name', __('Randomly', 'webman-amplifier') => 'random'), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 50 => array('heading' => __('Scrolling', 'webman-amplifier'), 'description' => __('Set 1-999 for manual scrolling, set 1000+ for automatic scrolling. The value for automatic scrolling represents the time of a scroll in miliseconds. Leave empty to disable scrolling.', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'scroll', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 60 => array('heading' => __('Category', 'webman-amplifier'), 'description' => __('Displays items only from a specific category', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'category', 'value' => array_flip($wm_testimonials_categories), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 70 => array('heading' => __('Display pagination?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'pagination', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 1), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 80 => array('heading' => __('Description text (HTML)', 'webman-amplifier'), 'description' => '', 'type' => 'textarea', 'param_name' => 'content', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 90 => array('heading' => __('Description alignment', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'align', 'value' => array(__('Left', 'webman-amplifier') => 'left', __('Right', 'webman-amplifier') => 'right'), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 100 => array('heading' => __('Remove gap between items?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'no_margin', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 1), 'holder' => 'hidden', 'class' => '', 'group' => __('Multiple display', 'webman-amplifier')), 110 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'video' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Video', 'webman-amplifier'), 'code' => '[PREFIX_video src="" poster="" autoplay="0/1" loop="0/1" class="" /]', 'short' => false), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Video', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'video', 'class' => 'wm-shortcode-vc-video', 'icon' => 'icon-wpb-film-youtube', 'category' => __('Media', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Video source', 'webman-amplifier'), 'description' => __('Set the video URL', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'src', 'value' => '', 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Poster', 'webman-amplifier'), 'description' => __('Optional placeholder image', 'webman-amplifier'), 'type' => 'attach_image', 'param_name' => 'poster', 'value' => '', 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Autoplay the video?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'autoplay', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 'on'), 'holder' => 'hidden', 'class' => ''), 40 => array('heading' => __('Loop the video?', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'loop', 'value' => array(__('No', 'webman-amplifier') => '', __('Yes', 'webman-amplifier') => 'on'), 'holder' => 'hidden', 'class' => ''), 50 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))), 'widget_area' => array('since' => '1.0', 'preprocess' => false, 'generator' => array('name' => __('Widgets Area', 'webman-amplifier'), 'code' => '[PREFIX_widget_area area="' . implode('/', array_keys(wma_ksort(wma_widget_areas_array()))) . '" class="" max_widgets_count="0" /]', 'short' => true), 'vc_plugin' => array('name' => $this->prefix_shortcode_name . __('Widgets Area', 'webman-amplifier'), 'base' => $this->prefix_shortcode . 'widget_area', 'class' => 'wm-shortcode-vc-widget_area', 'icon' => 'icon-wpb-layout_sidebar', 'category' => __('Content', 'webman-amplifier'), 'params' => array(10 => array('heading' => __('Widgets area', 'webman-amplifier'), 'description' => '', 'type' => 'dropdown', 'param_name' => 'area', 'value' => array_flip(wma_widget_areas_array()), 'holder' => 'div', 'class' => ''), 20 => array('heading' => __('Maximum widgets count', 'webman-amplifier'), 'description' => __('Area will not be displayed when the number of widgets inserted in it is greater', 'webman-amplifier'), 'type' => 'dropdown', 'param_name' => 'max_widgets_count', 'value' => array('' => '', 1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10, 11 => 11, 12 => 12), 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => '')))));
/**
 * Visual Composer helper shortcodes
 */
/**
 * Redefine (extend) the vc_row shortcode
 *
 * @since  1.0
 */
$shortcode_definitions['vc_row'] = array('since' => '1.0', 'vc_plugin' => array('name' => __('Row', 'webman-amplifier'), 'base' => 'vc_row', 'class' => 'wm-shortcode-vc-row', 'icon' => 'icon-wpb-row', 'category' => __('Structure', 'webman-amplifier'), 'is_container' => true, 'show_settings_on_create' => false, 'js_view' => 'VcRowView', 'params' => array(10 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => ''), 20 => array('heading' => __('Optional HTML ID', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'id', 'value' => '', 'holder' => 'hidden', 'class' => ''), 30 => array('heading' => __('Background color', 'webman-amplifier'), 'description' => '', 'type' => 'colorpicker', 'param_name' => 'bg_color', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Styling', 'webman-amplifier')), 40 => array('heading' => __('Text color', 'webman-amplifier'), 'description' => '', 'type' => 'colorpicker', 'param_name' => 'font_color', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Styling', 'webman-amplifier')), 50 => array('heading' => __('Background image', 'webman-amplifier'), 'description' => '', 'type' => 'attach_image', 'param_name' => 'bg_image', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Styling', 'webman-amplifier')), 60 => array('heading' => __('Parallax scroll speed', 'webman-amplifier'), 'description' => __('Set the inertia of parallax background moving. For example, value of <code>0.1</code> equals to tenth of normal scroll speed.', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'parallax', 'value' => '', 'holder' => 'hidden', 'class' => '', 'dependency' => array('element' => 'bg_image', 'not_empty' => true), 'group' => __('Styling', 'webman-amplifier')), 70 => array('heading' => __('Padding', 'webman-amplifier'), 'description' => sprintf(__('Set a <a%s>CSS value</a>, such as <code>60px 0 60px 0</code>', 'webman-amplifier'), ' href="http://www.w3schools.com/cssref/pr_padding.asp" target="_blank"'), 'type' => 'textfield', 'param_name' => 'padding', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Styling', 'webman-amplifier')), 80 => array('heading' => __('Margin', 'webman-amplifier'), 'description' => sprintf(__('Set a <a%s>CSS value</a>, such as <code>60px 0 60px 0</code>', 'webman-amplifier'), ' href="http://www.w3schools.com/cssref/pr_margin.asp" target="_blank"'), 'type' => 'textfield', 'param_name' => 'margin', 'value' => '', 'holder' => 'hidden', 'class' => '', 'group' => __('Styling', 'webman-amplifier')))));
/**
 * Redefine the vc_row_inner shortcode
 *
 * @since  1.0
 */
$shortcode_definitions['vc_row_inner'] = array('since' => '1.0', 'vc_plugin' => array('name' => __('Row', 'webman-amplifier'), 'base' => 'vc_row_inner', 'class' => 'wm-shortcode-vc-row-inner', 'icon' => 'icon-wpb-row', 'category' => __('Structure', 'webman-amplifier'), 'content_element' => false, 'is_container' => true, 'weight' => 1000, 'show_settings_on_create' => false, 'js_view' => 'VcRowView', 'params' => array(10 => array('heading' => __('CSS class', 'webman-amplifier'), 'description' => __('Optional CSS additional classes', 'webman-amplifier'), 'type' => 'textfield', 'param_name' => 'class', 'value' => '', 'holder' => 'hidden', 'class' => ''))));
 function wm_theme_options_skin_array($wm_skin_design = array())
 {
     //Preparing output
     /**
      * Theme customizer options array
      */
     $prefix = 'skin-';
     $wm_skin_design = array('topbar' => array('type' => 'section', 'create_section' => __('Section: Top Bar', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'topbar' . 10 => array('type' => 'html', 'content' => '<p class="description">' . __('These settings will affect both Topbar Widgets and Topbar Extra Widgets areas.', 'wm_domain') . '</p>'), 'topbar' . 20 => array('type' => 'color', 'id' => $prefix . 'topbar' . '-color', 'label' => __('Text color', 'wm_domain')), 'topbar' . 30 => array('type' => 'color', 'id' => $prefix . 'topbar' . '-accent-color', 'label' => __('Accent color', 'wm_domain')), 'topbar' . 40 => array('type' => 'color', 'id' => $prefix . 'topbar' . '-border-color', 'label' => __('Borders color', 'wm_domain')), 'topbar' . 50 => array('type' => 'background', 'id' => $prefix . 'topbar'), 'topbar-extra' . 10 => array('type' => 'html', 'content' => '<h3>' . __('Topbar Extra widgets', 'wm_domain') . '</h3>'), 'topbar-extra' . 20 => array('type' => 'color', 'id' => $prefix . 'topbar-extra' . '-color', 'label' => __('Text color', 'wm_domain')), 'topbar-extra' . 30 => array('type' => 'color', 'id' => $prefix . 'topbar-extra' . '-accent-color', 'label' => __('Accent color', 'wm_domain')), 'topbar-extra' . 40 => array('type' => 'color', 'id' => $prefix . 'topbar-extra' . '-border-color', 'label' => __('Borders color', 'wm_domain')), 'topbar-extra' . 50 => array('type' => 'color', 'id' => $prefix . 'topbar-extra' . '-bg-color', 'label' => __('Background color', 'wm_domain')), 'header' => array('type' => 'section', 'create_section' => __('Section: Header', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'header' . 10 => array('type' => 'select', 'id' => $prefix . 'header' . '-shadow', 'label' => __('Header shadow', 'wm_domain'), 'options' => array('' => __('No shadow', 'wm_domain'), '1' => __('Display shadow', 'wm_domain'))), 'header' . 20 => array('type' => 'checkbox', 'id' => $prefix . 'header' . '-sticky', 'label' => __('Sticky header', 'wm_domain')), 'header' . 30 => array('type' => 'html', 'content' => '<h3>' . __('Design', 'wm_domain') . '</h3>'), 'header' . 40 => array('type' => 'color', 'id' => $prefix . 'header' . '-color', 'label' => __('Text color', 'wm_domain')), 'header' . 50 => array('type' => 'color', 'id' => $prefix . 'header' . '-accent-color', 'label' => __('Accent color', 'wm_domain')), 'header' . 60 => array('type' => 'color', 'id' => $prefix . 'header' . '-border-color', 'label' => __('Borders color', 'wm_domain')), 'header' . 70 => array('type' => 'background', 'id' => $prefix . 'header'), 'header' . 140 => array('type' => 'html', 'content' => '<h3>' . __('Navigation design', 'wm_domain') . '</h3>'), 'header' . 150 => array('type' => 'html', 'content' => '<p class="description">' . __('Navigation padding will affect the header height and logo position.', 'wm_domain') . '</p>'), 'header' . 160 => array('type' => 'range', 'id' => $prefix . 'nav' . '-padding', 'label' => __('Navigation padding', 'wm_domain'), 'default' => 25, 'min' => 0, 'max' => 60, 'step' => 1, 'zero' => true), 'header' . 170 => array('type' => 'color', 'id' => $prefix . 'nav' . '-color', 'label' => __('Subnav text color', 'wm_domain')), 'header' . 180 => array('type' => 'color', 'id' => $prefix . 'nav' . '-border-color', 'label' => __('Borders color', 'wm_domain')), 'header' . 190 => array('type' => 'color', 'id' => $prefix . 'nav' . '-bg-color', 'label' => __('Subnav background', 'wm_domain')), 'header' . 200 => array('type' => 'html', 'content' => '<p class="description">' . __('Subnav colors will be also used to style the mobile navigation.', 'wm_domain') . '</p>'), 'range' => array('type' => 'section', 'create_section' => __('Section: Special Slider', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'range' . 10 => array('type' => 'color', 'id' => $prefix . 'range' . '-color', 'label' => __('Text color', 'wm_domain')), 'range' . 20 => array('type' => 'color', 'id' => $prefix . 'range' . '-accent-color', 'label' => __('Accent color', 'wm_domain')), 'range' . 30 => array('type' => 'color', 'id' => $prefix . 'range' . '-border-color', 'label' => __('Borders color', 'wm_domain')), 'range' . 40 => array('type' => 'color', 'id' => $prefix . 'range' . '-bg-color', 'label' => __('Background color', 'wm_domain')), 'heading' => array('type' => 'section', 'create_section' => __('Section: Main Heading', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'heading' . 10 => array('type' => 'color', 'id' => $prefix . 'heading' . '-color', 'label' => __('Text color', 'wm_domain')), 'heading' . 20 => array('type' => 'color', 'id' => $prefix . 'heading' . '-accent-color', 'label' => __('Accent color', 'wm_domain')), 'heading' . 30 => array('type' => 'color', 'id' => $prefix . 'heading' . '-border-color', 'label' => __('Borders color', 'wm_domain')), 'heading' . 40 => array('type' => 'background', 'id' => $prefix . 'heading'), 'content' => array('type' => 'section', 'create_section' => __('Section: Content', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'content' . 10 => array('type' => 'select', 'id' => $prefix . 'sidebar' . '-position', 'label' => __('Sidebar position', 'wm_domain'), 'options' => array('left' => __('Left', 'wm_domain'), 'right' => __('Right', 'wm_domain')), 'default' => WM_DEFAULT_SIDEBAR_POSITION), 'content' . 20 => array('type' => 'select', 'id' => $prefix . 'sidebar' . '-width', 'label' => __('Sidebar width', 'wm_domain'), 'options' => array(' pane three; pane nine' => __('1/4 sidebar', 'wm_domain'), ' pane four; pane eight' => __('1/3 sidebar', 'wm_domain'), ' pane golden-narrow; pane golden-wide' => __('Golden ratio', 'wm_domain')), 'default' => WM_DEFAULT_SIDEBAR_WIDTH), 'content' . 30 => array('type' => 'html', 'content' => '<h3>' . __('Design', 'wm_domain') . '</h3>'), 'content' . 40 => array('type' => 'color', 'id' => $prefix . 'content' . '-color', 'label' => __('Text color', 'wm_domain')), 'content' . 50 => array('type' => 'color', 'id' => $prefix . 'content' . '-accent-color', 'label' => __('Accent color', 'wm_domain')), 'content' . 60 => array('type' => 'color', 'id' => $prefix . 'content' . '-border-color', 'label' => __('Borders color', 'wm_domain')), 'content' . 70 => array('type' => 'background', 'id' => $prefix . 'content'), 'footer' => array('type' => 'section', 'create_section' => __('Section: Footer', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'footer' . 10 => array('type' => 'html', 'content' => '<p class="description">' . __('Footer consists of footer widgets area and credits (copyright) widgets area. Set the footer widgets layout below and backgrounds for both footer areas.', 'wm_domain') . '</p>'), 'header' . 15 => array('type' => 'select', 'id' => $prefix . 'footer' . '-shadow', 'label' => __('Footer shadow', 'wm_domain'), 'options' => array('' => __('No shadow', 'wm_domain'), '1' => __('Display shadow', 'wm_domain'))), 'footer' . 20 => array('type' => 'html', 'content' => '<h3>' . __('Footer widgets', 'wm_domain') . '</h3>'), 'footer' . 30 => array('type' => 'select', 'id' => $prefix . 'footer-widgets' . '-layout', 'label' => __('Footer widgets layout', 'wm_domain'), 'options' => array(1 => __('1 column', 'wm_domain'), 2 => __('2 columns', 'wm_domain'), 3 => __('3 columns', 'wm_domain'), 4 => __('4 columns', 'wm_domain'), 5 => __('5 columns', 'wm_domain'))), 'footer' . 40 => array('type' => 'html', 'content' => '<p class="description">' . __('Footer widgets will be layed out into columns using masonry script.', 'wm_domain') . '</p>'), 'footer' . 50 => array('type' => 'color', 'id' => $prefix . 'footer-widgets' . '-color', 'label' => __('Text color', 'wm_domain')), 'footer' . 60 => array('type' => 'color', 'id' => $prefix . 'footer-widgets' . '-accent-color', 'label' => __('Accent color', 'wm_domain')), 'footer' . 70 => array('type' => 'color', 'id' => $prefix . 'footer-widgets' . '-border-color', 'label' => __('Borders color', 'wm_domain')), 'footer' . 80 => array('type' => 'background', 'id' => $prefix . 'footer-widgets'), 'footer' . 150 => array('type' => 'html', 'content' => '<h3>' . __('Credits', 'wm_domain') . '</h3>'), 'footer' . 160 => array('type' => 'color', 'id' => $prefix . 'credits' . '-color', 'label' => __('Text color', 'wm_domain')), 'footer' . 170 => array('type' => 'color', 'id' => $prefix . 'credits' . '-accent-color', 'label' => __('Accent color', 'wm_domain')), 'footer' . 180 => array('type' => 'color', 'id' => $prefix . 'credits' . '-border-color', 'label' => __('Borders color', 'wm_domain')), 'footer' . 190 => array('type' => 'background', 'id' => $prefix . 'credits'), 'website-background' => array('type' => 'section', 'create_section' => __('Background', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'website-background' . 5 => array('type' => 'html', 'content' => '<h3>' . __('Website background', 'wm_domain') . '</h3>' . '<p class="description">' . __('Please note that this background is only visible when using boxed theme layout (set this under "Setup" section).', 'wm_domain') . '</p>'), 'website-background' . 10 => array('type' => 'background', 'id' => $prefix . 'html'), 'colors-global' => array('type' => 'section', 'create_section' => __('Colors', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'colors-global' . 10 => array('type' => 'html', 'content' => '<h3>' . __('Global colors', 'wm_domain') . '</h3>'), 'colors-global' . 20 => array('type' => 'color', 'id' => $prefix . 'accent-color', 'label' => __('Accent color', 'wm_domain')), 'colors-global' . 30 => array('type' => 'html', 'content' => '<p class="description">' . __('Accent color is being used globally throughout the whole theme. All of theme design colors are being calculated automatically based on this color, so if you only want the basic theme design, just set this color. If you need to tweak the design settings, feel free to explore theme sections options below.', 'wm_domain') . '</p>'), 'colors-global' . 40 => array('type' => 'color', 'id' => $prefix . 'blue-color', 'label' => __('General blue color', 'wm_domain')), 'colors-global' . 50 => array('type' => 'color', 'id' => $prefix . 'gray-color', 'label' => __('General gray color', 'wm_domain')), 'colors-global' . 60 => array('type' => 'color', 'id' => $prefix . 'green-color', 'label' => __('General green color', 'wm_domain')), 'colors-global' . 70 => array('type' => 'color', 'id' => $prefix . 'orange-color', 'label' => __('General orange color', 'wm_domain')), 'colors-global' . 80 => array('type' => 'color', 'id' => $prefix . 'red-color', 'label' => __('General red color', 'wm_domain')), 'colors-global' . 90 => array('type' => 'html', 'content' => '<h3>' . __('Color treshold', 'wm_domain') . '</h3>'), 'colors-global' . 100 => array('type' => 'range', 'id' => $prefix . 'text-color-treshold', 'label' => __('Auto color treshold', 'wm_domain'), 'default' => 0, 'min' => -50, 'max' => 50, 'step' => 1), 'colors-global' . 110 => array('type' => 'html', 'content' => '<p class="description">' . __('Auto color treshold is being used to automatically calculate the additional colors in the theme (such as text color from the background color). You can tweak the calculation treshold here.', 'wm_domain') . '</p>'), 'branding' => array('type' => 'section', 'create_section' => __('Logo', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'branding' . 10 => array('type' => 'image', 'id' => $prefix . 'logo', 'label' => __('Logo', 'wm_domain')), 'branding' . 20 => array('type' => 'image', 'id' => $prefix . 'logo-hidpi', 'label' => __('High DPI logo', 'wm_domain')), 'images' => array('type' => 'section', 'create_section' => __('Images', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'images' . 5 => array('type' => 'html', 'content' => '<h3>' . __('Lightbox', 'wm_domain') . '</h3>'), 'images' . 10 => array('type' => 'html', 'content' => '<p class="description">' . __('If you use a special image lightbox effect plugin, you should disable the theme native effect below.', 'wm_domain') . '</p>'), 'images' . 20 => array('type' => 'checkbox', 'id' => $prefix . 'disable-lightbox', 'label' => __('Disable lightbox effect', 'wm_domain')), 'images' . 30 => array('type' => 'html', 'content' => '<h3>' . __('Image ratios', 'wm_domain') . '</h3>'), 'images' . 40 => array('type' => 'html', 'content' => '<p class="description">' . __('Set up image ratios for the different theme items.', 'wm_domain') . '</p>'), 'images' . 50 => array('type' => 'select', 'id' => $prefix . 'image' . '-blog', 'label' => __('Blog list image', 'wm_domain'), 'options' => wm_helper_var('image-ratio')), 'images' . 60 => array('type' => 'select', 'id' => $prefix . 'image' . '-posts', 'label' => __('[wm_posts] shortcode image', 'wm_domain'), 'options' => wm_helper_var('image-ratio')), 'images' . 70 => array('type' => 'select', 'id' => $prefix . 'image' . '-gallery', 'label' => __('[gallery] shortcode image', 'wm_domain'), 'options' => wm_helper_var('image-ratio')), 'images' . 80 => array('type' => 'html', 'content' => '<p class="description">' . __('Please decide on, and set the image ratios up for different website sections right after the theme activation. If you change the image sizes later on, the settings will apply only on newly uploaded images - the images you upload after you have made an image ratio change. All previous images will keep their original sizes.', 'wm_domain') . '</p><p class="description">' . __('If you wish to resize the previously uploaded images to conform the new image ratios, you can use a plugin for this. Recommended plugins are <a href="http://wordpress.org/extend/plugins/regenerate-thumbnails/" target="_blank">Regenerate Thumbnails</a> or <a href="http://wordpress.org/extend/plugins/ajax-thumbnail-rebuild/" target="_blank">AJAX Thumbnail Rebuild</a>.', 'wm_domain') . '</p>'), 'fonts' => array('type' => 'section', 'create_section' => __('Fonts', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'fonts' . 10 => array('type' => 'html', 'content' => '<p class="description">' . __('Set the Google Font to be used for website headings and body text. You can additionally set a font subset for different character lists.', 'wm_domain') . '</p>'), 'fonts-logo' => array('type' => 'select', 'id' => $prefix . 'font' . '-logo', 'label' => __('Text logo font', 'wm_domain'), 'options' => function_exists('wma_asort') ? wma_asort(wm_helper_var('google-fonts')) : wm_helper_var('google-fonts')), 'fonts' . 20 => array('type' => 'select', 'id' => $prefix . 'font' . '-headings', 'label' => __('Headings font', 'wm_domain'), 'options' => function_exists('wma_asort') ? wma_asort(wm_helper_var('google-fonts')) : wm_helper_var('google-fonts')), 'fonts' . 30 => array('type' => 'select', 'id' => $prefix . 'font' . '-body', 'label' => __('Body text font', 'wm_domain'), 'options' => function_exists('wma_asort') ? wma_asort(wm_helper_var('google-fonts')) : wm_helper_var('google-fonts')), 'fonts' . 40 => array('type' => 'multiselect', 'id' => $prefix . 'font' . '-subset', 'label' => __('Font subset', 'wm_domain'), 'options' => wm_helper_var('google-fonts-subset')), 'fonts' . 50 => array('type' => 'html', 'content' => '<h3>' . __('Font sizes', 'wm_domain') . '</h3>'), 'fonts' . 60 => array('type' => 'range', 'id' => $prefix . 'font' . '-size-body', 'label' => __('Basic font size', 'wm_domain'), 'default' => 14, 'min' => 10, 'max' => 20, 'step' => 1, 'customizer_js' => array('css' => array('html, body' => array(array('font-size', 'px'))))), 'fonts' . 70 => array('type' => 'html', 'content' => '<p class="description">' . __('Heading font size is counted from the basic font size. Set the percentage of the basic font size for each heading.', 'wm_domain') . '</p>'), 'fonts' . 80 => array('type' => 'range', 'id' => $prefix . 'font' . '-size-h1', 'label' => __('Heading H1 font size', 'wm_domain'), 'default' => 100, 'min' => 75, 'max' => 450, 'step' => 5, 'customizer_js' => array('css' => array('h1, .heading-style-1' => array(array('font-size', '%'))))), 'fonts' . 90 => array('type' => 'range', 'id' => $prefix . 'font' . '-size-h2', 'label' => __('Heading H2 font size', 'wm_domain'), 'default' => 100, 'min' => 75, 'max' => 450, 'step' => 5, 'customizer_js' => array('css' => array('h2, .heading-style-2' => array(array('font-size', '%'))))), 'fonts' . 100 => array('type' => 'range', 'id' => $prefix . 'font' . '-size-h3', 'label' => __('Heading H3 font size', 'wm_domain'), 'default' => 100, 'min' => 75, 'max' => 450, 'step' => 5, 'customizer_js' => array('css' => array('h3, .heading-style-3' => array(array('font-size', '%'))))), 'fonts' . 110 => array('type' => 'range', 'id' => $prefix . 'font' . '-size-h4', 'label' => __('Heading H4, H5 and H6 font size', 'wm_domain'), 'default' => 100, 'min' => 75, 'max' => 450, 'step' => 5, 'customizer_js' => array('css' => array('h4, h5, h6, .heading-style-4, .heading-style-5, .heading-style-6' => array(array('font-size', '%'))))), 'layout' => array('type' => 'section', 'create_section' => __('Layout', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'layout' . 10 => array('type' => 'html', 'content' => '<h3>' . __('Layout', 'wm_domain') . '</h3>'), 'layout' . 20 => array('type' => 'select', 'id' => $prefix . 'layout', 'label' => __('Website layout', 'wm_domain'), 'options' => array('fullwidth' => __('Fullwidth', 'wm_domain'), 'boxed' => __('Boxed', 'wm_domain'))), 'layout' . 40 => array('type' => 'range', 'id' => $prefix . 'website-width', 'label' => __('Website width', 'wm_domain'), 'default' => 1020, 'min' => 1020, 'max' => 1920, 'step' => 20, 'customizer_js' => array('css' => array('.boxed .wrap, .wrap.boxed, body.boxed.page-meta-layout .wrap, .wrap-inner' => array(array('width', 'px'))))), 'layout' . 45 => array('type' => 'html', 'content' => '<p class="description">' . __('The website width is being set up for the boxed layout. The actual website content width would be the website width minus the boxed layout paddings (160px). So if you set the width of 1480, the actual website content width will be 1320px (= 1480 - 160).', 'wm_domain') . '</p>'), 'others' => array('type' => 'section', 'create_section' => __('Others', 'wm_domain'), 'in_panel' => _x('Theme', 'Customizer panel title.', 'wm_domain')), 'others' . 10 => array('type' => 'html', 'content' => '<h3>' . __('CSS3 Animations', 'wm_domain') . '</h3>'), 'others' . 20 => array('type' => 'checkbox', 'id' => $prefix . 'disable-animatecss', 'label' => __('Disable Animate.css library', 'wm_domain')));
     //Output
     return $wm_skin_design;
 }