本文整理汇总了PHP中vc_add_param函数的典型用法代码示例。如果您正苦于以下问题:PHP vc_add_param函数的具体用法?PHP vc_add_param怎么用?PHP vc_add_param使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了vc_add_param函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: add_params
/**
* Adds new params for the VC Rows
*
* @since 2.0.0
*/
public function add_params()
{
/*-----------------------------------------------------------------------------------*/
/* - Columns
/*-----------------------------------------------------------------------------------*/
vc_add_param('vc_column', array('type' => 'hidden', 'param_name' => 'style'));
vc_add_param('vc_column', array('type' => 'dropdown', 'heading' => __('Visibility', 'wpex'), 'param_name' => 'visibility', 'std' => '', 'value' => array_flip(wpex_visibility())));
vc_add_param('vc_column', array('type' => 'dropdown', 'heading' => __('Animation', 'wpex'), 'param_name' => 'css_animation', 'value' => array_flip(wpex_css_animations())));
vc_add_param('vc_column', array('type' => 'dropdown', 'heading' => __('Typography Style', 'wpex'), 'param_name' => 'typography_style', 'value' => array_flip(wpex_typography_styles())));
vc_add_param('vc_column', array('type' => 'textfield', 'heading' => __('Minimum Height', 'wpex'), 'param_name' => 'min_height', 'description' => __('You can enter a minimum height for this row.', 'wpex')));
// Hidden fields = Deprecated params, these should be removed on save
$deprecated = array('id', 'typo_style', 'bg_color', 'bg_image', 'bg_style', 'border_style', 'border_color', 'border_width', 'margin_top', 'margin_bottom', 'margin_left', 'padding_top', 'padding_bottom', 'padding_left', 'padding_right', 'drop_shadow');
foreach ($deprecated as $key => $val) {
vc_add_param('vc_column', array('type' => 'hidden', 'param_name' => $val));
}
/*-----------------------------------------------------------------------------------*/
/* - Inner Columns
/*-----------------------------------------------------------------------------------*/
vc_add_param('vc_column_inner', array('type' => 'hidden', 'param_name' => 'style'));
// Hidden fields = Deprecated params, these should be removed on save
$deprecated = array('id', 'typo_style', 'bg_color', 'bg_image', 'bg_style', 'border_style', 'border_color', 'border_width', 'margin_top', 'margin_bottom', 'margin_left', 'padding_top', 'padding_bottom', 'padding_left', 'padding_right');
foreach ($deprecated as $key => $val) {
vc_add_param('vc_column_inner', array('type' => 'hidden', 'param_name' => $val));
}
}
开发者ID:VanessaGarcia-Freelance,项目名称:TheEmporiumGroup,代码行数:30,代码来源:column.php
示例2: webnus_setup_vc_posts_grid
function webnus_setup_vc_posts_grid()
{
vc_remove_param('vc_posts_grid', 'grid_layout');
$vc_layout_sub_controls = array(array('link_post', __("Link to post", "js_composer")), array("no_link", __("No link", "js_composer")), array("link_image", __("Link to bigger image", "js_composer")));
$attributes = array("type" => "sorted_list", "heading" => __("Teaser layout", "js_composer"), "param_name" => "grid_layout", "description" => __("Control teasers look. Enable blocks and place them in desired order. Note: This setting can be overrriden on post to post basis.", "js_composer"), "value" => "title,image,text", "options" => array(array('image', __('Thumbnail', "js_composer"), $vc_layout_sub_controls), array('title', __('Title', "js_composer"), $vc_layout_sub_controls), array('text', __('Text', "js_composer"), array(array('excerpt', __('Teaser/Excerpt', "js_composer")), array('text', __('Full content', "js_composer")))), array('meta_author', __('Metadata Author', "js_composer")), array('meta_category', __('Metadata Category', "js_composer")), array('meta_date', __('Metadata Date', "js_composer")), array('meta_comments', __('Metadata Comments', "js_composer"))));
vc_add_param('vc_posts_grid', $attributes);
}
开发者ID:bhuvanaurora,项目名称:wordpress-wed,代码行数:7,代码来源:setup_postgrid.php
示例3: add_media_center_vc_params
function add_media_center_vc_params()
{
// Apply updtes to default VC elements using add param function
// ===============================================================
if (function_exists('vc_add_param')) {
// Add custom row options
// ===============================================================
// Add parameters to 'vc_row'
$base = 'vc_row';
$extraParams = array(array('type' => 'checkbox', 'param_name' => 'has_container', 'value' => array(__('Has Container ?', 'media_center') => 'true'), 'description' => __('Wrap the row element with container.', 'media_center')), array('type' => 'dropdown', 'heading' => __('Container Class', 'media_center'), 'param_name' => 'container_class', 'value' => array(__('Container', 'media_center') => 'container', __('Container Fluid', 'media_center') => 'container-fluid'), 'description' => __('Specify the class for the container. Will be applied only if has container is set to true.', 'media_center')), array('type' => 'dropdown', 'heading' => __('CSS3 Animation', 'media_center'), 'param_name' => 'row_animation', 'value' => array(__('No Animation', 'media_center') => 'none', __('BounceIn', 'media_center') => 'bounceIn', __('BounceInDown', 'media_center') => 'bounceInDown', __('BounceInLeft', 'media_center') => 'bounceInLeft', __('BounceInRight', 'media_center') => 'bounceInRight', __('BounceInUp', 'media_center') => 'bounceInUp', __('FadeIn', 'media_center') => 'fadeIn', __('FadeInDown', 'media_center') => 'fadeInDown', __('FadeInDown Big', 'media_center') => 'fadeInDownBig', __('FadeInLeft', 'media_center') => 'fadeInLeft', __('FadeInLeft Big', 'media_center') => 'fadeInLeftBig', __('FadeInRight', 'media_center') => 'fadeInRight', __('FadeInRight Big', 'media_center') => 'fadeInRightBig', __('FadeInUp', 'media_center') => 'fadeInUp', __('FadeInUp Big', 'media_center') => 'fadeInUpBig', __('FlipInX', 'media_center') => 'flipInX', __('FlipInY', 'media_center') => 'flipInY', __('Light SpeedIn', 'media_center') => 'lightSpeedIn', __('RotateIn', 'media_center') => 'rotateIn', __('RotateInDown Left', 'media_center') => 'rotateInDownLeft', __('RotateInDown Right', 'media_center') => 'rotateInDownRight', __('RotateInUp Left', 'media_center') => 'rotateInUpLeft', __('RotateInUp Right', 'media_center') => 'rotateInUpRight', __('RoleIn', 'media_center') => 'roleIn', __('ZoomIn', 'media_center') => 'zoomIn', __('ZoomInDown', 'media_center') => 'zoomInDown', __('ZoomInLeft', 'media_center') => 'zoomInLeft', __('ZoomInRight', 'media_center') => 'zoomInRight', __('ZoomInUp', 'media_center') => 'zoomInUp'), 'description' => __('Choose the animation effect on the row when scrolled into view.', 'media_center')));
foreach ($extraParams as $params) {
vc_add_param($base, $params);
}
// Update 'vc_row' to include custom shortcode template and re-map shortcode
vc_map_update('vc_row');
//Add parameters to vc_accordion
$base = 'vc_accordion';
$extraParams = array(array('type' => 'dropdown', 'param_name' => 'accordion_style', 'value' => array(__('Style 1', 'media_center') => 'style-1', __('Style 2', 'media_center') => 'style-2')));
foreach ($extraParams as $params) {
vc_add_param($base, $params);
}
// Update 'vc_row' to include custom shortcode template and re-map shortcode
vc_map_update('vc_accordion');
}
}
开发者ID:Qualitair,项目名称:ecommerce,代码行数:25,代码来源:custom_vc.php
示例4: lab_vc_custom_column_params
function lab_vc_custom_column_params()
{
$laborator_vc_dependency_reveal = array('element' => 'reveal_effect', 'not_empty' => true);
$params = array('reveal_effect' => array('type' => 'dropdown', 'heading' => __('Reveal Effect', 'lab_composer'), 'param_name' => 'reveal_effect', 'std' => 'none', 'weight' => 3, 'value' => array(__('None', 'lab_composer') => '', __('Fade In', 'lab_composer') => 'fadeIn', __('Slide and Fade', 'lab_composer') => 'fadeInLab', '---------------' => '', __("bounce", 'lab_composer') => 'bounce', __("flash", 'lab_composer') => 'flash', __("pulse", 'lab_composer') => 'pulse', __("rubberBand", 'lab_composer') => 'rubberBand', __("shake", 'lab_composer') => 'shake', __("swing", 'lab_composer') => 'swing', __("tada", 'lab_composer') => 'tada', __("wobble", 'lab_composer') => 'wobble', __("bounceIn", 'lab_composer') => 'bounceIn', __("bounceInDown", 'lab_composer') => 'bounceInDown', __("bounceInLeft", 'lab_composer') => 'bounceInLeft', __("bounceInRight", 'lab_composer') => 'bounceInRight', __("bounceInUp", 'lab_composer') => 'bounceInUp', __("fadeInDown", 'lab_composer') => 'fadeInDown', __("fadeInDownBig", 'lab_composer') => 'fadeInDownBig', __("fadeInLeft", 'lab_composer') => 'fadeInLeft', __("fadeInLeftBig", 'lab_composer') => 'fadeInLeftBig', __("fadeInRight", 'lab_composer') => 'fadeInRight', __("fadeInRightBig", 'lab_composer') => 'fadeInRightBig', __("fadeInUp", 'lab_composer') => 'fadeInUp', __("fadeInUpBig", 'lab_composer') => 'fadeInUpBig', __("flip", 'lab_composer') => 'flip', __("flipInX", 'lab_composer') => 'flipInX', __("flipInY", 'lab_composer') => 'flipInY', __("lightSpeedIn", 'lab_composer') => 'lightSpeedIn', __("rotateIn", 'lab_composer') => 'rotateIn', __("rotateInDownLeft", 'lab_composer') => 'rotateInDownLeft', __("rotateInDownRight", 'lab_composer') => 'rotateInDownRight', __("rotateInUpLeft", 'lab_composer') => 'rotateInUpLeft', __("rotateInUpRight", 'lab_composer') => 'rotateInUpRight', __("hinge", 'lab_composer') => 'hinge', __("rollIn", 'lab_composer') => 'rollIn', __("zoomIn", 'lab_composer') => 'zoomIn', __("zoomInDown", 'lab_composer') => 'zoomInDown', __("zoomInLeft", 'lab_composer') => 'zoomInLeft', __("zoomInRight", 'lab_composer') => 'zoomInRight', __("zoomInUp", 'lab_composer') => 'zoomInUp'), 'description' => __('Set reveal effect for this element. To preview the animations <a href="http://daneden.github.io/animate.css/" target="_blank">click here</a>.', 'lab_composer')), 'reveal_duration' => array('type' => 'textfield', 'heading' => __('Reveal Duration', 'lab_composer'), 'param_name' => 'reveal_duration', 'weight' => 2, 'description' => __('Set number of seconds for the animation duration. (Optional)', 'lab_composer'), 'dependency' => $laborator_vc_dependency_reveal), 'reveal_delay' => array('type' => 'textfield', 'heading' => __('Reveal Delay', 'lab_composer'), 'param_name' => 'reveal_delay', 'weight' => 1, 'description' => __('Set reveal effect delay before showing in seconds, otherwise leave empty.', 'lab_composer'), 'dependency' => $laborator_vc_dependency_reveal));
vc_add_param('vc_column', $params['reveal_effect']);
vc_add_param('vc_column', $params['reveal_duration']);
vc_add_param('vc_column', $params['reveal_delay']);
}
开发者ID:adrienlementheour,项目名称:AliceRouat,代码行数:8,代码来源:custom-columns.php
示例5: something
function something()
{
$icons = array('type' => 'dropdown', 'heading' => 'Icon library', 'value' => array('Font Awesome' => 'fontawesome', 'Open Iconic' => 'openiconic', 'Typicons' => 'typicons', 'Entypo' => 'entypo', 'Linecons' => 'linecons', 'Pixel' => 'pixelicons', 'Ion icons' => 'ionicons'), 'param_name' => 'i_type', 'description' => 'Select icon library.', 'dependency' => array('element' => 'add_icon', 'value' => 'true'), 'integrated_shortcode' => 'vc_icon', 'integrated_shortcode_field' => 'i_');
$ionicons = array('type' => 'iconpicker', 'heading' => __('Icon', 'js_composer'), 'param_name' => 'i_icon_ionicons', 'settings' => array('emptyIcon' => false, 'type' => 'ionicons', 'source' => require_once 'ionicons.php'), 'dependency' => array('element' => 'i_type', 'value' => 'ionicons'), 'description' => __('Select icon from library.', 'js_composer'));
vc_remove_param('vc_btn', 'i_type');
vc_add_param('vc_btn', $icons);
vc_add_param('vc_btn', $ionicons);
}
开发者ID:sebjon-bytbil,项目名称:BB.CMS,代码行数:8,代码来源:icons.php
示例6: _adap_sc_add_column_full_width_option
function _adap_sc_add_column_full_width_option()
{
if (function_exists('wpb_add_param')) {
wpb_add_param('vc_column', AdapAutoVCShortcode::bool_param('full_width', 'Full Width', 'Make Full Width', 'Don\'t Make Full Width', false));
wpb_add_param('vc_column', array('type' => 'dropdown', 'heading' => 'Align', 'param_name' => 'align', 'sch_default' => 'align-none', 'value' => array('None' => 'align-none', 'Align Left' => 'align-left', 'Align Center' => 'align-center', 'Align Right' => 'align-right'), 'description' => 'The content alignment of the column'));
vc_add_param('rev_slider_vc', array('type' => 'dropdown', 'heading' => 'Arrow Style', 'param_name' => 'arrow_style', 'sch_default' => 'small', 'value' => array('Small' => 'small', 'Big' => 'big'), 'description' => 'The arrow styling'));
}
}
开发者ID:hoonio,项目名称:PhoneAfrika,代码行数:8,代码来源:column.php
示例7: javo_vb_shortcodes_callback
public function javo_vb_shortcodes_callback()
{
// javo-banner
vc_map(array('base' => 'javo_banner', 'name' => __('Javo Banner', 'javo_fr'), 'icon' => 'javo_carousel_news', 'category' => __('Javo', 'javo_fr'), 'description' => __('Create your own banner.', 'javo_fr'), 'params' => array(array('type' => 'attach_image', 'heading' => __('Select an Image', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'attachment_id', 'value' => ''), array('type' => 'textfield', 'heading' => __('Link', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'link', 'value' => '#'), array('type' => 'textfield', 'heading' => __('Width', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'width', 'value' => '500'), array('type' => 'textfield', 'heading' => __('Height', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'height', 'value' => '400'), array('type' => 'textfield', 'heading' => __('Border - Weight', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'bdweight', 'value' => '1'), array('type' => 'colorpicker', 'heading' => __('Border - color', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'bdcolor', 'value' => '#efefef'))));
// javo_events
vc_map(array('base' => 'javo_events', 'name' => __('Javo Events', 'javo_fr'), 'icon' => 'javo_carousel_news', 'category' => __('Javo', 'javo_fr'), 'description' => __('Display events by categories.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'dropdown', 'heading' => __('Listing Style', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'type', 'value' => array(__('Single Slide', 'javo_fr') => 'single', __('2 Cols Slide', 'javo_fr') => 'two-cols', __('3 Cols Slide', 'javo_fr') => 'three-cols', __('4 Cols Slide', 'javo_fr') => 'four-cols')), array('type' => 'dropdown', 'heading' => __('Category', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'category', 'value' => $this->__cate('jv_events_category')), array('type' => 'textfield', 'heading' => __('Show Lists count', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'page', 'value' => ''), array('type' => 'dropdown', 'heading' => __('Order by', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'order', 'value' => array(__('DESC', 'javo_fr') => 'DESC', __('ASC', 'javo_fr') => 'ASC')))));
// Javo Search Form
vc_map(array('base' => 'javo_search_form', 'name' => __('Javo Item Search Form (Full-Width)', 'javo_fr'), 'icon' => 'javo_carousel_news', 'category' => __('Javo', 'javo_fr'), 'description' => __('For archives in horizontal view, full-width layout', 'javo_fr'), 'params' => array(array('type' => 'dropdown', 'heading' => __('Please select search result page', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'action', 'description' => __('You can setup a map page ( Theme Setting > Item Pages > Search Result ). if there is no map pages, it goes to default searching page.', 'javo_fr'), 'value' => array(__("Default Search Page", 'javo_fr') => '', __("Javo Map (Box Style)", 'javo_fr') => 'map')), array('type' => 'checkbox', 'heading' => __('Hide Search Fields : Check to Disable', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'hide_field', 'value' => array(__('Category', 'javo_fr') => 'category', __('Location', 'javo_fr') => 'location', __('Keyword', 'javo_fr') => 'keyword')))));
// Javo Slide Search
vc_map(array('base' => 'javo_slide_search', 'name' => __('Javo Slide with search bar (Full-width)', 'javo_fr'), 'icon' => 'javo_carousel_news', 'category' => __('Javo', 'javo_fr'), 'description' => __('Use with Item Slide and Search bar.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Subject', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => __('Title', 'javo_fr')), array('type' => 'dropdown', 'heading' => __('Search Type', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'search_type', 'value' => array(__('Vertical', 'javo_fr') => 'vertical', __('Horizontal', 'javo_fr') => 'horizontal')), array('type' => 'dropdown', 'heading' => __('Background Size', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'background_size', 'value' => array(__('Normal', 'javo_fr') => 'auto', __('Cover', 'javo_fr') => 'cover')), array('type' => 'dropdown', 'heading' => __('Background Position Horizontal', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'background_position_x', 'value' => array(__('Left', 'javo_fr') => 'left', __('Center', 'javo_fr') => 'center', __('Right', 'javo_fr') => 'right')), array('type' => 'dropdown', 'heading' => __('Background Position Vertical', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'background_position_y', 'value' => array(__('Top', 'javo_fr') => 'top', __('Center', 'javo_fr') => 'center', __('Bottom', 'javo_fr') => 'bottom')), array('type' => 'dropdown', 'heading' => __('Background Repeat', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'background_repeat', 'value' => array(__('No Repeat', 'javo_fr') => 'no-repeat', __('Repeat-x', 'javo_fr') => 'repeat-x', __('Repeat-y', 'javo_fr') => 'repeat-y', __('Repeat', 'javo_fr') => 'repeat')), array('type' => 'textfield', 'heading' => __('Height', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'height', 'value' => '300'), array('type' => 'checkbox', 'heading' => __('Hide Search Form', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'hidden_form', 'value' => array(__('Hide Search Form', 'javo_fr') => 'hidden')), array('type' => 'checkbox', 'heading' => __('Hide options', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'hidden_elements', 'value' => array(__('Keyword Textfield', 'javo_fr') => 'txt_keyword', __('Category Drop-Down Box', 'javo_fr') => 'sel_category', __('Location Drop-Down Box', 'javo_fr') => 'sel_location', __('Rating Circle', 'javo_fr') => 'cle_rating', __('Category CIrcle', 'javo_fr') => 'cle_category', __('Event Tag Circle', 'javo_fr') => 'cle_event')), array('type' => 'textfield', 'heading' => __('Title Size', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title_size', 'value' => '25'), array('type' => 'textfield', 'heading' => __('Category & Location Font Size', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'cat_loc_size', 'value' => '20'))));
// Javo item_price
vc_map(array('base' => 'javo_item_price', 'name' => __('Item Price Table', 'javo_fr'), 'icon' => 'javo_carousel_news', 'category' => __('Javo', 'javo_fr'), 'group' => __('Javo', 'javo_fr'), 'description' => __('Must first be set-up in Theme Settings > Price Plan.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'))));
// Javo Event Masonry
vc_map(array('base' => 'javo_events_masonry', 'name' => __('Javo Events Masonry (Full-width)', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Display your events in grid style. (Full-width layout only)', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'))));
// Javo FaQs
vc_map(array('base' => 'javo_faq', 'name' => __('Javo FAQ Accordion Tabs', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Displays FAQ posts from Dashboard > FAQs.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Content Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'))));
// Javo grid open
vc_map(array('base' => 'javo_grid_open', 'name' => __('Javo Item Grid - Open (Full-width)', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Display items in an open grid layout. (Full-width only)', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'textfield', 'heading' => __('Display item count', 'javo_fr'), 'holder' => 'div', 'param_name' => 'count', 'value' => '7'))));
// Javo categories
vc_map(array('base' => 'javo_categories', 'name' => __('Javo Large Blocks', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Displays items in a larger block style.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'dropdown', 'heading' => __('Display Category Type', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'display_type', 'value' => array(__('Parent Only', 'javo_fr') => 'parent', __('Parent + Child', 'javo_fr') => 'child')), array('type' => 'dropdown', 'heading' => __('Hover Option to Display', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'display_item_count', 'value' => array(__('Show the amount of items on the categories', 'javo_fr') => '', __('Do not display', 'javo_fr') => 'hide')), array('type' => 'textfield', 'heading' => __('Category Font Size', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'category_size', 'value' => '18'))));
// Javo Archive Categories
vc_map(array('base' => 'javo_archive_categories', 'name' => __('Javo Archive Categories', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Displays items in a long horizontal block fashion.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'dropdown', 'heading' => __('Amount Column in One Row', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'one_row_item', 'value' => array('3 ' . __('Columns', 'javo_fr') => 3, '4 ' . __('Columns', 'javo_fr') => 4)), array('type' => 'checkbox', 'heading' => __('Parents', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'have_terms', 'description' => __('Default : All Parents', 'javo_fr'), 'value' => apply_filters('javo_get_categories_value', 'item_category')), array('type' => 'textfield', 'heading' => __('One Block per Amount Category', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'category_max_count', 'value' => 5), array('type' => 'textfield', 'heading' => __('Container Radius Size (Only Pixcel Number)', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'cbx_border_radius', 'value' => 5), array('type' => 'colorpicker', 'heading' => __('Container Border', 'javo_fr'), 'holder' => 'div', 'param_name' => 'cbx_border', 'value' => '#428bca'), array('type' => 'colorpicker', 'heading' => __('Container Background', 'javo_fr'), 'holder' => 'div', 'param_name' => 'cbx_background', 'value' => '#fff'), array('type' => 'colorpicker', 'heading' => __('Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'cbx_hr', 'value' => '#428bca'), array('type' => 'colorpicker', 'heading' => __('Font Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'cbx_font', 'value' => '#000'))));
// Javo Rating list
vc_map(array('base' => 'javo_rating_list', 'name' => __('Javo Overall Rating Blocks', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Displays items a horizontal block layout with a focus on overall ratings.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Display Rating count', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'count', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'))));
// Javo Rating list
vc_map(array('base' => 'javo_recent_ratings', 'name' => __('Javo Recent Rating Blocks', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Displays items a horizontal block layout with a focus on recent ratings.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'textfield', 'heading' => __('Display Rating count', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'items', 'value' => ''))));
// Javo fancy title
vc_map(array('base' => 'javo_fancy_titles', 'name' => __('Javo Fancy Title', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Make an impression with a fancy title.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Display Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => __('Title', 'javo_fr')), array('type' => 'dropdown', 'heading' => __('Header Type', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'type', 'value' => array(__('Red Line (Defalut)', 'javo_fr') => '', __('Gray Circle Line', 'javo_fr') => 'gray_circle')), array('type' => 'colorpicker', 'heading' => __('Text Color', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'text_color', 'value' => __('#000000', 'javo_fr')), array('type' => 'textfield', 'heading' => __('Line Spacing', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'line_spacing', 'value' => __('20', 'javo_fr')), array('type' => 'textfield', 'heading' => __('Font Size', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'font_size', 'value' => __('12', 'javo_fr')), array('type' => 'textfield', 'heading' => __('Description', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'description', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Description Text Color', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'description_color', 'value' => __('#000000', 'javo_fr')))));
// Member Register & Login
vc_map(array('base' => 'javo_register_login', 'name' => __('Javo Tab Registration/Login', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Registration, Login, Find password and contact info (seen before logging in) ', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'textfield', 'heading' => __('Login information Box Title', 'javo_fr'), 'holder' => 'div', 'param_name' => 'login_info_box_title', 'value' => ' '), array('type' => 'textarea', 'heading' => __('Login information Box Content', 'javo_fr'), 'holder' => 'div', 'param_name' => 'login_info_box', 'value' => ' '), array('type' => 'textfield', 'heading' => __('Register information Box Title', 'javo_fr'), 'holder' => 'div', 'param_name' => 'register_info_box_title', 'value' => ' '), array('type' => 'textarea', 'heading' => __('Register information Box', 'javo_fr'), 'holder' => 'div', 'param_name' => 'register_info_box', 'value' => ' '), array('type' => 'textfield', 'heading' => __('Forget Password information Box Title', 'javo_fr'), 'holder' => 'div', 'param_name' => 'forget_info_box_title', 'value' => ' '), array('type' => 'textarea', 'heading' => __('Forget Password information Box', 'javo_fr'), 'holder' => 'div', 'param_name' => 'forget_info_box', 'value' => ' '))));
// Javo Gallery
vc_map(array('base' => 'javo_gallery', 'name' => __('Javo Grid', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Dispalys items in a grid, highlighting location and ratings.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'dropdown', 'heading' => __('Display Category Type', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'display_type', 'value' => array(__('Parent Only', 'javo_fr') => 'parent', __('Parent + Child', 'javo_fr') => 'child')), array('type' => 'checkbox', 'heading' => __('Parents', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'have_terms', 'description' => __('Default : All Parents', 'javo_fr'), 'value' => apply_filters('javo_get_categories_value', 'item_category')), array('type' => 'textfield', 'heading' => __('Max display amount on all category ( 0 = All Items)', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'max_amount', 'description' => __('(Only Number)', 'javo_fr'), 'value' => (int) 0), array('type' => 'checkbox', 'heading' => __('Random Order', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'rand_order', 'value' => array(__('Enabled', 'javo_fr') => 'use')))));
// Javo Events Gallery
vc_map(array('base' => 'javo_event_gallery', 'name' => __('Javo Events Gallery', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Show your items in a smaller grid with an emphasis on events.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'dropdown', 'heading' => __('Display Category Type', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'display_type', 'value' => array(__('Parent Only', 'javo_fr') => 'parent', __('Parent + Child', 'javo_fr') => 'child')))));
//Javo team-slider
vc_map(array('base' => 'team_slider', 'name' => __('Javo Team Slider', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Description', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'dropdown', 'heading' => __('column count', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'column', 'value' => array(2 => 2, 3 => 3, 4 => 4)))));
//Javo testimonial
vc_map(array('base' => 'javo_testimonial', 'name' => __('Javo Testimonial', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Description', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Content Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'textfield', 'heading' => __('Count( 0 = ALL )', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'count', 'value' => 0))));
//Javo partner-slider
vc_map(array('base' => 'javo_partner_slider', 'name' => __('Javo Partner Slider', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Description', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'textfield', 'heading' => __('column count', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'column', 'value' => ''))));
// Javo Featured Items
vc_map(array('base' => 'javo_featured_items', 'name' => __('Javo Featured Items', 'javo_fr'), 'category' => __('Javo', 'javo_fr'), 'icon' => 'javo_carousel_news', 'description' => __('Broadcast your featured items in a bold manner.', 'javo_fr'), 'params' => array(array('type' => 'textfield', 'heading' => __('Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'title', 'value' => ''), array('type' => 'textfield', 'heading' => __('Sub Title', 'javo_fr'), 'holder' => 'div', 'class' => '', 'param_name' => 'sub_title', 'value' => ''), array('type' => 'colorpicker', 'heading' => __('Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Sub Title Text Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'sub_title_text_color', 'value' => '#000'), array('type' => 'colorpicker', 'heading' => __('Header Linear Color', 'javo_fr'), 'holder' => 'div', 'param_name' => 'line_color', 'value' => '#fff'), array('type' => 'checkbox', 'heading' => __('Random Ordering ', 'javo_fr'), 'holder' => 'div', 'param_name' => 'random', 'value' => array(__('Able to order randomly', 'javo_fr') => 'rand')))));
// fullwidth
vc_add_param("vc_row", array("type" => "checkbox", "class" => "javo-full-width", "heading" => __("Content FULL-WIDTH Layout", 'javo_fr'), "param_name" => "javo_full_width", "value" => array("" => "1")));
// ! Adding animation to columns
vc_add_param("vc_column", array("type" => "dropdown", "class" => "", "heading" => __("Animation", 'javo_fr'), "admin_label" => true, "param_name" => "animation", "value" => array(__("None", "javo_fr") => "", __("Left", "javo_fr") => "right-to-left", __("Right", "javo_fr") => "left-to-right", __("Top", "javo_fr") => "bottom-to-top", __("Bottom", "javo_fr") => "top-to-bottom", __("Scale", "javo_fr") => "scale-up", __("Fade", "javo_fr") => "fade-in")));
// Javo VC-Row Append Attributes.
vc_add_param("vc_row", array("type" => "attach_image", "heading" => __("Background Image (Full Width)", 'javo_fr'), "group" => __('Javo', 'javo_fr'), "param_name" => "bg_src", "value" => ''));
vc_add_param("vc_row", array("type" => "colorpicker", "heading" => __("Background Color (Full Width)", 'javo_fr'), "group" => __('Javo', 'javo_fr'), "param_name" => "background_color", "value" => ''));
vc_add_param("vc_row", array("type" => "checkbox", "heading" => __("Enable Section Shadow (Full Width)", 'javo_fr'), "group" => __('Javo', 'javo_fr'), "param_name" => "box_shadow", "value" => array('' => 'use')));
vc_add_param("vc_row", array("type" => "colorpicker", "heading" => __("Section Shadow Color (Full Width)", 'javo_fr'), "group" => __('Javo', 'javo_fr'), "param_name" => "box_shadow_color", "value" => '#000'));
vc_add_param("vc_row", array("type" => "dropdown", "heading" => __("Background Type (Full Width)", 'javo_fr'), "group" => __('Javo', 'javo_fr'), "param_name" => "background_type", "value" => array(__('Default', 'javo_fr') => "", __('Video( Coming Soon )', 'javo_fr') => "video", __('Parallax', 'javo_fr') => "parallax")));
vc_add_param("vc_row", array("type" => "textfield", "heading" => __("Parallax Delay (Only Number)(Full Width)", 'javo_fr'), "group" => __('Javo', 'javo_fr'), "param_name" => "parallax_delay", "value" => '0.1'));
}
开发者ID:redcypress,项目名称:lacecake,代码行数:54,代码来源:shortcode-settings.php
示例8: stm_update_existing_shortcodes
function stm_update_existing_shortcodes()
{
if (function_exists('vc_add_param')) {
$attributes = array(array('type' => 'css_editor', 'heading' => __('Css', STM_DOMAIN), 'param_name' => 'css', 'group' => __('Design options', STM_DOMAIN)), array('type' => 'dropdown', 'heading' => __('Type', STM_DOMAIN), 'param_name' => 'type', 'value' => array(__('Type 1', STM_DOMAIN) => 'type_1', __('Type 2', STM_DOMAIN) => 'type_2', __('Type 3', STM_DOMAIN) => 'type_3', __('Type 4', STM_DOMAIN) => 'type_4')), array('type' => 'colorpicker', 'heading' => __('Text Color', STM_DOMAIN), 'param_name' => 'text_color'), array('type' => 'vc_link', 'class' => '', 'heading' => __('Link', STM_DOMAIN), 'param_name' => 'link'), array('type' => 'textfield', 'heading' => __('Text Font size (px)', STM_DOMAIN), 'param_name' => 'text_font_size', 'value' => ''));
vc_add_params('vc_text_separator', $attributes);
$attributes = array(array('type' => 'css_editor', 'heading' => __('Css', STM_DOMAIN), 'param_name' => 'css', 'group' => __('Design options', STM_DOMAIN)), array('type' => 'textfield', 'heading' => __('Text Font size (px)', STM_DOMAIN), 'param_name' => 'text_font_size', 'group' => __('Design options', STM_DOMAIN), 'value' => 16), array('type' => 'colorpicker', 'heading' => __('Text Color', STM_DOMAIN), 'param_name' => 'text_color', 'group' => __('Design options', STM_DOMAIN)), array('type' => 'textfield', 'heading' => __('Text Margin`s (px)', STM_DOMAIN), 'param_name' => 'text_margins', 'group' => __('Design options', STM_DOMAIN), 'value' => '0px 0px 0px 0px'));
vc_add_params('vc_cta_button', $attributes);
$attributes = array('type' => 'css_editor', 'heading' => __('Css', STM_DOMAIN), 'param_name' => 'css', 'group' => __('Design options', STM_DOMAIN));
vc_add_param('vc_progress_bar', $attributes);
}
}
开发者ID:bogdandobritoiu,项目名称:aripi,代码行数:11,代码来源:visual_composer.php
-
GitbookIO/gitbook:
阅读:954|2022-08-17
-
juleswhite/mobile-cloud-asgn1
阅读:1029|2022-08-30
-
kyamagu/matlab-json: Use official API: https://mathworks.com/help/matlab/json-fo
阅读:924|2022-08-17
-
书名:墙壁眼睛膝盖 作者:温柔一刀 类别:欲望丛林,饮食男女。 簡介:Wall(我)Eye(爱)Kn
阅读:655|2022-11-06
-
前言 在编写MATLAB程序时,我们可以不指定变量的数据类型。这使得MATALB编程很接近演
阅读:1519|2022-07-18
-
sevenjay/cpp-markdown: Cpp-Markdown is a freely-available Markdown text-to-HTML
阅读:578|2022-08-18
-
Q1: 多线程中需避免多个线程同时向全局变量进行写入操作,导致访问冲突问题。A1:
阅读:1193|2022-07-18
-
An issue in the isSVG() function of Known v1.2.2+2020061101 allows attackers to
阅读:967|2022-07-29
-
mathjax/MathJax-i18n: MathJax localization
阅读:387|2022-08-16
-
众所周知,我们的身份证号码里面包含的信息有很多,如出生日期、性别和识别码等,如果
阅读:251|2022-11-06
|
请发表评论